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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

import java.util.Date;

/**
 * @Author 蔡文强
 * @Date 2023/7/31 11:01
 * @Description 入驻企业导出数据
 */
@Data
@HeadStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@HeadRowHeight(25)
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@ColumnWidth(12)
@ContentRowHeight(15)
@HeadFontStyle(fontHeightInPoints = 9)
@ExcelIgnoreUnannotated
public class PropertyHouseEnterpriseExcelVo {

    @ApiModelProperty(name = "id", value = "主键ID")
    private Long id;

    @ApiModelProperty(name = "parkId", value = "园区ID")
    private Long parkId;

    @ApiModelProperty(name = "parkName", value = "园区名称")
    @ExcelProperty(value = {"入驻企业表", "园区名称"}, index = 1)
    private String parkName;

    @ApiModelProperty(name = "enterpriseName", value = "组织名称")
    @ExcelProperty(value = {"入驻企业表", "组织名称"}, index = 2)
    private String enterpriseName;

    @ApiModelProperty(name = "organType", value = "机构类型")
    @ExcelProperty(value = {"入驻企业表", "机构类型"}, index = 3)
    private String organType;

    @ApiModelProperty(name = "organIndustry", value = "所属行业")
    @ExcelProperty(value = {"入驻企业表", "所属行业"}, index = 4)
    private String organIndustry;

    @ApiModelProperty(name = "idType", value = "证件类型(1:营业执照 2:身份证)")
    private Integer idType;

    @ApiModelProperty(name = "idTypeName", value = "证件类型名称")
    @ExcelProperty(value = {"入驻企业表", "证件类型"}, index = 5)
    private String idTypeName;

    @ApiModelProperty(name = "idNo", value = "证件号码")
    @ExcelProperty(value = {"入驻企业表", "证件号码"}, index = 6)
    private String idNo;

    @ApiModelProperty(name = "linkMan", value = "联系人")
    @ExcelProperty(value = {"入驻企业表", "联系人"}, index = 7)
    private String linkMan;

    @ApiModelProperty(name = "linkPhone", value = "联系电话")
    @ExcelProperty(value = {"入驻企业表", "联系电话"}, index = 8)
    private String linkPhone;

    @ApiModelProperty(name = "registerCount", value = "已登记成员")
    @ExcelProperty(value = {"入驻企业表", "已登记成员"}, index = 9)
    private Integer registerCount;

    @ApiModelProperty(name = "houseId", value = "房源ID")
    private Long houseId;

    @ApiModelProperty(name = "address", value = "入驻地址")
    @ExcelProperty(value = {"入驻企业表", "入驻地址"}, index = 10)
    private String address;

    @ApiModelProperty(name = "validityDate", value = "入驻有效期")
    @ExcelProperty(value = {"入驻企业表", "入驻有效期"}, index = 11)
    private String validityDate;

    @ApiModelProperty(name = "entryStatus", value = "入驻状态(1:未入驻 2:入驻中 3:已过期)")
    private Integer entryStatus;

    @ApiModelProperty(name = "entryStatusName", value = "入驻状态名称")
    @ExcelProperty(value = {"入驻企业表", "入驻状态"}, index = 12)
    private String entryStatusName;

    @ApiModelProperty(name = "createTime", value = "创建时间")
    @ExcelProperty(value = {"入驻企业表", "创建时间"}, index = 13)
    private Date createTime;

}
