| | |
| | | using Microsoft.AspNetCore.SignalR; |
| | | using System.Collections.Generic; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace WIDESEA_WMSServer.Hubs |
| | |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 库存更新DTO(SignalR推送用) |
| | | /// </summary> |
| | | public class StockUpdateDTO |
| | | { |
| | | public int LocationId { get; set; } |
| | | public int WarehouseId { get; set; } |
| | | public string PalletCode { get; set; } |
| | | public float StockQuantity { get; set; } |
| | | public int StockStatus { get; set; } |
| | | public int LocationStatus { get; set; } |
| | | public List<StockDetailUpdateDTO> Details { get; set; } = new(); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 库存明细更新DTO |
| | | /// </summary> |
| | | public class StockDetailUpdateDTO |
| | | { |
| | | public int Id { get; set; } |
| | | public string MaterielCode { get; set; } |
| | | public string MaterielName { get; set; } |
| | | public string BatchNo { get; set; } |
| | | public float StockQuantity { get; set; } |
| | | public string Unit { get; set; } |
| | | public int Status { get; set; } |
| | | } |
| | | } |