dengjunjie
2025-04-26 18d2f40bbf40469b033de6f07ca8a8e3bc191132
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_DTO/Stock/StockViewDTO.cs
@@ -56,4 +56,69 @@
        [Navigate(NavigateType.OneToMany, nameof(Dt_StockInfoDetail.StockId), nameof(StockId))]
        public List<Dt_StockInfoDetail> Details { get; set; }
    }
    public class StockViewDTO1
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")]
        public int StockId { get; set; }
        public string LocationCode { get; set; }
        public string PalletCode { get; set; }
        public DateTime? InDate { get; set; }
        public string MaterielCode { get; set; }
        public string MaterielName { get; set; }
        [Navigate(NavigateType.OneToMany, nameof(Dt_StockInfoDetail.StockId), nameof(StockId))]
        public List<Dt_StockInfoDetail> Details { get; set; }
    }
    public class LocationStockView
    {
        public int AreaId { get; set; }
        public string LocationCode { get; set; }
        public string LocationName { get; set; }
        public int Column { get; set; }
        public int Row { get; set; }
        public int Layer { get; set; }
        public int Depth { get; set; }
        public int LocationStatus { get; set; }
        public int LocationType { get; set; }
        public string RoadwayNo { get; set; }
        public int EnalbeStatus { get; set; }
        public string PalletCode { get; set; }
        public int Quantity { get; set; }
        public DateTime? InDate { get; set; }
        public string MaterielCode { get; set; }
        public string MaterielName { get; set; }
        public string OrderNo { get; set; }
        public string BatchNo { get; set; }
    }
    public class LocationLayer
    {
        public int index { get; set; }
        public List<LocationRow> rows { get; set; }
    }
    public class LocationRow
    {
        public int index { get; set; }
        public List<LocationStockView> cols { get; set; }
    }
}