Files
kunshan-bzfm-mes-backend/DOAN.Model/MES/Material/Dto/MmInventoryDto.cs
Carl b90225eb41 支持按仓库名称查询库存信息
新增 MmInventoryQueryDto.WarehouseName 属性,并在库存查询服务中增加按仓库名称模糊查询的条件,提升库存筛选能力。
2026-01-02 16:47:00 +08:00

55 lines
1.3 KiB
C#

namespace DOAN.Model.BZFM.Dto
{
/// <summary>
/// 库存表查询对象
/// </summary>
public class MmInventoryQueryDto : PagerInfo
{
public string WarehouseCode { get; set; }
public string MaterialCode { get; set; }
public string WarehouseName { get; set; }
}
/// <summary>
/// 库存表输入输出对象
/// </summary>
public class MmInventoryDto
{
[Required(ErrorMessage = "主键ID不能为空")]
public int Id { get; set; }
[Required(ErrorMessage = "物料编码不能为空")]
public string MaterialCode { get; set; }
public string MaterialName { get; set; }
[Required(ErrorMessage = "仓库编码不能为空")]
public string WarehouseCode { get; set; }
public string WarehouseName { get; set; }
[Required(ErrorMessage = "库位编码不能为空")]
public string LocationCode { get; set; }
public string LocationName { get; set; }
public string BatchNo { get; set; }
public decimal CurrentQty { get; set; }
public string Unit { get; set; }
public DateTime? ProductionDate { get; set; }
public DateTime? ExpiryDate { get; set; }
public DateTime? LastUpdatedTime { get; set; }
public DateTime? CreatedTime { get; set; }
}
}