using SqlSugar;
using System.Collections.Generic;
namespace WCS.Entity
{
/////
///// 设备列表
/////
//[SugarTable(nameof(WCS_DeviceInfo), "设备列表")]
//public class WCS_DeviceInfo : OBJ
//{
// [SugarColumn(IsIgnore = true)]
// public override int ID { get; set; }
// ///
// /// 设备编号
// ///
// [SugarColumn(IsPrimaryKey = true, ColumnDescription = "设备编号", Length = 50)]
// public string Code { get; set; }
// ///
// /// 设备名称
// ///
// [SugarColumn(Length = 50, ColumnDescription = "设备名称")]
// public string Name { get; set; }
// ///
// /// 设备可用协议集合
// ///
// [Navigate(NavigateType.OneToMany, nameof(WCS_DeviceProt.DeviceCode))]
// public List DeviceProtocol { get; set; }
// ///
// /// 上一个设备集合
// ///
// [Navigate(NavigateType.OneToMany, nameof(WCS_Route.NextCode))]
// public List FormerRoutes { get; set; }
// ///
// /// 下一个设备集合
// ///
// [Navigate(NavigateType.OneToMany, nameof(WCS_Route.DeviceCode))]
// public List NextRoutes { get; set; }
// ///
// /// 设备可用路径集合
// ///
// [Navigate(NavigateType.OneToMany, nameof(WCS_PathGrp.StartCode))]
// public List Paths { get; set; }
// ///
// /// 设备对应设备组信息
// ///
// [Navigate(NavigateType.OneToMany, nameof(WCS_DeviceGrp.GroupCode))]
// public List DeviceGroup { get; set; }
// public override string ToString()
// {
// return Code;
// }
//}
}