package com.casic.missiles.dto.customer;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
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;

/**
 * @author cz
 * @date 2023-02-01
 */
@Data
@ApiModel
@TableName("meter_certificate")
public class CertificationResponse {

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

    @ApiModelProperty(value = "证书编号", dataType = "String")
    private String certificationCode;

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

    @ApiModelProperty(value = "证书类型", dataType = "String")
    @DictCodeField(message = "样品状态描述不合法", cacheName = MeterDictCode.CERTIFICATE_CLASS)
    private String certificationClass;

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

    @ApiModelProperty(value = "证书出具日期", dataType = "String")
    private String effectiveDate;

    @ApiModelProperty(value = "证书有效期", dataType = "String")
    private String expirationDate;

}
