package com.casic.missiles.dto.business.certificate;

import com.casic.missiles.annotation.DictCodeField;
import com.casic.missiles.constants.MeterDictCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel
public class CertificateMonitorResponse {

    @ApiModelProperty(value = "证书id", dataType = "Long")
    private Long certificationId;

    @ApiModelProperty(value = "证书遍号", dataType = "String")
    private String certificateReportCode;

    @ApiModelProperty(value = "证书名称", dataType = "String")
    private String certificateReportName;

    @ApiModelProperty(value = "证书类型", dataType = "String")
    @DictCodeField(message = "证书类型不合法", cacheName = MeterDictCode.CERTIFICATE_TYPE)
    private String certificationType;

    @ApiModelProperty(value = "证书类型名称", dataType = "String")
    private String certificationTypeName;

    @ApiModelProperty(value = "证书状态", dataType = "String")
    private String certificateStatus;

    @ApiModelProperty(value = "初次提交时间", dataType = "String")
    private String submitTime;

    @ApiModelProperty(value = " 完成时间", dataType = "String")
    private String finishedTime;

    @ApiModelProperty(value = "退回次数", dataType = "Long")
    private int returns;

    @ApiModelProperty(value = "制作人", dataType = "List")
    private String createUser;
}
