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

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 java.util.Date;

/**
 * <p>
 * 火炬访客信息表
 * </p>
 *
 * @author miaoqs
 * @since 2023-06-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("torch_visitor_info")
@ApiModel(value="TorchVisitorInfo对象", description="火炬访客信息表")
public class TorchVisitorInfo extends TenantEntity {

    /**
     * 被访者企业名称
     */
    @ApiModelProperty(name = "intervieweeCompany", value = "被访者企业名称")
    private String intervieweeCompany;
    /**
     * 被访者所属部门
     */
    @ApiModelProperty(name = "intervieweeDept", value = "被访者所属部门")
    private String intervieweeDept;
    /**
     * 公司地址
     */
    @ApiModelProperty(name = "companyAddress", value = "公司地址")
    private String companyAddress;
    /**
     * 预约拜访开始时间
     */
    @ApiModelProperty(name = "startTime", value = "预约拜访开始时间")
    private Date startTime;
    /**
     * 预约拜访结束时间
     */
    @ApiModelProperty(name = "endTime", value = "预约拜访结束时间")
    private Date endTime;
    /**
     * 被访者Id
     */
    @ApiModelProperty(name = "intervieweeId", value = "被访者Id")
    private Long intervieweeId;
    /**
     * 被访者名称
     */
    @ApiModelProperty(name = "intervieweeName", value = "被访者名称")
    private String intervieweeName;
    /**
     * 被访者手机号
     */
    @ApiModelProperty(name = "intervieweePhone", value = "被访者手机号")
    private String intervieweePhone;
    /**
     * 访客人数
     */
    @ApiModelProperty(name = "visitorNum", value = "访客人数")
    private Integer visitorNum;
    /**
     * 访客车辆数
     */
    @ApiModelProperty(name = "visitorCarNum", value = "访客车辆数")
    private Integer visitorCarNum;
    /**
     * 停车优惠券发放 0:未发放;1:已发放
     */
    @ApiModelProperty(name = "giveParkingCoupon", value = "停车优惠券发放 0:未发放;1:已发放")
    private String giveParkingCoupon;
    /**
     * 发放方式 1:发放到手机号; 2:发放到车牌号
     */
    @ApiModelProperty(name = "giveType", value = "发放方式 1:发放到手机号; 2:发放到车牌号")
    private String giveType;
    /**
     * 抵扣优惠卡ID
     */
    @ApiModelProperty(name = "couponId", value = "抵扣优惠卡ID")
    private Long couponId;
    /**
     * 拜访事项
     */
    @ApiModelProperty(name = "visitMatter", value = "拜访事项")
    private String visitMatter;
    /**
     * 接待地点
     */
    @ApiModelProperty(name = "visitorAddress", value = "接待地点")
    private String visitorAddress;
    /**
     * 到访时间
     */
    @ApiModelProperty(name = "arriveTime", value = "到访时间")
    private Date arriveTime;
    /**
     * 预约时间
     */
    @ApiModelProperty(name = "appointmentTime", value = "预约时间")
    private Date appointmentTime;
    /**
     * 预约时间
     */
    @ApiModelProperty(name = "cancelTime", value = "取消时间")
    private Date cancelTime;
    /**
     * 到访状态 0:未到访;1:已到访;2:已取消
     */
    @ApiModelProperty(name = "visitorState", value = "到访状态 0:未到访;1:已到访;2:已取消;3:已过期")
    private String visitorState;
    /**
     * 平台用户id
     */
    @ApiModelProperty(name = "userDetailId", value = "平台用户id")
    private Long userDetailId;
    /**
     * 微信公众号openId
     */
    @ApiModelProperty(name = "userPayId", value = "微信公众号openId")
    private String userPayId;
    /**
     * 备注信息
     */
    @ApiModelProperty(name = "remark", value = "备注信息")
    private String remark;
    /**
     * 阅读状态 0:未读; 1:已读
     */
    @ApiModelProperty(name = "readState", value = "阅读状态 0:未读; 1:已读")
    private String readState;

    /**
     * 访客预约的组织id
     */
    @ApiModelProperty(name = "deptId", value = "组织id")
    private Long deptId;

}
