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;
|
}
|