FileUpdateInfo.cs 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. using Mapster;
  2. namespace Model
  3. {
  4. /// <summary>
  5. /// 资源文件更新信息 file_update_info
  6. /// </summary>
  7. [SugarTable("file_update_info", "资源文件更新信息")]
  8. [Tenant("0")]
  9. public class FileUpdateInfo
  10. {
  11. /// <summary>
  12. /// 更新版本
  13. /// </summary>
  14. [SugarColumn(ColumnDescription = "更新版本", ColumnName = "version_num")]
  15. public int versionNum { get; set; }
  16. /// <summary>
  17. /// 路径
  18. /// </summary>
  19. [SugarColumn(ColumnDescription = "路径", Length = 200, ColumnName = "path")]
  20. public string path { get; set; }
  21. /// <summary>
  22. /// 文件名
  23. /// </summary>
  24. [SugarColumn(ColumnDescription = "文件名", Length = 50, ColumnName = "file_name")]
  25. public string fileName { get; set; }
  26. /// <summary>
  27. /// ID
  28. /// </summary>
  29. [SugarColumn(ColumnDescription = "ID", IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
  30. public int id { get; set; }
  31. /// <summary>
  32. /// 状态
  33. /// </summary>
  34. [SugarColumn(ColumnDescription = "状态", ColumnName = "status")]
  35. public int status { get; set; }
  36. /// <summary>
  37. /// 排序
  38. /// </summary>
  39. [SugarColumn(ColumnDescription = "排序", ColumnName = "sort")]
  40. public int sort { get; set; }
  41. /// <summary>
  42. /// 版本号
  43. /// </summary>
  44. [SugarColumn(ColumnDescription = "版本号", ColumnName = "version")]
  45. public int version { get; set; }
  46. /// <summary>
  47. /// 创建时间
  48. /// </summary>
  49. [SugarColumn(ColumnDescription = "创建时间", ColumnName = "create_date")]
  50. public DateTime? createDate { get; set; }
  51. /// <summary>
  52. /// 更新时间
  53. /// </summary>
  54. [SugarColumn(ColumnDescription = "更新时间", ColumnName = "update_date")]
  55. public DateTime? updateDate { get; set; }
  56. /// <summary>
  57. /// 分类
  58. /// </summary>
  59. [SugarColumn(ColumnDescription = "分类", Length = 50, ColumnName = "kind")]
  60. public string kind { get; set; }
  61. /// <summary>
  62. /// 模板版本号
  63. /// </summary>
  64. [SugarColumn(ColumnDescription = "模板版本号", Length = 50, ColumnName = "app_version")]
  65. public string appVersion { get; set; }
  66. }
  67. }