package com.hdkj.fhzg.response;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author rj
 * @date 2026/3/10 15:47
 * @description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@HeadRowHeight(20)
public class AutoTaskCountryDetailResponse {
    //线路id
    @ExcelProperty("线路id")
    @ColumnWidth(30)
    private String feederId;
    //线路名称
    @ExcelProperty("线路名称")
    @ColumnWidth(20)
    private String feederName;
    //区县名称
    @ExcelProperty("区县名称")
    @ColumnWidth(15)
    private String countryName;
    //计划编号
    @ExcelProperty("计划编号")
    @ColumnWidth(20)
    private String planNo;
    //创建时间
    @ExcelProperty("创建时间")
    @ColumnWidth(20)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    //是否有联络
    @ExcelProperty("是否有联络")
    @ColumnWidth(20)
    private Integer haveContact;
    //调用是否成功
    @ExcelProperty("调用是否成功")
    @ColumnWidth(20)
    private Integer simulationSuccess;
    //方案生成是否成功
    @ExcelProperty("方案生成是否成功")
    @ColumnWidth(20)
    private Integer schemeSuccess;
    //成图是否成功
    @ExcelProperty("成图是否成功")
    @ColumnWidth(20)
    private Integer svgSuccess;
}
