package xiaoqu.home.open.controller.output.task;

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

import com.fasterxml.jackson.annotation.JsonFormat;

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

/**
 * <p>
 * 任务场景
 * </p>
 *
 * @author wh
 */
@ApiModel(value = "TaskScenes对象", description = "任务场景")
@Data
public class TaskInspectScenes {

	@ApiModelProperty(value = "巡检任务场景唯一id")
	private Long id;

	@ApiModelProperty(value = "巡检人")
	private String modifyName;

	@ApiModelProperty(value = "巡检人手机号")
	private String modifyNameMobile;

	@ApiModelProperty(value = "巡检打卡时间")
	@JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	private Date modifyTime;

	@ApiModelProperty(value = "巡检点")
	private String name;

	@ApiModelProperty(value = "是否巡检（0:否;1:是）")
	private Integer isCheck;
	
	@ApiModelProperty(value = "巡检任务状态5:按时完成;6:超时完成")
	private Integer status;

	@ApiModelProperty(value = "是否已	上报（0：否;1：是）")
	private Integer reportStatus;

	@ApiModelProperty(value = "评分")
	private Integer score;

	@ApiModelProperty(value = "评价")
	private String content;

	private @ApiModelProperty(value = "巡检图片") List<InspectPic> inspectPicList;

}
