package com.gkhy.exam.system.domain;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Getter;
|
import lombok.Setter;
|
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
|
/**
|
* <p>
|
* 监测和测量设备校准确认表
|
* </p>
|
*
|
* @author hh
|
* @since 2025-08-25 15:01:44
|
*/
|
@Getter
|
@Setter
|
@TableName("calibration_monitoring_equipment")
|
@ApiModel(value = "CalibrationMonitoringEquipment对象", description = "监测和测量设备校准确认表 ")
|
public class CalibrationMonitoringEquipment implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
@ApiModelProperty(value = "企业id",required = true)
|
@TableField("company_id")
|
@NotNull(message = "企业id不能为空")
|
private Integer companyId;
|
|
@ApiModelProperty(value = "设备名称",required = true)
|
@TableField("device_name")
|
@NotBlank(message = "设备名称不能为空")
|
private String deviceName;
|
|
@ApiModelProperty(value = "设备编号",required = true)
|
@TableField("device_number")
|
@NotBlank(message = "设备编号不能为空")
|
private String deviceNumber;
|
|
@ApiModelProperty(value = "校准证书编号",required = true)
|
@TableField("calibration_number")
|
@NotBlank(message = "校准证书编号不能为空")
|
private String calibrationNumber;
|
|
@ApiModelProperty(value = "校准日期",required = true)
|
@TableField("calibration_time")
|
@NotNull(message = "校准日期不能为空")
|
private LocalDateTime calibrationTime;
|
|
@ApiModelProperty(value = "校准单位",required = true)
|
@TableField("calibration_company")
|
@NotBlank(message = "校准单位不能为空")
|
private String calibrationCompany;
|
|
@ApiModelProperty(value = "校准结果1满足使用2不满足",required = true)
|
@TableField("calibration_result")
|
@NotNull(message = "校准结果不能为空")
|
private Integer calibrationResult;
|
|
@ApiModelProperty(value = "确认人",required = true)
|
@TableField("confirm_user")
|
@NotBlank(message = "确认人不能为空")
|
private String confirmUser;
|
|
@ApiModelProperty(value = "确认日期",required = true)
|
@TableField("confirm_time")
|
@NotNull(message = "确认日期不能为空")
|
private LocalDateTime confirmTime;
|
|
@ApiModelProperty(value = "管理人员",required = true)
|
@TableField("executive_user")
|
@NotBlank(message = "管理人员不能为空")
|
private String executiveUser;
|
|
@ApiModelProperty(value = "管理人日期",required = true)
|
@TableField("executive_time")
|
@NotNull(message = "管理人日期不能为空")
|
private LocalDateTime executiveTime;
|
|
@ApiModelProperty("删除标志(0为删除,1删除,默认0)")
|
@TableField("del_flag")
|
private Integer delFlag;
|
|
@ApiModelProperty("创建时间")
|
@TableField("create_time")
|
private LocalDateTime createTime;
|
|
@ApiModelProperty("创建人")
|
@TableField("create_by")
|
private String createBy;
|
|
@ApiModelProperty("更新时间")
|
@TableField("update_time")
|
private LocalDateTime updateTime;
|
|
@ApiModelProperty("更新人")
|
@TableField("update_by")
|
private String updateBy;
|
|
@ApiModelProperty("乐观锁")
|
@TableField("version")
|
private Integer version;
|
|
|
}
|