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_expire_message")
public class MeterCertificateExpireMessage implements Serializable {

    private static final long serialVersionUID = 2822661594481576499L;

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

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

    @TableField("certificate_id")
    @ApiModelProperty(value = "证书表id", dataType = "String")
    private String certificateId;

    @TableField("staff_no")
    @ApiModelProperty(value = "人员编号（登录账号）", dataType = "String")
    private String staffNo;

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

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

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

    @TableField("status")
    @ApiModelProperty(value = "1已读,0未读", dataType = "Integer")
    private Integer status;

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

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

    public MeterCertificateExpireMessage(Long id, String staffId, String certificateId, String staffNo, String certificateNo, String certificateName, String validDate, Integer status) {
        this.id = id;
        this.staffId = staffId;
        this.certificateId = certificateId;
        this.staffNo = staffNo;
        this.certificateNo = certificateNo;
        this.certificateName = certificateName;
        this.validDate = validDate;
        this.status = status;
    }

    public MeterCertificateExpireMessage() {
    }
}
