package com.stylefeng.guns.modular.system.model; import com.baomidou.mybatisplus.enums.IdType; import java.util.Date; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.activerecord.Model; import com.baomidou.mybatisplus.annotations.TableName; import java.io.Serializable; /** *

* 版本管理 *

* * @author 吕雪 * @since 2020-06-10 */ @TableName("t_version_management") public class TVersionManagement extends Model { private static final long serialVersionUID = 1L; /** * 主键id */ @TableId(value = "id", type = IdType.AUTO) private Integer id; /** * 包路径 */ private String url; /** * 版本号 */ private String version; /** * 更新公告 */ private String content; /** * 是否强制升级(1=是 2=否) */ private Integer mandatory; /** * 更新时间 */ private Date insertTime; /** * 类型(1=安卓,2=ios) */ 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 protected Serializable pkVal() { return this.id; } @Override public String toString() { return "TVersionManagement{" + "id=" + id + ", url=" + url + ", version=" + version + ", content=" + content + ", mandatory=" + mandatory + ", insertTime=" + insertTime + ", type=" + type + "}"; } }