package com.sckw.system.model.report;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sckw.excel.annotation.ExcelContext;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * @author czh
 * @desc 入驻认证导出
 * @date 2023/9/21
 */
@Data
@ExcelContext(fileName = "入驻认证", sheetName = "入驻认证")
public class EntSettleExcel implements Serializable {

    @Serial
    private static final long serialVersionUID = -621415158085036877L;

    @ExcelProperty(value = "状态")
    private String approvalName;

    @ExcelProperty(value = "企业名称")
    private String firmName;

    @ExcelProperty(value = "供应属性")
    private String ent1;

    @ExcelProperty(value = "采购属性")
    private String ent2;

    @ExcelProperty(value = "4PL物流")
    private String ent3;

    @ExcelProperty(value = "3PL物流")
    private String ent4;

    @ExcelProperty(value = "企业代表")
    private String contacts;

    @ExcelProperty(value = "联系电话")
    private String phone;

    @ExcelProperty(value = "客户经理")
    private String managerName;

    @ExcelProperty(value = "入驻类型")
    private String entryTypeStr;

    @ExcelProperty(value = "注册时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date regTime;

    @ExcelProperty(value = "审批时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date approvalTime;

    @ExcelProperty(value = "创建人")
    private String createByName;

}
