package com.prolog.rdc.tms.model.dto.fleetManagement;

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

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

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

/**
 * 车辆-证件资料分页查询DTO
 * 
 * @author Eton Woo
 * @date 2022/03/16
 */
@Data
@ApiModel("车辆-证件资料分页查询DTO")
public class VehiclePaperPagingQueryDTO implements Serializable {

	private static final long serialVersionUID = 7313129818284738584L;

	@ApiModelProperty(value = "证件ID")
	private Long id;

	@ApiModelProperty(value = "证件编码")
	private String code;

	@ApiModelProperty(value = "证件类型 数据字典PAPER_TYPE 1.身份证、2.行驶证、3.驾驶证")
	private Integer type;

	@ApiModelProperty(value = "证件类型 数据字典PAPER_TYPE 1.身份证、2.行驶证、3.驾驶证")
	private String typeName;

	@ApiModelProperty(value = "发证机关")
	private String issuingAuthority;

	@ApiModelProperty(value = "状态:0：停用 1：启用 数据字典MAINDATA_STATUS")
	private Integer status;

	@ApiModelProperty(value = "状态:0：停用 1：启用 数据字典MAINDATA_STATUS")
	private String statusName;

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@ApiModelProperty(value = "发证日期")
	private Date issuingDate;

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@ApiModelProperty(value = "有效期始")
	private Date startDate;

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@ApiModelProperty(value = "有效期止")
	private Date endDate;

	@ApiModelProperty(value = "照片")
	private String picture;

	@ApiModelProperty(value = "备注")
	private String memo;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@ApiModelProperty(value = "创建时间")
	private Date createtime;

	@ApiModelProperty(value = "创建人")
	private String createperson;
}
