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 = "维护日期") private LocalDate maintenanceDate; @Schema(description = "维护内容") private String maintenanceContent; @Schema(description = "维护人id") private Integer maintenanceUserId; @Schema(description = "维护人") private String maintenanceUserName; @Schema(description = "备注") private String remark; @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; }