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;

/**
 * @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 PropertyCommitteeMemberExcelVo {

    @ApiModelProperty(name = "parkId", value = "园区ID")
    private Long parkId;
    @ApiModelProperty(name = "parkName", value = "园区名称")
    @ExcelProperty(value = {"委员会成员表", "园区名称"}, index = 1)
    private String parkName;

    @ApiModelProperty(name = "buildingName", value = "楼栋号")
    @ExcelProperty(value = {"委员会成员表", "楼栋号"}, index = 2)
    private String buildingName;

    @ApiModelProperty(name = "houseName", value = "房号")
    @ExcelProperty(value = {"委员会成员表", "房号"}, index = 3)
    private String houseName;

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

    @ApiModelProperty(name = "memberName", value = "姓名")
    @ExcelProperty(value = {"委员会成员表", "姓名"}, index = 4)
    private String memberName;

    @ApiModelProperty(name = "sex", value = "性别(1:男 2:女 3:未知)")
    private Integer sex;
    @ApiModelProperty(name = "sexName", value = "性别名称")
    @ExcelProperty(value = {"委员会成员表", "性别"}, index = 5)
    private String sexName;

    @ApiModelProperty(name = "position", value = "职位(1:主任 2:副主任 3:成员)")
    private Integer position;
    @ApiModelProperty(name = "positionName", value = "职位名称")
    @ExcelProperty(value = {"委员会成员表", "职位"}, index = 6)
    private String positionName;

    @ApiModelProperty(name = "linkPhone", value = "联系电话")
    @ExcelProperty(value = {"委员会成员表", "联系电话"}, index = 7)
    private String linkPhone;

}
