package com.casic.missiles.model.equipment;

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.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 标准装置-计量人员表
 * </p>
 *
 * @author cuicheng
 * @since 2022-12-15
 */
@Getter
@Setter
@TableName("equipment_standard_equipment_user")
public class EquipmentStandardEquipmentUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("id")
    private Long id;

    /**
     * 标准设备ID
     */
    @TableField("standard_equipment_id")
    @ApiModelProperty(value = "标准设备ID", dataType = "Long", required = true)
    private Long standardEquipmentId;

    /**
     * 计量人员ID
     */
    @ApiModelProperty(value = "计量人员ID", dataType = "Long", required = true)
    @TableField("user_id")
    private Long userId;

    @TableField(exist = false)
    @ApiModelProperty(value = "姓名", dataType = "String")
    private String name;

    @TableField(exist = false)
    @ApiModelProperty(value = "计量人员编号", dataType = "String")
    private String staffNo;

    @TableField(exist = false)
    @ApiModelProperty(value = "工作部门", dataType = "String")
    private String deptId;

    @TableField(exist = false)
    @ApiModelProperty(value = "工作部门名称", dataType = "String")
    private String deptName;

    @TableField(exist = false)
    @ApiModelProperty(value = "计量专业", dataType = "String")
    private String major;

    @TableField(exist = false)
    @ApiModelProperty(value = "证书编号", dataType = "String")
    private String verifierCertificateNo;

    @TableField(exist = false)
    @ApiModelProperty(value = "证书有效期", dataType = "String")
    private String certificateDate;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 删除标记
     */
    @TableField("is_del")
    private Boolean isDel;

    /**
     * 创建人
     */
    @TableField("create_user")
    private Long createUser;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private String createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private String updateTime;


}
