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 PlanAppointExport {


//    @Excel(name = "ID", cellType = Excel.ColumnType.NUMERIC)
//    private Long id;
    @Excel(name = "任务名称")
    private String taskName;
    @Excel(name = "任务场景")
    private String sceneString;
    @Excel(name = "任务描述")
    private String taskContent;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "任务开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "期待完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @Excel(name = "任务执行人员")
    private String userNames;

    @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;


}
