package com.zd.airbottle.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zd.airbottle.domain.QpQualificationCertificate;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class QpTransportCarCredentialsVo {

    /**
     * 主键id,数据唯一标识
     */
    @ApiModelProperty(value = "${comment}")
    private Long id;
    /**
     * 资质配置ID
     */
    @ApiModelProperty(value = "资质配置ID")
    private Long certificateId;
    /** 资质名称 */
    @ApiModelProperty(value = "资质名称")
    private String naturalName;
    /**
     * 资质地址
     */
    @ApiModelProperty(value = "资质地址")
    private String naturalUrl;
    /**
     * 有效期开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "有效期开始时间")
    private Date startTime;
    /**
     * 有效期结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "有效期结束时间")
    private Date endTime;

    @ApiModelProperty(value = "资质证照配置信息")
    private QpQualificationCertificate certificate;
}
