package xiaoqu.home.open.publicBean;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 * @author wh
 * @version 1.0
 */
@ApiModel(value = "手表端任务卡片页输出对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class WatchTaskMessage extends MqttBaseInfo {

	@ApiModelProperty(value = "任务id")
	private Long id;
	
	@ApiModelProperty(value = "站点ID")
	private Long districtId;
	
	@ApiModelProperty(value = "任务派单号")
	private String no;

	@ApiModelProperty(value = "任务名称/上报事项/路线名称")
	private String name;
	
	@ApiModelProperty(value = "任务位置->数组")
	private List<String> taskPositions;
	
	@ApiModelProperty(value = "巡检任务巡检点")
	private List<WatchTaskInspectScenes> taskInspectScenes;

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

	@ApiModelProperty(value = "任务状态(0:已生成;1:已匹配;2:待抢单;3:已接单;4:作业中;5:按时完成;6:超时完成;7:人工取消;8:系统取消;9:未完成)")
	private Integer status;
	
	@ApiModelProperty(value = "巡检任务执行时间开始")
	private String executeTimeStart;
	@ApiModelProperty(value = "巡检任务执行时间结束")
	private String executeTimeEnd;

	@ApiModelProperty(value = "任务派单时间")
	@JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	private String sendTime;

	@ApiModelProperty(value = "任务积分")
	private Double point;
	@ApiModelProperty(value = "人员ID")
	private Long userId;
	
	@ApiModelProperty(value = "上报人员")
    private String createName;

    @ApiModelProperty(value = "任务要求")
    private String taskRequire;

	

}
