package xiaoqu.home.open.controller.export;
import java.util.Date;

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

@ApiModel(value="TaskInfo导出对象")
@Data
public class TaskInfoExport {

	@Excel(name = "ID")
    private Long id;
    
    @Excel(name = "任务派单号")
	private String no;

	@Excel(name = "任务名称")
	private String name;
	
	@Excel(name = "任务位置")
    private String taskPosition="-";

	@Excel(name = "任务类型", readConverterExp = "0=计划任务,1=设备维护任务,2=指派任务")
	private Integer taskType;
	
	@Excel(name = "任务生成类型", readConverterExp = "0=定时定期,1=按人流量,2=系统监控")
    private Integer taskCreateType;

	@Excel(name = "任务状态", readConverterExp = "0=已生成,1=已匹配,2=待抢单,3=已接单,4=作业中,5=按时完成,6=超时完成,7=人工取消,8=系统取消,9=未完成")
	private Integer status;
	
	@Excel(name = "任务生成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	
	@Excel(name = "任务派发时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date sendTime;

	@Excel(name = "要求完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date preFinishTime;
	
	@Excel(name = "任务派单人员")
	private String taskDistributiUser="-";
	
	@Excel(name = "任务接单人员")
	private String taskAcceptUser="-";
	
	@Excel(name = "响应时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date confirmTime;

	@Excel(name = "作业时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date actionTime;

	@Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date finishTime;

	@Excel(name = "过期时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date expireTime;
	
	@Excel(name = "时薪类型")
	private String wageName;
	
	@Excel(name = "设定工时")
	private Double wageHour;
	
	@Excel(name = "实际工时")
    private Double taskActualActionTiming;
	
	@Excel(name = "任务积分")
	private Double point;
	
	@Excel(name = "站点名称")
	private String districtName;
}
