PageUpdateInfo.cs 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. using Mapster;
  2. namespace Model
  3. {
  4. /// <summary>
  5. /// 页面模板更新信息 page_update_info
  6. /// </summary>
  7. [SugarTable("page_update_info", "页面模板更新信息")]
  8. [Tenant("0")]
  9. public class PageUpdateInfo
  10. {
  11. /// <summary>
  12. /// 模板更新版本
  13. /// </summary>
  14. [SugarColumn(ColumnDescription = "模板更新版本", ColumnName = "module_version")]
  15. public int moduleVersion { get; set; }
  16. /// <summary>
  17. /// 模板路径
  18. /// </summary>
  19. [SugarColumn(ColumnDescription = "模板路径", Length = 200, ColumnName = "module_path")]
  20. public string modulePath { get; set; }
  21. /// <summary>
  22. /// 背景色
  23. /// </summary>
  24. [SugarColumn(ColumnDescription = "背景色", Length = 6, ColumnName = "backgroud_color")]
  25. public string backgroudColor { get; set; }
  26. /// <summary>
  27. /// 前景色
  28. /// </summary>
  29. [SugarColumn(ColumnDescription = "前景色", Length = 6, ColumnName = "text_color")]
  30. public string textColor { get; set; }
  31. /// <summary>
  32. /// 苹果状态栏
  33. /// </summary>
  34. [SugarColumn(ColumnDescription = "苹果状态栏", Length = 10, ColumnName = "status_bar_style")]
  35. public string statusBarStyle { get; set; }
  36. /// <summary>
  37. /// 是否显示头部
  38. /// </summary>
  39. [SugarColumn(ColumnDescription = "是否显示头部", ColumnName = "show_title")]
  40. public bool showTitle { get; set; }
  41. /// <summary>
  42. /// 顶部标题
  43. /// </summary>
  44. [SugarColumn(ColumnDescription = "顶部标题", Length = 50, ColumnName = "title")]
  45. public string title { get; set; }
  46. /// <summary>
  47. /// 是否显示滚动条
  48. /// </summary>
  49. [SugarColumn(ColumnDescription = "是否显示滚动条", ColumnName = "show_scroll_bar")]
  50. public bool showScrollBar { get; set; }
  51. /// <summary>
  52. /// 是否侧滑返回
  53. /// </summary>
  54. [SugarColumn(ColumnDescription = "是否侧滑返回", ColumnName = "skid_flag")]
  55. public bool skidFlag { get; set; }
  56. /// <summary>
  57. /// 左侧按钮1
  58. /// </summary>
  59. [SugarColumn(ColumnDescription = "左侧按钮1", Length = 100, ColumnName = "left_btn_1")]
  60. public string leftBtn1 { get; set; }
  61. /// <summary>
  62. /// 左侧按钮2
  63. /// </summary>
  64. [SugarColumn(ColumnDescription = "左侧按钮2", Length = 50, ColumnName = "left_btn_2")]
  65. public string leftBtn2 { get; set; }
  66. /// <summary>
  67. /// 右侧按钮1
  68. /// </summary>
  69. [SugarColumn(ColumnDescription = "右侧按钮1", Length = 50, ColumnName = "right_btn_1")]
  70. public string rightBtn1 { get; set; }
  71. /// <summary>
  72. /// 右侧按钮2
  73. /// </summary>
  74. [SugarColumn(ColumnDescription = "右侧按钮2", Length = 50, ColumnName = "right_btn_2")]
  75. public string rightBtn2 { get; set; }
  76. /// <summary>
  77. /// 左侧按钮1点击事件
  78. /// </summary>
  79. [SugarColumn(ColumnDescription = "左侧按钮1点击事件", ColumnName = "left_action_1")]
  80. public string leftAction1 { get; set; }
  81. /// <summary>
  82. /// 左侧按钮2点击事件
  83. /// </summary>
  84. [SugarColumn(ColumnDescription = "左侧按钮2点击事件", ColumnName = "left_action_2")]
  85. public string leftAction2 { get; set; }
  86. /// <summary>
  87. /// 右侧按钮1点击事件
  88. /// </summary>
  89. [SugarColumn(ColumnDescription = "右侧按钮1点击事件", ColumnName = "right_action_1")]
  90. public string rightAction1 { get; set; }
  91. /// <summary>
  92. /// 右侧按钮2点击事件
  93. /// </summary>
  94. [SugarColumn(ColumnDescription = "右侧按钮2点击事件", ColumnName = "right_action_2")]
  95. public string rightAction2 { get; set; }
  96. /// <summary>
  97. /// 下级页面
  98. /// </summary>
  99. [SugarColumn(ColumnDescription = "下级页面", Length = 500, ColumnName = "goto_pages")]
  100. public string gotoPages { get; set; }
  101. /// <summary>
  102. /// 是否强制更新
  103. /// </summary>
  104. [SugarColumn(ColumnDescription = "是否强制更新", ColumnName = "must_update")]
  105. public bool mustUpdate { get; set; }
  106. /// <summary>
  107. /// ID
  108. /// </summary>
  109. [SugarColumn(ColumnDescription = "ID", IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
  110. public int id { get; set; }
  111. /// <summary>
  112. /// 状态
  113. /// </summary>
  114. [SugarColumn(ColumnDescription = "状态", ColumnName = "status")]
  115. public int status { get; set; }
  116. /// <summary>
  117. /// 排序
  118. /// </summary>
  119. [SugarColumn(ColumnDescription = "排序", ColumnName = "sort")]
  120. public int sort { get; set; }
  121. /// <summary>
  122. /// 版本号
  123. /// </summary>
  124. [SugarColumn(ColumnDescription = "版本号", ColumnName = "version")]
  125. public int version { get; set; }
  126. /// <summary>
  127. /// 创建时间
  128. /// </summary>
  129. [SugarColumn(ColumnDescription = "创建时间", ColumnName = "create_date")]
  130. public DateTime? createDate { get; set; }
  131. /// <summary>
  132. /// 更新时间
  133. /// </summary>
  134. [SugarColumn(ColumnDescription = "更新时间", ColumnName = "update_date")]
  135. public DateTime? updateDate { get; set; }
  136. /// <summary>
  137. /// 分类
  138. /// </summary>
  139. [SugarColumn(ColumnDescription = "分类", Length = 50, ColumnName = "kind")]
  140. public string kind { get; set; }
  141. /// <summary>
  142. /// 是否读取网页标题
  143. /// </summary>
  144. [SugarColumn(ColumnDescription = "是否读取网页标题", ColumnName = "web_title")]
  145. public bool webTitle { get; set; }
  146. /// <summary>
  147. /// 模板版本号
  148. /// </summary>
  149. [SugarColumn(ColumnDescription = "模板版本号", Length = 50, ColumnName = "app_version")]
  150. public string appVersion { get; set; }
  151. }
  152. }