终端一体化运控平台
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BaseEntity.cs 1.1 KiB

2 년 전
2 년 전
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace BPASmartClient.IoT
  7. {
  8. /// <summary>
  9. /// MongoDB基类
  10. /// </summary>
  11. public abstract class BaseEntity
  12. {
  13. /// <summary>
  14. /// ID
  15. /// </summary>
  16. public string Id { get; set; }
  17. /// <summary>
  18. /// 客户端 ID
  19. /// </summary>
  20. public string ClientId { get; set; }
  21. /// <summary>
  22. /// 设备 ID
  23. /// </summary>
  24. public string DeviceId { get; set; }
  25. /// <summary>
  26. /// 阿里云设备名称
  27. /// </summary>
  28. public string devicename { get; set; }
  29. /// <summary>
  30. /// 状态
  31. /// </summary>
  32. public string State { get; set; }
  33. /// <summary>
  34. /// 创建时间
  35. /// </summary>
  36. public DateTime CreateTime { get; set; }
  37. /// <summary>
  38. /// 修改时间
  39. /// </summary>
  40. public DateTime UpdateTime { get; set; }
  41. /// <summary>
  42. /// key
  43. /// </summary>
  44. public string KeyID { get; set; }
  45. }
  46. }