PlatformModel.cs 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. using SqlSugar;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Security.Principal;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace IoTIntegrationPlatform.Model.Model
  9. {
  10. /// <summary>
  11. /// 平台型号
  12. ///</summary>
  13. [SugarTable("platform_model")]
  14. public class PlatformModel
  15. {
  16. /// <summary>
  17. /// 平台型号id
  18. ///</summary>
  19. [SugarColumn(ColumnName = "platform_model_id", IsPrimaryKey = true, IsIdentity = true)]
  20. public int PlatformModelId { get; set; }
  21. /// <summary>
  22. /// 平台型号编号
  23. ///</summary>
  24. [SugarColumn(ColumnName = "platform_model_code")]
  25. public string PlatformModelCode { get; set; }
  26. /// <summary>
  27. /// 平台型号名称
  28. ///</summary>
  29. [SugarColumn(ColumnName = "platform_model_name")]
  30. public string PlatformModelName { get; set; }
  31. /// <summary>
  32. /// 平台型号图片地址
  33. ///</summary>
  34. [SugarColumn(ColumnName = "platform_image_url")]
  35. public string PlatformImageUrl { get; set; }
  36. /// <summary>
  37. /// 最大设备数量
  38. ///</summary>
  39. [SugarColumn(ColumnName = "max_sensor_number")]
  40. public int MaxSensorNumber { get; set; }
  41. /// <summary>
  42. /// 备注
  43. ///</summary>
  44. [SugarColumn(ColumnName = "remark")]
  45. public string Remark { get; set; }
  46. /// <summary>
  47. /// 创建时间
  48. ///</summary>
  49. [SugarColumn(ColumnName = "create_time")]
  50. public DateTime CreateTime { get; set; }
  51. /// <summary>
  52. /// 修改时间
  53. ///</summary>
  54. [SugarColumn(ColumnName = "update_time")]
  55. public DateTime UpdateTime { get; set; }
  56. /// <summary>
  57. /// 操作人id
  58. ///</summary>
  59. [SugarColumn(ColumnName = "operation_id")]
  60. public int OperationId { get; set; }
  61. /// <summary>
  62. /// 操作人名称
  63. ///</summary>
  64. [SugarColumn(ColumnName = "operation_name")]
  65. public string OperationName { get; set; }
  66. /// <summary>
  67. /// 是否有效 0:否 1:是
  68. ///</summary>
  69. [SugarColumn(ColumnName = "is_valid")]
  70. public bool IsValid { get; set; }
  71. }
  72. }