12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- using SqlSugar;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Security.Principal;
- using System.Text;
- using System.Threading.Tasks;
- namespace IoTIntegrationPlatform.Model.Model
- {
- /// <summary>
- /// 平台型号
- ///</summary>
- [SugarTable("platform_model")]
- public class PlatformModel
- {
- /// <summary>
- /// 平台型号id
- ///</summary>
- [SugarColumn(ColumnName = "platform_model_id", IsPrimaryKey = true, IsIdentity = true)]
- public int PlatformModelId { get; set; }
- /// <summary>
- /// 平台型号编号
- ///</summary>
- [SugarColumn(ColumnName = "platform_model_code")]
- public string PlatformModelCode { get; set; }
- /// <summary>
- /// 平台型号名称
- ///</summary>
- [SugarColumn(ColumnName = "platform_model_name")]
- public string PlatformModelName { get; set; }
- /// <summary>
- /// 平台型号图片地址
- ///</summary>
- [SugarColumn(ColumnName = "platform_image_url")]
- public string PlatformImageUrl { get; set; }
- /// <summary>
- /// 最大设备数量
- ///</summary>
- [SugarColumn(ColumnName = "max_sensor_number")]
- public int MaxSensorNumber { get; set; }
- /// <summary>
- /// 备注
- ///</summary>
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- /// <summary>
- /// 创建时间
- ///</summary>
- [SugarColumn(ColumnName = "create_time")]
- public DateTime CreateTime { get; set; }
- /// <summary>
- /// 修改时间
- ///</summary>
- [SugarColumn(ColumnName = "update_time")]
- public DateTime UpdateTime { get; set; }
- /// <summary>
- /// 操作人id
- ///</summary>
- [SugarColumn(ColumnName = "operation_id")]
- public int OperationId { get; set; }
- /// <summary>
- /// 操作人名称
- ///</summary>
- [SugarColumn(ColumnName = "operation_name")]
- public string OperationName { get; set; }
- /// <summary>
- /// 是否有效 0:否 1:是
- ///</summary>
- [SugarColumn(ColumnName = "is_valid")]
- public bool IsValid { get; set; }
- }
- }
|