package com.ruoyi.device.pojo;
|
|
import java.time.LocalDate;
|
import java.time.LocalDateTime;
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.deepoove.poi.data.PictureRenderData;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
/**
|
* 设备维护添加维护记录表
|
*
|
* @author makejava
|
* @since 2025-04-17 11:28:56
|
*/
|
@Data
|
@TableName("device_maintenance")
|
public class DeviceMaintenance {
|
|
@TableId(type = IdType.AUTO)
|
private Integer id;
|
|
@Schema(description = "设备id")
|
private Integer deviceId;
|
|
@Schema(description = "保养计划明细id")
|
private Integer maintenancePlanDetailId;
|
|
@Schema(description = "维护日期")
|
private LocalDate maintenanceDate;
|
|
@Schema(description = "维护内容")
|
private String maintenanceContent;
|
|
@Schema(description = "外观是否良好")
|
private String appearanceGood;
|
|
@Schema(description = "是否可以正常使用")
|
private String normalUse;
|
|
@Schema(description = "是否清洁仪器表面")
|
private String surfaceClean;
|
|
@Schema(description = "标识是否完好")
|
private String labelIntact;
|
|
@Schema(description = "显示器灯是否正常")
|
private String displayLightNormal;
|
|
@Schema(description = "仪器是否生锈")
|
private String noRust;
|
|
@Schema(description = "校准是否正常")
|
private String calibrationNormal;
|
|
@Schema(description = "配件是否需要更换")
|
private String partsReplace;
|
|
@Schema(description = "维护结果是否正常")
|
private String resultNormal;
|
|
@Schema(description = "维护人id")
|
private Integer maintenanceUserId;
|
|
@Schema(description = "维护人")
|
private String maintenanceUserName;
|
|
@Schema(description = "备注")
|
private String remark;
|
|
@Schema(description = "审核状态 0不通过 1通过 NULL待审核")
|
private Integer reviewStatus;
|
|
@Schema(description = "审核人id")
|
private Integer reviewUserId;
|
|
@Schema(description = "审核人")
|
private String reviewUserName;
|
|
@Schema(description = "审核备注")
|
private String reviewRemark;
|
|
@Schema(description = "审核时间")
|
private LocalDateTime reviewTime;
|
|
@Schema(description = "创建日期")
|
@TableField(fill = FieldFill.INSERT)
|
private LocalDateTime createTime;
|
|
@Schema(description = "创建人id")
|
@TableField(fill = FieldFill.INSERT)
|
private Integer createUser;
|
|
@Schema(description = "更新时间")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private LocalDateTime updateTime;
|
|
@Schema(description = "更新人id")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private Integer updateUser;
|
|
@TableField(select = false, exist = false)
|
@Schema(description = "维护人图片")
|
private PictureRenderData maintenanceUserUrlRender;
|
|
|
}
|