package com.yuchen.saas.manage.system.api.vo;

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/5/25 15:56
 * @Description 客户导入
 */
@Data
@HeadStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@HeadRowHeight(25)
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@ColumnWidth(12)
@ContentRowHeight(15)
@HeadFontStyle(fontHeightInPoints =9)
@ExcelIgnoreUnannotated
public class NestCustomerExcelImportVO {

    @ExcelProperty("客户类型")
    @ColumnWidth(20)
    @ApiModelProperty(name = "customType", value = "客户类型")
    private String customType;

    @ExcelProperty("客户编码")
    @ColumnWidth(20)
    @ApiModelProperty(name = "encode", value = "客户编码")
    private String encode;

    @ExcelProperty("客户名称")
    @ColumnWidth(36)
    @ApiModelProperty(name = "customName", value = "客户名称")
    private String customName;

    @ExcelProperty("机构名称")
    @ColumnWidth(36)
    @ApiModelProperty(name = "subjectName", value = "机构名称")
    private String subjectName;

    @ExcelProperty("机构类型")
    @ColumnWidth(18)
    @ApiModelProperty(name = "orgType", value = "机构类型")
    private String orgType;

    @ExcelProperty("联系人")
    @ColumnWidth(20)
    @ApiModelProperty(name = "linkman", value = "联系人")
    private String linkman;


    @ExcelProperty("联系方式")
    @ColumnWidth(20)
    @ApiModelProperty(name = "phone", value = "联系方式")
    private String phone;

    @ExcelProperty("站点入驻类型")
    @ColumnWidth(20)
    @ApiModelProperty(name = "entryType", value = "入驻类型（1：统一运营，2：独立运营）")
    private String entryType;

    @ExcelProperty("服务状态")
    @ColumnWidth(20)
    @ApiModelProperty(name = "state", value = "启用状态 0：禁用；1：启用")
    private String state;


    @ExcelProperty("入驻时间")
    @ColumnWidth(26)
    @ApiModelProperty(name = "entryTime", value = "入驻时间")
    private Date entryTime;

}
