package com.red.circle.other.app.dto.cmd.user.user;;

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.NotBlank;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户身份信息.
 * </p>
 *
 * @author pengliang on 2023-06-15 17:13
 */
@Getter
@Setter
public class BankIdentityInfoCmd extends AppExtCommand {

  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 身份图片.
   *
   * @eo.required
   */
  @NotBlank(message = "identityCover required.")
  private String identityCover;

  /**
   * 手机号.
   *
   * @eo.required
   */
  @NotBlank(message = "contact required.")
  private String contact;

  /**
   * 描述.
   */
  private String description;


}
