using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MaterialTraceability.Entity.UpLoad { /// /// 设备信息 /// [SugarTable("base_deviceinfo")] public class DeviceInfo { /// /// 主键标识 /// [SugarColumn(ColumnName = "device_id", IsPrimaryKey = true, IsIdentity = true)] public int deviceId { get; set; } [SugarColumn(ColumnName = "device_name")] public string deviceName { get; set; } [SugarColumn(ColumnName = "resource")] public string resource { get; set; } [SugarColumn(ColumnName = "material_type")] public int materialType { get; set; } [SugarColumn(ColumnName = "parent_id")] public int parentId { get; set; } //状态更新时间 [SugarColumn(ColumnName = "status_time")] public String statusTime { get; set; } } }