package com.chushang.inspection.work.vo;

import cn.hutool.core.date.DatePattern;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.fastjson.annotation.JSONField;
import com.chushang.common.dict.annotation.DictFormat;
import com.chushang.inspection.terminal.vo.FiveStoreVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serial;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @auther: zhao
 * @date: 2024/6/28 10:30
 */
@Data
public class WrkInfoExportVO implements java.io.Serializable{

    @Serial
    private static final long serialVersionUID = 1L;

    @ExcelProperty(value = "客户名称", index = 0)
    private String userName;


    @ExcelProperty(value = "工单编号", index = 1)
    private String workNo;

    @ExcelProperty(value = "创建时间", index = 2)
    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    private LocalDateTime createTime;

    @ExcelProperty(value = "legalName", index = 3)
    private String legalName;

    @ExcelProperty(value = "终端ID", index = 4)
    private String terminalId;

    @ExcelProperty(value = "terminalSn", index = 5)
    private String terminalSn;

    @ExcelProperty(value = "终端编号", index = 6)
    private String terminalNo;

    @ExcelProperty(value = "终端来源", index = 7)
    @DictFormat(dictType = "terminal_source")
    private String terminalSource;

    @ExcelProperty(value = "终端地址", index = 8)
    private String terminalAddress;
}
