| using SqlSugar; | 
| using System; | 
| using System.Collections.Generic; | 
| using System.Linq; | 
| using System.Text; | 
| using System.Threading.Tasks; | 
| using WIDESEAWCS_Core.DB.Models; | 
|   | 
| namespace WIDESEAWCS_Model.Models | 
| { | 
|     [SugarTable(nameof(Dt_WarehouseDevice))] | 
|     public class Dt_WarehouseDevice : BaseEntity | 
|     { | 
|         /// <summary> | 
|         /// 主键 | 
|         /// </summary> | 
|         [SugarColumn(IsIdentity = true, IsPrimaryKey = true)] | 
|         public int Id { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 设备主键 | 
|         /// </summary> | 
|         [SugarColumn(IsNullable = false, ColumnDescription = "")] | 
|         public int DeviceId { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 设备编号 | 
|         /// </summary> | 
|         [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "")] | 
|         public string DeviceCode { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 设备名称 | 
|         /// </summary> | 
|         [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "")] | 
|         public string DeviceName { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 仓库主键 | 
|         /// </summary> | 
|         [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "")] | 
|         public int WarehouseId { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 仓库编号 | 
|         /// </summary> | 
|         [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "")] | 
|         public string WarehouseCode { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 仓库名称 | 
|         /// </summary> | 
|         [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "")] | 
|         public string WarehouseName { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 备注 | 
|         /// </summary> | 
|         [SugarColumn(IsNullable = true, ColumnDescription = "")] | 
|         public string Remark { get; set; } | 
|     } | 
| } |