ApiGroup.cs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. using Mapster;
  2. namespace Model
  3. {
  4. /// <summary>
  5. /// api接口分组 api_group
  6. /// </summary>
  7. [SugarTable("api_group", "api接口分组")]
  8. [Tenant("0")]
  9. public class ApiGroup
  10. {
  11. /// <summary>
  12. /// 名称
  13. /// </summary>
  14. [SugarColumn(ColumnDescription = "名称", Length = 50, ColumnName = "group_name")]
  15. public string groupName { get; set; }
  16. /// <summary>
  17. /// 说明
  18. /// </summary>
  19. [SugarColumn(ColumnDescription = "说明", Length = 200, ColumnName = "group_remark")]
  20. public string groupRemark { get; set; }
  21. /// <summary>
  22. /// 版本号
  23. /// </summary>
  24. [SugarColumn(ColumnDescription = "版本号", Length = 20, ColumnName = "group_version")]
  25. public string groupVersion { 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 = "类型", ColumnName = "group_kind")]
  60. public int groupKind { get; set; }
  61. }
  62. }