package com.red.circle.common.business.dto.cmd.app;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.common.business.dto.cmd.AppExtCommand;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author pengliang on 2021/1/22
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AppIdLongCmd extends AppExtCommand {

  @NotNull(message = "id required.")
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

}
