package com.yuchen.saas.manage.user.api.vo.sassuser;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel(value = "个人认证审核列表", description = "个人认证审核列表")
public class SaasUserCertificationListVo {


    @ApiModelProperty(value = "用户id")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long saasUserId;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "性别")
    private Integer sex;

    @ApiModelProperty(value = "身份证号")
    private String idcard;

    @ApiModelProperty(value = "身份证正面")
    private String idcardPicFront;

    @ApiModelProperty(value = "身份证反面")
    private String idcardPicReverse;

    @ApiModelProperty(value = "身份证有效期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date idcardEffectiveTime;

    @ApiModelProperty(value = "个人照片")
    private String pic;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "审核状态")
    private Integer cerStatus;
    @ApiModelProperty(value = "审核时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;
    @ApiModelProperty(value = "审核人")
    private Long auditUser;
    @ApiModelProperty(value = "审核人")
    private String auditUserName;
    @ApiModelProperty(value = "审核备注")
    private String remark;
    @ApiModelProperty(value = "提交时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;



}
