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

    @ExcelProperty(value = {"房产住户表", "园区名称"}, index = 1)
    private String parkName;

    @ExcelProperty(value = {"房产住户表", "房源资源编码"}, index = 2)
    private String houseCode;

    @ExcelProperty(value = {"房产住户表", "业主名称"}, index = 3)
    private String ownerName;

    @ExcelProperty(value = {"房产住户表", "与业主关系"}, index = 4)
    private String relation;

    @ExcelProperty(value = {"房产住户表", "入住日期"}, index = 5)
    private Date startDate;

    @ExcelProperty(value = {"房产住户表", "截止日期"}, index = 6)
    private Date endDate;

    @ExcelProperty(value = {"房产住户表", "住户姓名"}, index = 7)
    private String residentName;

    @ExcelProperty(value = {"房产住户表", "联系电话"}, index = 8)
    private String linkPhoneOne;

    @ExcelProperty(value = {"房产住户表", "证件类型"}, index = 9)
    private String idTypeName;

    @ExcelProperty(value = {"房产住户表", "证件号码"}, index = 10)
    private String idNo;

    @ExcelProperty(value = {"房产住户表", "性别"}, index = 11)
    private String sexName;

    @ExcelProperty(value = {"房产住户表", "备注"}, index = 12)
    private String remark;

}
