Upgrade.java
1.16 KB
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
package vion.model.monitor;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import org.springframework.web.multipart.MultipartFile;
import vion.dto.BaseDTO;
import java.time.LocalDateTime;
/**
* 升级包信息
*/
@Getter
@Setter
@TableName(value = "m_upgrade")
public class Upgrade extends BaseDTO {
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 名称
*/
@TableField(value = "name")
private String name;
/**
* 升级地址
*/
@TableField(value = "url")
private String url;
/**
* 版本号
*/
@TableField(value = "version")
private String version;
/**
* 升级包类型:1:store 2:mall
*/
@TableField(value = "\"type\"")
private Short type;
/**
* 打包时间,utc时间
*/
@TableField(value = "build_time")
private String buildTime;
/**
* sha256
*/
@TableField(value = "sha256")
private String sha256;
@TableField(value = "create_time", fill = FieldFill.INSERT)
private LocalDateTime createTime;
@TableField(exist = false)
public MultipartFile infile;
}