package xiaoqu.home.open.controller.export.plan;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import xiaoqu.home.open.utils.poi.annotation.Excel;

import java.util.Date;

@Data
@ApiModel(value = "巡检计划导出对象")
public class PlanInspectExport {


    //    @Excel(name = "ID", cellType = Excel.ColumnType.NUMERIC)
//    private Long id;
    @Excel(name = "路线名称")
    private String taskName;
    @Excel(name = "巡检路线")
    private String sceneString;
    @Excel(name = "执行方式", readConverterExp = "0=单次任务,1=每周重复,2=每月重复")
    private Integer circleType;
    @Excel(name = "重复周期")
    private String circleNoString;

    @Excel(name = "执行日期")
    private String dateString;
    @Excel(name = "执行时间")
    private String actionTimeString;


    @Excel(name = "任务执行人员")
    private String userNames;
    //1:未生成;2:进行中;3:已结束
    @Excel(name = "计划状态", readConverterExp = "0=未生成,1=进行中,2=已结束")
    private Integer status;

    @Excel(name = "创建人")
    private String createName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @Excel(name = "编辑人")
    private String modifyName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "编辑时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;


    @Excel(name = "所属站点")
    private String districtName;
    @Excel(name = "时薪类型")
    private String wageName;
    @Excel(name = "设定工时")
    private Double wageHour;


}
