| | |
| | | package com.ruoyi.device.pojo; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.time.LocalDate; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * 设备维护保养 |
| | | * 设备维护添加维护记录表 |
| | | * |
| | | * @author makejava |
| | | * @since 2025-04-17 11:28:56 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @TableName("device_maintenance") |
| | | public class DeviceMaintenance { |
| | | |
| | | //设备id |
| | | @TableId(type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty("设备id") |
| | | private Integer deviceId; |
| | | |
| | | private String deviceName; |
| | | //编号 |
| | | private String deviceNumber; |
| | | //统一编号 |
| | | private String managementNumber; |
| | | //维护内容 |
| | | private String content; |
| | | //维护日期 |
| | | @ApiModelProperty("维护日期") |
| | | private LocalDate maintenanceDate; |
| | | |
| | | @ApiModelProperty("维护内容") |
| | | private String maintenanceContent; |
| | | |
| | | @ApiModelProperty("维护人id") |
| | | private Integer maintenanceUserId; |
| | | |
| | | @ApiModelProperty("维护人") |
| | | private String maintenanceUserName; |
| | | |
| | | @ApiModelProperty("备注") |
| | | private String remark; |
| | | |
| | | @ApiModelProperty("创建日期") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private LocalDate date; |
| | | //下次维护日期 |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private LocalDate nextDate; |
| | | //维护类型 |
| | | private Integer maintenanceType; |
| | | //维护人员 |
| | | private String name; |
| | | //备注 |
| | | private String comments; |
| | | private LocalDateTime createTime; |
| | | |
| | | @ApiModelProperty("创建人id") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Integer createUser; |
| | | |
| | | @ApiModelProperty("更新时间") |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private LocalDateTime updateTime; |
| | | |
| | | @ApiModelProperty("更新人id") |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private Integer updateUser; |
| | | |
| | | } |
| | | |