puzhibing
2024-01-03 168d852672f8f671a01d6f0f053349d0d321ec7c
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
package com.dsh.course.entity;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
 
import java.util.Date;
 
/**
 * 版本管理
 */
@Data
@TableName("t_version_management")
public class VersionManagement {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @TableField("id")
    private Integer id;
    /**
     * 包路径
     */
    @TableField("url")
    private String url;
    /**
     * 版本号
     */
    @TableField("version")
    private String version;
    /**
     * 更新说明
     */
    @TableField("content")
    private String content;
    /**
     * 是否强制更新(0=否,1=是)
     */
    @TableField("mandatory")
    private Integer mandatory;
    /**
     * 添加时间
     */
    @TableField("insertTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date insertTime;
    /**
     * 类型(1=用户端,2=司机端)
     */
    @TableField("type")
    private Integer type;
}