package com.xintong.visualinspection.pojo.fwq;

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

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

/**
 * 文件名：CheckAreaData
 * 版本信息：日期：2018/5/9 Copyright 江苏省交通规划设计院 Corporation 2018 版权所有.
 */
@Data
public class CheckAreaData implements Serializable {
    private AreaInfo areaInfo;
    private FeeStation deptInfo;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using = CustomJsonDateDeserializer.class)
    private Date start_time;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using = CustomJsonDateDeserializer.class)
    private Date end_time;
}
