mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-03-22 19:17:21 +08:00
【新增】增加表【CoreCmsAppUpdateLog】版本更新表,用于发布版本更新。
【新增】增加安卓app版本在线更新功能。 【优化】优化app端头部导航按钮错位的问题。
This commit is contained in:
99
CoreCms.Net.Model/Entities/System/CoreCmsAppUpdateLog.cs
Normal file
99
CoreCms.Net.Model/Entities/System/CoreCmsAppUpdateLog.cs
Normal file
@@ -0,0 +1,99 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2022/7/19 23:55:06
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// 版本更新表
|
||||
/// </summary>
|
||||
public class CoreCmsAppUpdateLog
|
||||
{
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
public CoreCmsAppUpdateLog()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Display(Name = "序列")]
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
public int id { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
/// </summary>
|
||||
[Display(Name = "版本号")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
public int version { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 更新内容
|
||||
/// </summary>
|
||||
[Display(Name = "更新内容")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(255, ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public string note { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 安卓地址
|
||||
/// </summary>
|
||||
[Display(Name = "安卓地址")]
|
||||
[StringLength(255, ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public string android { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// IOS地址
|
||||
/// </summary>
|
||||
[Display(Name = "IOS地址")]
|
||||
[StringLength(255, ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public string ios { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Display(Name = "创建时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
public DateTime addTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 开启更新
|
||||
/// </summary>
|
||||
[Display(Name = "开启更新")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
public bool isUpdate { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user