|
|
@@ -0,0 +1,197 @@
|
|
|
+using Mapster;
|
|
|
+
|
|
|
+
|
|
|
+namespace Model
|
|
|
+{
|
|
|
+ /// <summary>
|
|
|
+ /// APP页面模板 app_project_page
|
|
|
+ /// </summary>
|
|
|
+ [SugarTable("app_project_page", "APP页面模板")]
|
|
|
+ [Tenant("0")]
|
|
|
+ public class AppProjectPage
|
|
|
+ {
|
|
|
+ /// <summary>
|
|
|
+ /// 模板更新版本
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "模板更新版本", ColumnName = "module_version")]
|
|
|
+ public int moduleVersion { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 是否读取网页标题
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "是否读取网页标题", ColumnName = "web_title")]
|
|
|
+ public bool webTitle { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 分类
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "分类", Length = 50, ColumnName = "kind")]
|
|
|
+ public string? kind { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 更新时间
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "更新时间", ColumnName = "update_date")]
|
|
|
+ public DateTime? updateDate { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 创建时间
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "创建时间", ColumnName = "create_date")]
|
|
|
+ public DateTime? createDate { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 版本号
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "版本号", ColumnName = "version")]
|
|
|
+ public int version { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 排序
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "排序", ColumnName = "sort")]
|
|
|
+ public int sort { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 状态
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "状态", ColumnName = "status")]
|
|
|
+ public int status { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// ID
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "ID", IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
|
|
|
+ public int id { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 页面强制更新
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "页面强制更新", ColumnName = "must_update")]
|
|
|
+ public bool mustUpdate { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 下级页面
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "下级页面", Length = 500, ColumnName = "goto_pages")]
|
|
|
+ public string? gotoPages { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 版本ID
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "版本ID", ColumnName = "version_id")]
|
|
|
+ public int versionId { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 右侧侧按钮
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "右侧侧按钮", Length = 500, ColumnName = "right_btn")]
|
|
|
+ public BtnItem? rightBtn { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 左侧按钮
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "左侧按钮", Length = 500, ColumnName = "left_btn")]
|
|
|
+ public BtnItem? leftBtn { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 手势侧滑返回
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "手势侧滑返回", ColumnName = "skid_flag")]
|
|
|
+ public bool skidFlag { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 页面滚动条
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "页面滚动条", ColumnName = "show_scroll_bar")]
|
|
|
+ public bool showScrollBar { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 顶部标题
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "顶部标题", Length = 50, ColumnName = "title")]
|
|
|
+ public string? title { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 显示头部
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "显示头部", ColumnName = "show_title")]
|
|
|
+ public bool showTitle { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 苹果状态栏
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "苹果状态栏", Length = 10, ColumnName = "status_bar_style")]
|
|
|
+ public string? statusBarStyle { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 前景色
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "前景色", Length = 6, ColumnName = "text_color")]
|
|
|
+ public string? textColor { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 背景色
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "背景色", Length = 6, ColumnName = "backgroud_color")]
|
|
|
+ public string? backgroudColor { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 页面路径
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "页面路径", Length = 200, ColumnName = "module_path")]
|
|
|
+ public string? modulePath { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// APP项目ID
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "APP项目ID", ColumnName = "app_id")]
|
|
|
+ public int appId { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 顶部标题位置
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "顶部标题位置", Length = 10, ColumnName = "title_position")]
|
|
|
+ public string? titlePosition { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 页面文件
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "页面文件", Length = 200, ColumnName = "module_file")]
|
|
|
+ public string? moduleFile { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ public class BtnItem
|
|
|
+ {
|
|
|
+ public string? btnText { get; set; }
|
|
|
+ public string? btnTcon { get; set; }
|
|
|
+ public string? btnAction { get; set; }
|
|
|
+ }
|
|
|
+}
|