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 PropertyEnterpriseMemberExcelVo {

    @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 = "memberName", value = "人员姓名")
    @ExcelProperty(value = {"入驻企业成员表", "人员姓名"}, index = 2)
    private String memberName;

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

    @ApiModelProperty(name = "enterpriseId", value = "所属企业ID")
    private Long enterpriseId;

    @ApiModelProperty(name = "enterpriseName", value = "所属企业名称")
    @ExcelProperty(value = {"入驻企业成员表", "所属企业名称"}, index = 4)
    private String enterpriseName;

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

    @ApiModelProperty(name = "customerArchivesId", value = "客户档案ID")
    private Long customerArchivesId;

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

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

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

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

    @ApiModelProperty(name = "createType", value = "创建方式(1:后台添加 2:自动同步)")
    private Integer createType;

    @ApiModelProperty(name = "createTypeName", value = "创建方式名称")
    @ExcelProperty(value = {"入驻企业成员表", "创建方式"}, index = 9)
    private String createTypeName;

    @ApiModelProperty(name = "createPeopleId", value = "创建人ID")
    private Long createPeopleId;

    @ApiModelProperty(name = "createPeopleName", value = "创建人")
    @ExcelProperty(value = {"入驻企业成员表", "登记人"}, index = 10)
    private String createPeopleName;

}
