package com.chushang.inspection.work.dto;

import cn.hutool.core.date.DatePattern;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.chushang.common.dict.annotation.DictFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @auther: zhao
 * @date: 2024/6/25 15:07
 * 导入 时读取出来
 */
@Data
public class WrkInfoPhoneImportDTO {
    @ExcelProperty("商户编号")
    private String storeNo;
    @ExcelProperty("商户名称")
    private String storeName;
    @ExcelProperty("商户联系人")
    private String storeContact;
    @ExcelProperty("商户联系电话")
    private String storePhone;
    @ExcelProperty("商户地址")
    private String storeAddress;
    @ExcelProperty("终端编号")
    private String terminalNo;
    @ExcelProperty("终端类型")
    @DictFormat(dictType = "terminal_type", rewrite = true, labelGetValue = true)
    private String terminalType;
    @ExcelProperty("建档日期")
    @DateTimeFormat(DatePattern.CHINESE_DATE_PATTERN)
    private LocalDateTime createdDate;
    @ExcelProperty("处理日期")
    @DateTimeFormat(DatePattern.CHINESE_DATE_PATTERN)
    private LocalDateTime disposeTime;
    @ExcelProperty("商户类型")
    @DictFormat(dictType = "store_type", rewrite = true, labelGetValue = true)
    private String storeType;
    @ExcelProperty("巡检结果")
    private String wrkResult;
    /**
     * 具体说明
     */
    @ExcelProperty("具体说明")
    private String wrkSpecificResult;
    /**
     * 具体详细说明
     */
    @ExcelProperty("具体详细说明")
    private String wrkDetailResult;
    /**
     *
     */
    @ExcelProperty("巡检人账户")
    private String userName;
    /**
     * 导入完成时, 进行返回所用
     */
    @ExcelProperty("导入结果")
    private String importResult;

}
