基础服务api
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

83 lines
2.3 KiB

  1. using BPA.SAAS.Manage.Comm.Enum;
  2. using BPA.SAAS.Manage.Core.Base;
  3. using SqlSugar;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace BPA.SAAS.Manage.Core.Product
  10. {
  11. /// <summary>
  12. ///产品功能
  13. /// </summary>
  14. [SugarTable("bpa_productfunction")]
  15. public class BPA_ProductFunction : IBaseEntity
  16. {
  17. /// <summary>
  18. /// 功能名称
  19. /// </summary>
  20. public string Name { get; set; }
  21. /// <summary>
  22. /// 状态 0启用 1禁用
  23. /// </summary>
  24. public CommonStatus Status { get; set; } = CommonStatus.ENABLE;
  25. /// <summary>
  26. /// 加盟商id
  27. /// </summary>
  28. // public string GroupId { get; set; }
  29. /// <summary>
  30. /// 外键
  31. /// </summary>
  32. public string ForeignKeyRe { get; set; }
  33. /// <summary>
  34. /// 设备版本
  35. /// </summary>
  36. public string DeviceVersionKey { get; set; }
  37. /// <summary>
  38. /// 功能类型 0属性1服务2事件
  39. /// </summary>
  40. public int Type { get; set; }
  41. /// <summary>
  42. /// 数据类型
  43. /// </summary>
  44. public string DataType { get; set; }
  45. /// <summary>
  46. /// 取值范围
  47. /// </summary>
  48. public string DataRange { get; set; }
  49. /// <summary>
  50. /// 单位
  51. /// </summary>
  52. public string Unit { get; set; }
  53. /// <summary>
  54. /// 步长
  55. /// </summary>
  56. public decimal StepSize { get; set; }
  57. /// <summary>
  58. /// 枚举值
  59. /// </summary>
  60. public string EnumValue { get; set; }
  61. /// <summary>
  62. /// 数据长度
  63. /// </summary>
  64. public string DataLength { get; set; }
  65. /// <summary>
  66. /// 数据类型bool的描述
  67. /// </summary>
  68. public string BoolLabel { get; set; }
  69. /// <summary>
  70. /// 读写类型0读写 1只读
  71. /// </summary>
  72. public int ReadWrite { get; set; }
  73. /// <summary>
  74. /// 描述
  75. /// </summary>
  76. public string Description { get; set; }
  77. public string ProductId { get; set; }
  78. public string DataJson { get; set; }
  79. public bool IsDefault { get; set; }
  80. }
  81. }