package com.casic.missiles.model.meter;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.enums.poi.BorderStyleEnum;
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
 */
@ColumnWidth(30)
@HeadRowHeight(15)
@ContentRowHeight(20)
@ContentStyle(borderLeft = BorderStyleEnum.THIN, borderBottom = BorderStyleEnum.THIN, borderTop = BorderStyleEnum.THIN, borderRight = BorderStyleEnum.THIN)
@ExcelIgnoreUnannotated
@ApiModel
@Data
@TableName("meter_train_log")
public class MeterTrainLog implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 培训计录编号
     */
    @ExcelProperty("记录编号")
    @ApiModelProperty(value = "培训计录编号", dataType = "String")
    @TableField("log_no")
    private String logNo;

    /**
     * 培训名称
     */
    @ExcelProperty("培训名称")
    @ApiModelProperty(value = "记录名称", dataType = "String")
    @TableField("train_name")
    private String trainName;

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

    /**
     * 培训地点
     */
    @ExcelProperty("培训地点")
    @ApiModelProperty(value = "培训地点", dataType = "String")
    @TableField("train_address")
    private String trainAddress;

    /**
     * 培训学时
     */
    @ExcelProperty("培训学时")
    @ApiModelProperty(value = "培训学时", dataType = "String")
    @TableField("train_hour")
    private String trainHour;


    /**
     * 填表人
     */
    @ApiModelProperty(value = "填表人", dataType = "String")
    @TableField("preparer")
    private String preparer;

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

    /**
     * 培训对象
     */
    @ExcelProperty("培训对象")
    @ApiModelProperty(value = "培训对象", dataType = "String")
    @TableField("train_person")
    private String trainPerson;

    /**
     * 培训人数
     */
    @ExcelProperty("培训人数")
    @ApiModelProperty(value = "培训人数", dataType = "String")
    @TableField("train_number")
    private Integer trainNumber;

    /**
     * 培训内容
     */
    @ApiModelProperty(value = "培训内容", dataType = "String")
    @TableField("train_content")
    private String trainContent;

    /**
     * 培训效果
     */
    @ApiModelProperty(value = "培训效果", dataType = "String")
    @TableField("train_effect")
    private String trainEffect;

    /**
     * 存在问题
     */
    @ApiModelProperty(value = "存在问题", dataType = "String")
    @TableField("problems")
    private String problems;

    /**
     * 改进措施
     */
    @ApiModelProperty(value = "改进措施", dataType = "String")
    @TableField("improve_method")
    private String improveMethod;

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

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

    /**
     * 创建时间
     */
    @ExcelProperty("创建时间")
    @ApiModelProperty(value = "创建时间（列表接口参数）", dataType = "String")
    @TableField("create_time")
    private String createTime;

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

}
