package com.template.model.vo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class SmartVisitorPageVo {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "访客姓名")
    private String userName;

    @ApiModelProperty(value = "访客手机号")
    private String userPhone;

    @ApiModelProperty(value = "访客证件号")
    private String userNumber;

    @ApiModelProperty(value = "同行人数")
    private Integer peerNum;

    /**
     * 家长预约 去掉车牌号字段
     */
    @ApiModelProperty(value = "车牌号")
    private String carNum;

    @ApiModelProperty(value = "访问事由")
    private String visitReason;

    @ApiModelProperty(value = "状态 待审核：1  已拒绝：2  已推送：3")
    private Integer statu;

    @ApiModelProperty(value = "来访时间")
    private Date visitorTime;

    /**
     * 来访截止时间
     * 家长预约的话 来访时间+4小时
     * 其他访客时间 当天23:59:59秒结束
     */
    @ApiModelProperty(value = "来访截止时间")
    private Date visitorDeadline;

    @ApiModelProperty(value = "受访者ID")
    private Integer respondent;

    @ApiModelProperty(value = "受访者编号")
    private String responcode;

    @ApiModelProperty(value = "部门ID")
    private Integer departmentId;

    @ApiModelProperty(value = "受访者电话")
    private String respondentPhone;

    @ApiModelProperty(value = "受访者姓名")
    private String respondentName;

    @ApiModelProperty(value = "百胜同步授权编码")
    private String visitorsync;

    /**
     * 设备编号
     * 多个设备用逗号隔开
     */
    @ApiModelProperty(value = "设备编号")
    private String deviceNum;

    /**
     * 访客类型
     * 家长：1
     * 其他：2
     */
    @ApiModelProperty(value = "访客类型")
    private Integer visitorType;

    @ApiModelProperty(value = "百胜预约订单号")
    private String bsOrderNo;

    @ApiModelProperty(value = "访客验证码")
    private String visitorCode;

    @ApiModelProperty(value = "图片")
    private String image;


    private Date createTime;

    private Date updateTime;

    private String createUser;

    private String updateUser;

    private Integer deleted;

    private String departmentName;

    private Integer source;

}
