package com.casic.missiles.model.business;

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;

/**
 * <p>
 * 外场检测-测量设备关联表
 * </p>
 *
 * @author wangpeng
 * @since 2023-03-23
 */
@Data
@TableName("business_site_executive_equipment_relation")
public class BusinessSiteExecutiveEquipmentRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    /**
     * 外场检测id
     */
    @ApiModelProperty(value = "外场检测记录id", dataType = "Long")
    @TableField("site_executive_log_id")
    private Long siteExecutiveLogId;

    /**
     * 外场检测id
     */
    @ApiModelProperty(value = "外场检测id", dataType = "Long")
    @TableField("site_executive_id")
    private Long siteExecutiveId;

    /**
     * 测量设备id
     */
    @ApiModelProperty(value = "测量设备id", dataType = "Long")
    @TableField("equipment_id")
    private Long equipmentId;

    /**
     * 测量设备id
     */
    @ApiModelProperty(value = "测量设备名称", dataType = "Long")
    @TableField(exist = false)
    private String equipmentName;

    /**
     * 测量设备编号
     */
    @ApiModelProperty(value = "测量设备编号", dataType = "String")
    @TableField("equipment_no")
    private String equipmentNo;

    /**
     * 测量设备型号
     */
    @ApiModelProperty(value = "测量设备型号", dataType = "String")
    @TableField("equipment_model")
    private String equipmentModel;

    /**
     * 工作开始前外观及功能检查
     */
    @ApiModelProperty(value = "工作开始前外观及功能检查", dataType = "String")
    @TableField("before_work_check")
    private String beforeWorkCheck;

    /**
     * 工作开始前指标测试结果
     */
    @ApiModelProperty(value = "工作开始前指标测试结果", dataType = "String")
    @TableField("before_work_result")
    private String beforeWorkResult;

    /**
     * 工作开始前记录人-计量人员id
     */
    @ApiModelProperty(value = "工作开始前记录人-计量人员id", dataType = "Long")
    @TableField("before_work_recorder_id")
    private Long beforeWorkRecorderId;

    /**
     * 工作开始前记录日期
     */
    @ApiModelProperty(value = "工作开始前记录日期", dataType = "String")
    @TableField("before_work_recorder_date")
    private String beforeWorkRecorderDate;

    /**
     * 工作完成后外观及功能检查
     */
    @ApiModelProperty(value = "工作完成后外观及功能检查", dataType = "String")
    @TableField("after_work_check")
    private String afterWorkCheck;

    /**
     * 工作完成后指标测试结果
     */
    @ApiModelProperty(value = "工作完成后指标测试结果", dataType = "String")
    @TableField("after_work_result")
    private String afterWorkResult;

    /**
     * 工作完成后记录人-计量人员id
     */
    @ApiModelProperty(value = "工作完成后记录人-计量人员id", dataType = "Long")
    @TableField("after_work_recorder_id")
    private Long afterWorkRecorderId;

    /**
     * 工作完成后记录日期
     */
    @ApiModelProperty(value = "工作完成后记录日期", dataType = "String")
    @TableField("after_work_recorder_date")
    private String afterWorkRecorderDate;

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

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


}
