zss
2025-02-17 087991c76f078defe5eb55d84223021b4199fb3d
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
package com.yuanchu.mom.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
 
 
@Data
@TableName(value = "device_documents")
public class Document implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
 
    /**
     * 文档类型(枚举)
     */
    private String documentType;
 
    /**
     * 名称
     */
    private String name;
 
    /**
     * 版本号
     */
    private String version;
 
    /**
     * 数量
     */
    private Integer quantity;
 
    /**
     * 页数
     */
    private Integer pageCount;
 
    /**
     * 提供商
     */
    private String provider;
 
    /**
     * 提供日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime provideDate;
 
    /**
     * 归档日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime archiveDate;
 
    /**
     * 备注
     */
    private String comments;
 
    /**
     * 创建时间
     */
 
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime createdAt;
 
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;
 
    private int deviceId;
 
    @ApiModelProperty("资产编号")
    private String number;
 
    @ApiModelProperty("原始文件名称")
    private String systemFileName;
 
    @ApiModelProperty("系统生成文件名称")
    private String fileName;
 
 
}