package com.casic.missiles.model.meter;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("meter_certificate")
public class MeterCertificate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    @ApiModelProperty(value = "主键id", dataType = "Long")
    private Long id;

    @TableField("staff_id")
    @ApiModelProperty(value = "计量人员表id", dataType = "Long")
    private String staffId;

    @TableField("certificate_no")
    @ApiModelProperty(value = "证书号", dataType = "String")
    private String certificateNo;

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

    @TableField("certificate_date")
    @ApiModelProperty(value = "发证日期", dataType = "String")
    private String certificateDate;

    @TableField("certificate_company")
    @ApiModelProperty(value = "发证单位", dataType = "String")
    private String certificateCompany;

    @TableField("valid_date")
    @ApiModelProperty(value = "有效日期", dataType = "String")
    private String validDate;

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

    @TableField("minio_file_name")
    @ApiModelProperty(value = "minio存储文件名", dataType = "String")
    private String minioFileName;

    @TableField("remark")
    @ApiModelProperty(value = "备注", dataType = "String")
    private String remark;

    @TableField("is_del")
    @ApiModelProperty(value = "删除标记", dataType = "Integer")
    private Integer isDel;

    @TableField("create_time")
    @ApiModelProperty(value = "创建时间", dataType = "String")
    private String createTime;

    @TableField("update_time")
    @ApiModelProperty(value = "更新时间", dataType = "String")
    private String updateTime;

    @ApiModelProperty(value = "人员信息", dataType = "Object")
    @TableField(exist = false)
    private MeterStaff meterStaff;


}
