using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core.DB.Models; using WIDESEAWCS_Core.Enums; namespace WIDESEAWCS_Model.Models { [SugarTable(nameof(Dt_Router), "设备路由表")] public class Dt_Router : BaseEntity { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 起点位置 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "起点位置")] public string StartPosi { get; set; } /// /// 终点位置 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "终点位置")] public string NextPosi { get; set; } /// /// 路由类型 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "路由类型")] public RouterInOutType InOutType { get; set; } /// /// 子位置 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "子位置")] public string ChildPosi { get; set; } /// /// 子位置所属设备 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "子位置所属设备")] public string ChildPosiDeviceCode { get; set; } /// /// 堆垛机取货/放货行 /// [SugarColumn(IsNullable = true, ColumnDescription = "堆垛机取货/放货行")] public int? SrmRow { get; set; } /// /// 堆垛机取货/放货列 /// [SugarColumn(IsNullable = true, ColumnDescription = "堆垛机取货/放货列")] public int SrmColumn { get; set; } /// /// 堆垛机取货/放货层 /// [SugarColumn(IsNullable = true, ColumnDescription = "堆垛机取货/放货层")] public int SrmLayer { get; set; } /// /// 子位置 /// [SugarColumn(IsNullable = true, ColumnDescription = "子位置")] public int? Depth { get; set; } /// /// 是否是最终点 /// [SugarColumn(IsNullable = false, ColumnDescription = "是否是最终点")] public bool IsEnd { get; set; } /// /// 备注 /// [SugarColumn(IsNullable = true, ColumnDescription = "备注")] public string Remark { get; set; } } }