package com.xintong.visualinspection.bean;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.xintong.visualinspection.util.CustomJsonDateDeserializer;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 文件名：QzdCheckTask
 * 版本信息：日期：2018/6/21 Copyright 江苏省交通规划设计院 Corporation 2018 版权所有.
 */
@Data
public class QzdCheckTask implements Serializable {
    private Integer id;
    private String name;
    private Integer check_status;
    private Integer check_status_end;

    private Integer[] check_status_arr;
    private Integer record_id;
    private String record_name;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date create_time;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date update_time;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using = CustomJsonDateDeserializer.class)
    private Date start_time;

    @JsonDeserialize(using = CustomJsonDateDeserializer.class)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date end_time;
    private Long checkman;
    private String checkman_name;
    private Long checked_dept;
    private String checked_dept_name;
    private String check_period;
    private Integer rule_id;
    private String remark;
    private Long recheckman;
    private String recheckman_name;
    private Integer period_id;
    private Integer invalid_from;

    private String checked_users;

    private Long update_user;

    private Integer hasScore;

    private Integer invalidFrom;


    private Long[] dispatch_ids;

    private String check_status_name;
    //申诉结果
    private Integer appeal_result;
    //申诉结果
    private String appeal_result_name;
    //申诉id
    private Long appeal_id;
}
