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.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 计量管理-培训管理-培训人员表
 * </p>
 *
 * @author wangpeng
 * @since 2022-11-26
 */
@ApiModel
@Data
@TableName("meter_train_staff")
public class MeterTrainStaff implements Serializable {

    private static final long serialVersionUID = 1L;

//    @ApiModelProperty(value = "主键id（列表、更新接口参数）", dataType = "Long")
    @TableId("id")
    private Long id;

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

    /**
     * 培训计划表id
     */
    @ApiModelProperty(value = "培训计划表id", dataType = "Long")
    @TableField("plan_id")
    private Long planId;

    /**
     * 学员名称
     */
    @ApiModelProperty(value = "学员名称", dataType = "String", required = true)
    @TableField("name")
    private String name;

    /**
     * 单位名称-存文字
     */
    @ApiModelProperty(value = "单位名称-存文字", dataType = "String")
    @TableField("company")
    private String company;

    /**
     * 技术职称-存文字
     */
    @ApiModelProperty(value = "技术职称-存文字", dataType = "String")
    @TableField("technology_job")
    private String technologyJob;

    /**
     * 签到时间
     */
    @ApiModelProperty(value = "签到时间（培训记录接口参数）", dataType = "String")
    @TableField("sign_time")
    private String signTime;

    /**
     * 考核结果-存文字
     */
    @ApiModelProperty(value = "考核结果-存文字", dataType = "String")
    @TableField("exam_result")
    private String examResult;

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

    /**
     * 培训时间
     */
    @ApiModelProperty(value = "培训时间", dataType = "String")
    @TableField(exist = false)
    private String trainTime;

    /**
     * 培训名称
     */
    @ApiModelProperty(value = "培训名称", dataType = "String")
    @TableField(exist = false)
    private String planName;

    /**
     * 计划编号
     */
    @ApiModelProperty(value = "计划编号", dataType = "String")
    @TableField(exist = false)
    private String planNo;

    /**
     * 删除标记
     */
    @ApiModelProperty(hidden = true)
    @TableField("is_del")
    private Integer isDel;

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

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

}
