基础服务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.
 
 

49 lines
1.3 KiB

  1. using BPA.SAAS.Manage.Core.Base;
  2. using SqlSugar;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Security.Principal;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace BPA.SAAS.Manage.Core.Device
  10. {
  11. [SugarTable("bpa_deviceinfo")]
  12. public class BPA_DeviceInfo: IBaseEntity, IGroupId
  13. {
  14. /// <summary>
  15. /// 设备名称
  16. /// </summary>
  17. public string DeviceName { get; set; }
  18. /// <summary>
  19. /// 设备标签
  20. /// </summary>
  21. public string DeviceTypeId { get; set; }
  22. /// <summary>
  23. ///归属场景(店铺)
  24. /// </summary>
  25. public string OrgId { get; set; }
  26. /// <summary>
  27. /// 设备类型
  28. /// </summary>
  29. public string DeviceTypeKey { get; set; }
  30. /// <summary>
  31. /// 设备AutoKey 唯一用于mqtt消息推送标识
  32. /// </summary>
  33. [SugarColumn(IsOnlyIgnoreInsert = true, IsOnlyIgnoreUpdate = true, IsIdentity = true)]
  34. public int AutoKey { get; set; }
  35. /// <summary>
  36. /// 物料数量
  37. /// </summary>
  38. public int? MaterialQuantity { get; set; }
  39. /// <summary>
  40. /// 设备版本
  41. /// </summary>
  42. public string DeviceVersionKey { get; set; }
  43. public string GroupId { get; set; }
  44. }
  45. }