package com.yuchen.saas.torch.api.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @ClassName TorchVisitorVo
 * @Description 访客人员VO
 * @Author mqs
 * @Date 2023/6/12 20:01
 * @Version 1.0
 */
@Data
public class TorchVisitorCrewVO {

    /**
     * 访客表ID
     */
    @ApiModelProperty(name = "id", value = "访客表ID")
    private Long id;
    /**
     * 访客信息主表ID
     */
    @ApiModelProperty(name = "visitorId", value = "访客信息主表ID")
    private Long visitorId;
    /**
     * 访客名称
     */
    @ApiModelProperty(name = "visitorName", value = "访客名称")
    @NotNull(message = "访客名称不能为空")
    private String visitorName;
    /**
     * 访客手机号
     */
    @ApiModelProperty(name = "visitorPhone", value = "访客手机号")
    @NotNull(message = "访客手机号不能为空")
    private String visitorPhone;
    /**
     * 访客企业名称
     */
    @ApiModelProperty(name = "visitorCompany", value = "访客企业名称")
    private String visitorCompany;
    /**
     * 访客人脸照片
     */
    @ApiModelProperty(name = "visitorFaceImg", value = "访客人脸照片")
    private String visitorFaceImg;
    /**
     * 访客车牌号
     */
    @ApiModelProperty(name = "visitorCarNo", value = "访客车牌号")
    private String visitorCarNo;
    /**
     * 平台用户ID
     */
    @ApiModelProperty(name = "userDetailId", value = "平台用户ID")
    private String userDetailId;
    /**
     * 是否是主访客 1:是;2:否
     */
    @ApiModelProperty(name = "izMainVisitor", value = "是否是主访客 1:是;2:否")
    @NotNull(message = "是否是主访客标识不能为空")
    private String izMainVisitor;
    /**
     * 访客到访状态 0:未到访;1:已到访;2:已取消
     */
    @ApiModelProperty(name = "visitorUserState", value = "访客到访状态 0:未到访;1:已到访;")
    @NotNull(message = "访客到访状态不能为空")
    private String visitorUserState;
    /**
     * 扫码时间
     */
    @ApiModelProperty(name = "scanQrcodeTime", value = "扫码时间")
    private Date scanQrcodeTime;

}
