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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import com.yuchen.saas.park.api.entity.pldoor.PlVisitorCrew;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

import java.util.Date;
import java.util.List;

/**
 * @ClassName PlVisitorInfoVO
 * @Description TODO
 * @Author mqs
 * @Date 2024/5/29 17:26
 * @Version 1.0
 */
@HeadStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@HeadRowHeight(25)
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@ColumnWidth(12)
@ContentRowHeight(15)
@HeadFontStyle(fontHeightInPoints = 9)
@ExcelIgnoreUnannotated
@Data
public class PlVisitorInfoExcelVO {
    @ApiModelProperty(name = "id", value = "主键")
    private Long id;

    /**
     *  项目
     */
    @ApiModelProperty(name = "parkId", value = "项目")
    private Long parkId;

    /**
     *  单元
     */
    @ApiModelProperty(name = "elementId", value = "单元")
    private Long elementId;

    /**
     *  楼栋
     */
    @ApiModelProperty(name = "buildingId", value = "楼栋")
    private Long buildingId;

    /**
     *  楼层
     */
    @ApiModelProperty(name = "floorId", value = "楼层")
    private Long floorId;

    /**
     *  房号
     */
    @ApiModelProperty(name = "roomId", value = "房号")
    private Long roomId;

    /**
     *  房屋地址
     */
    @ExcelProperty(value = {"访客登记", "房屋地址"}, index = 1)
    @ApiModelProperty(name = "roomAdress", value = "房屋地址")
    private String roomAdress;
    /**
     * 访客名称
     */
    @ExcelProperty(value = {"访客登记", "访客名称"}, index = 2)
    @ApiModelProperty(name = "visitorName", value = "访客名称")
    private String visitorName;
    /**
     * 访客手机号
     */
    @ExcelProperty(value = {"访客登记", "访客手机号"}, index = 3)
    @ApiModelProperty(name = "visitorPhone", value = "访客手机号")
    private String visitorPhone;
    /**
     * 同行人数
     */
    @ExcelProperty(value = {"访客登记", "同行人数"}, index = 4)
    @ApiModelProperty(name = "visitorNum", value = "同行人数")
    private Integer visitorNum;
    /**
     * 访客车牌号
     */
    @ExcelProperty(value = {"访客登记", "登记车辆"}, index = 5)
    @ApiModelProperty(name = "visitorCarNo", value = "访客车牌号")
    private String visitorCarNo;
    /**
     * 被访者名称
     */
    @ExcelProperty(value = {"访客登记", "访问对象"}, index = 6)
    @ApiModelProperty(name = "intervieweeName", value = "被访者名称")
    private String intervieweeName;
    /**
     * 预约拜访开始时间
     */
    @ExcelProperty(value = {"访客登记", "访问日期"}, index = 7)
    @ApiModelProperty(name = "startTime", value = "预约拜访开始时间")
    private Date startTime;
    /**
     * 权限状态 1:待下发;2:未生效;3:生效中;4:已失效
     */
    @ExcelProperty(value = {"访客登记", "权限状态"}, index = 8)
    @ApiModelProperty(name = "powerState", value = "权限状态 1:待下发;2:未生效;3:生效中;4:已失效")
    private String powerState;
    /**
     * 到访状态 1.待确认;2.已拒绝;3.未到访;4.正在拜访;5.逾期失效;6.已过期;7.已取消
     */
    @ExcelProperty(value = {"访客登记", "预约状态"}, index = 9)
    @ApiModelProperty(name = "visitorState", value = "到访状态 1.待确认;2.已拒绝;3.未到访;4.正在拜访;5.逾期失效;6.已过期;7.已取消")
    private String visitorState;
    /**
     * 预约方式 1:主动邀约;2:访客预约
     */
    @ExcelProperty(value = {"访客登记", "预约方式"}, index = 10)
    @ApiModelProperty(name = "appointmentType", value = "预约方式 1:主动邀约;2:访客预约")
    private String appointmentType;
    /**
     * 预约时间
     */
    @ExcelProperty(value = {"访客登记", "预约时间"}, index = 11)
    @ApiModelProperty(name = "appointmentTime", value = "预约时间")
    private Date appointmentTime;


}
