gcw_MV9p2JJN a293df3710 1
2025-11-19 11:49:05 +08:00

70 lines
1.6 KiB
C#

using System.ComponentModel.DataAnnotations;
namespace MDM.Model.Material.Dto
{
/// <summary>
/// 物料清单查询对象
/// </summary>
public class MaterialListQueryDto : PagerInfo
{
}
/// <summary>
/// 物料清单输入输出对象
/// </summary>
public class MaterialListDto
{
[Required(ErrorMessage = "雪花id不能为空")]
public string Id { get; set; }
public string FkMaterialTypeCode { get; set; }
public string Name { get; set; }
[Required(ErrorMessage = "物料编码不能为空")]
public string Code { get; set; }
public string Addcode { get; set; }
public string CustomerCode { get; set; }
public string Color { get; set; }
public string Specification { get; set; }
public string Unit { get; set; }
public string Description { get; set; }
public int? FkSupplierId { get; set; }
public string SupplierCode { get; set; }
public string ExpirationUnit { get; set; }
public decimal ExpirationDate { get; set; }
public int? ShelfLifeWarningDays { get; set; }
public int? IsShelfLife { get; set; }
public DateTime? StartTime { get; set; }
public DateTime? StopTime { get; set; }
public string BarCode { get; set; }
public int? IsBatch { get; set; }
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
}
}