zss
2025-03-11 eeb8d7faa8d25b3ca9fe75ef28f035c49af5b06d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package com.ruoyi.requier.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.time.LocalDate;
 
@Data
@EqualsAndHashCode(callSuper = false)
//@Accessors(chain = true)
@TableName("device_maintenance")
public class DeviceMaintenance {
//    @TableId(value = "id", type = IdType.AUTO)
    private static final long serialVersionUID = 1L;
    //设备id
    @TableId(type=IdType.AUTO)
    private Integer id;
    private Integer deviceId;
 
    private String deviceName;
    //编号
    private String deviceNumber;
    //统一编号
    private String managementNumber;
    //维护内容
    private String content;
    //维护日期
    @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;
}