package com.yuchen.saas.park.api.entity.pldoor;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 保利访客人员详情表
 * </p>
 *
 * @author miaoqs
 * @since 2024-04-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pl_visitor_crew")
@ApiModel(value="PlVisitorCrew对象", description="保利访客人员详情表")
public class PlVisitorCrew extends TenantEntity {

    /**
     * 访客信息主表ID
     */
    @ApiModelProperty(name = "visitorId", value = "访客信息主表ID")
    private Long visitorId;
    /**
     * 访客名称
     */
    @ApiModelProperty(name = "visitorName", value = "访客名称")
    private String visitorName;
    /**
     * 访客手机号
     */
    @NotNull(message = "访客手机号不能为空")
    @ApiModelProperty(name = "visitorPhone", value = "访客手机号")
    private String visitorPhone;
    /**
     * 访客身份证号
     */
    @ApiModelProperty(name = "visitorIdNumber", value = "访客身份证号")
    private String visitorIdNumber;
    /**
     * 访客人脸照片
     */
    @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:否")
    private String izMainVisitor;
    /**
     * 到访状态 0:未到访;1:已到访;2:已取消
     */
    @ApiModelProperty(name = "visitorUserState", value = "到访状态 0:未到访;1:已到访;2:已取消")
    private String visitorUserState;



}
