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

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nest.springwrap.core.mp.base.BaseEntity;
import org.nest.springwrap.core.tool.utils.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import java.util.List;


@Data
@EqualsAndHashCode(callSuper = true)
public class UserDetailVo extends BaseEntity {

	private static final long serialVersionUID = 1L;

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

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

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

	@ApiModelProperty(value = "身份证有效期")
	private String idcardEffectiveTime;

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

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

	@ApiModelProperty(value = "审核实例ID")
	private String ruApprovalDataId;

	@ApiModelProperty(value = "认证状态0未认证 1已认证")
	private Integer status;

	@ApiModelProperty(value = "审核状态 0拒绝 1通过 2审核中 3取消 4 待审核")
	private Integer auditStatus;

	@ApiModelProperty(value = "是否提交申请 0 未提交  1已提交")
	private Integer isApply;

	@DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
	@JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
	@ApiModelProperty(value = "审核时间")
	private Date auditTime;

	@ApiModelProperty(value = "审核备注")
	private String auditMsg;

	@ApiModelProperty(value = "任务ID")
	private String ruTaskId;
	@ApiModelProperty(value = "审核人员")
	private Long auditUser;
	@ApiModelProperty(value = "审核人员")
	private String auditUserName;
	private List<ProcessUserVo.ProcessDetail> processDetail;

}