AppVersion.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. using Mapster;
  2. namespace Model
  3. {
  4. /// <summary>
  5. /// app版本管理 app_version
  6. /// </summary>
  7. [SugarTable("app_version", "app版本管理")]
  8. [Tenant("0")]
  9. public class AppVersion
  10. {
  11. /// <summary>
  12. /// 终端类型
  13. /// </summary>
  14. [SugarColumn(ColumnDescription = "终端类型", Length = 10, ColumnName = "terminal_kind")]
  15. public string terminalKind { get; set; }
  16. /// <summary>
  17. /// 版本号
  18. /// </summary>
  19. [SugarColumn(ColumnDescription = "版本号", Length = 20, ColumnName = "version_num")]
  20. public string versionNum { get; set; }
  21. /// <summary>
  22. /// 标题
  23. /// </summary>
  24. [SugarColumn(ColumnDescription = "标题", Length = 50, ColumnName = "title")]
  25. public string title { get; set; }
  26. /// <summary>
  27. /// 更新信息
  28. /// </summary>
  29. [SugarColumn(ColumnDescription = "更新信息", Length = 200, ColumnName = "info")]
  30. public string info { get; set; }
  31. /// <summary>
  32. /// 确定按钮文字
  33. /// </summary>
  34. [SugarColumn(ColumnDescription = "确定按钮文字", Length = 10, ColumnName = "confirm_text")]
  35. public string confirmText { get; set; }
  36. /// <summary>
  37. /// 取消按钮文字
  38. /// </summary>
  39. [SugarColumn(ColumnDescription = "取消按钮文字", Length = 10, ColumnName = "cancel_text")]
  40. public string cancelText { get; set; }
  41. /// <summary>
  42. /// 更新地址
  43. /// </summary>
  44. [SugarColumn(ColumnDescription = "更新地址", Length = 500, ColumnName = "download_url")]
  45. public string downloadUrl { get; set; }
  46. /// <summary>
  47. /// ID
  48. /// </summary>
  49. [SugarColumn(ColumnDescription = "ID", IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
  50. public int id { get; set; }
  51. /// <summary>
  52. /// 状态
  53. /// </summary>
  54. [SugarColumn(ColumnDescription = "状态", ColumnName = "status")]
  55. public int status { get; set; }
  56. /// <summary>
  57. /// 排序
  58. /// </summary>
  59. [SugarColumn(ColumnDescription = "排序", ColumnName = "sort")]
  60. public int sort { get; set; }
  61. /// <summary>
  62. /// 版本号
  63. /// </summary>
  64. [SugarColumn(ColumnDescription = "版本号", ColumnName = "version")]
  65. public int version { get; set; }
  66. /// <summary>
  67. /// 创建时间
  68. /// </summary>
  69. [SugarColumn(ColumnDescription = "创建时间", ColumnName = "create_date")]
  70. public DateTime? createDate { get; set; }
  71. /// <summary>
  72. /// 更新时间
  73. /// </summary>
  74. [SugarColumn(ColumnDescription = "更新时间", ColumnName = "update_date")]
  75. public DateTime? updateDate { get; set; }
  76. /// <summary>
  77. /// 分类
  78. /// </summary>
  79. [SugarColumn(ColumnDescription = "分类", Length = 50, ColumnName = "kind")]
  80. public string kind { get; set; }
  81. }
  82. }