package com.xintong.visualinspection.bean;

import lombok.Data;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 文件名：CheckTask
 * 版本信息：日期：2017/4/15 Copyright 江苏省交通规划设计院 Corporation 2017 版权所有.
 */
@Data
public class Task{
    //编号
    private Long id;
    //名称
    private String name;
    //审核状态
    private Integer check_status;
    //审核状态(用作搜索条件使用)
    private Integer check_status_end;
    //更新后的值
    private Integer update_check_status;
    //审核状态
    private String check_status_name;
    //视屏编号
    private String video_id;
    //监控位置类型
    private Integer checked_location_type;
    //监控位置
    private String checked_location;
    //生成时间
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") 
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")  
    private Date create_time;
    //考核办法ids
    private String rule_id;
    //更新时间
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") 
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")  
    private Date update_time;
    //考核人员ids
    private Long checkman;
    private String checkman_name;
    private Long recheckman;
    private String recheckman_name;
    //被考核人员id
    private Long checked_person;
    private String checked_person_name;
    //被考核部门id
    private Long checked_dept;
    private String checked_dept_name;
    //结束考核时间
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") 
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")  
    private Date end_time;
    //开始审核时间
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") 
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")  
    private Date start_time;
    //备注
    private String remark;
    //用户班次
    private String user_class_id;

    private Integer user_class_unregular_id;
    
    private Integer status_search_type;
    //任务稽查时间段
    private String check_period;
    
    //任务稽查时间段
    private String record_status;
    //是否有扣分
    private Integer hasScore;
    //是否有扣分
    private Long update_user;
    
    private Long[] dispatch_ids;
    
    private Integer[] check_status_arr;
    
    private Integer class_type;
    
    private Integer position_id;
    
    private Integer period_id;
    //申诉结果
    private Integer appeal_result;
    //申诉结果
    private String appeal_result_name;
    //申诉id
    private Long appeal_id;
    
    private String score_details;
    
    private Long monitor_user_id;
    
    private String monitor_user_name;

    private Integer invalidFrom;
}
