package com.stylefeng.guns.modular.system.model; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableName; import com.baomidou.mybatisplus.enums.IdType; import java.util.Date; /** * 版本管理 */ @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") private Date insertTime; /** * 类型(1=用户端,2=司机端) */ @TableField("type") private Integer type; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getVersion() { return version; } public void setVersion(String version) { this.version = version; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } public Integer getMandatory() { return mandatory; } public void setMandatory(Integer mandatory) { this.mandatory = mandatory; } public Date getInsertTime() { return insertTime; } public void setInsertTime(Date insertTime) { this.insertTime = insertTime; } public Integer getType() { return type; } public void setType(Integer type) { this.type = type; } @Override public String toString() { return "VersionManagement{" + "id=" + id + ", url='" + url + '\'' + ", version='" + version + '\'' + ", content='" + content + '\'' + ", mandatory=" + mandatory + ", insertTime=" + insertTime + ", type=" + type + '}'; } }