package xiaoqu.home.open.publicBean.task;

import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import xiaoqu.home.open.model.db2.TaskPic;

/**
 * 
 * @author wh
 * @version 1.0
 * @desc autoCreateoutput
 */
@ApiModel(value = "任务详情输出包")
@Data
public class TaskInfoDetailOutput {

	@ApiModelProperty(value = "任务id")
	private Long id;

	@ApiModelProperty(value = "任务派单号")
	private String no;

	@ApiModelProperty(value = "任务名称/上报事项")
	private String name;

	@ApiModelProperty(value = "任务位置/上报区域")
	private String taskPosition="-";

	@ApiModelProperty(value = "任务类型(0:计划任务;1:系统监控;2:指派任务:3:用户上报;4:巡检上报)")
	private Integer taskType;

	@ApiModelProperty(value = "标准生成类型(0:定时定期;1:人流;2:系统监控)")
	private Integer taskCreateType;

	@ApiModelProperty(value = "任务状态(0:已生成;1:已指派;2:待抢单;3:已接单;4:作业中;5:按时完成;6:超时完成;7:人工取消;8:系统取消;9:未完成)")
	private Integer status;

	@ApiModelProperty(value = "任务生成时间")
	private Date createTime;

	@ApiModelProperty(value = "任务派发时间")
	private Date sendTime;

	@ApiModelProperty(value = "要求完成时间")
	private Date preFinishTime;

	@ApiModelProperty(value = "任务标准/任务生成条件")
	private String standard;

	@ApiModelProperty(value = "任务方法/任务要求/任务描述/上报描述")
	private String content;

	@ApiModelProperty(value = "任务派单人员")
	private String taskDistributiUser="-";

	@ApiModelProperty(value = "任务接单人员")
	private String taskAcceptUser="-";

	@ApiModelProperty(value = "响应时间")
	private Date confirmTime;

	@ApiModelProperty(value = "作业时间")
	private Date actionTime;

	@ApiModelProperty(value = "完成时间")
	private Date finishTime;

	@ApiModelProperty(value = "过期时间")
	private Date expireTime;

	@ApiModelProperty(value = "是否合作完成(0:否;1:是)")
	private Integer userStatus;
	
	@ApiModelProperty(value = "图片")
	private List<TaskPic> uploadPic;
	
	@ApiModelProperty(value = "语音")
	private List<TaskPic> voice;

	@ApiModelProperty(value = "任务对象")
	private List<TaskObject> taskObjects;

	@ApiModelProperty(value = "任务作业")
	private List<TaskOperation> taskOperations;
	
	@ApiModelProperty(value = "任务进度")
	private List<TaskProgress> taskProgresss;
	
	@ApiModelProperty(value = "任务积分")
	private TaskPoint taskPoint;
	
	@ApiModelProperty(value = "设备编号")
	private String snCode;

}
