线边库
This commit is contained in:
74
DOAN.Model/MES/Material/Dto/MaterialPartsInventoryDto.cs
Normal file
74
DOAN.Model/MES/Material/Dto/MaterialPartsInventoryDto.cs
Normal file
@@ -0,0 +1,74 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using DOAN.Model.MES.material;
|
||||
using DOAN.Model.MES.material.Dto;
|
||||
|
||||
namespace DOAN.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 库存信息表查询对象
|
||||
/// </summary>
|
||||
public class MaterialPartsInventoryQueryDto : PagerInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 库存位置code
|
||||
/// </summary>
|
||||
public string locationCode { get; set; }
|
||||
/// <summary>
|
||||
/// 备件名称
|
||||
/// </summary>
|
||||
public string partName { get; set; }
|
||||
/// <summary>
|
||||
/// 备件编号
|
||||
/// </summary>
|
||||
public string partCode { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 库存信息表输入输出对象
|
||||
/// </summary>
|
||||
public class MaterialPartsInventoryDto
|
||||
{
|
||||
|
||||
public int InventoryId { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "备件ID不能为空")]
|
||||
public int PartId { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "数量不能为空")]
|
||||
public int Quantity { get; set; }
|
||||
[Required(ErrorMessage = "库位不能为空")]
|
||||
public string Location { get; set; }
|
||||
|
||||
public DateTime? LastInventoryCheck { get; set; }
|
||||
|
||||
public DateTime? CreatedAt { get; set; }
|
||||
|
||||
public DateTime? UpdatedAt { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 供应商ID
|
||||
/// </summary>
|
||||
public int SupplierId { get; set; }}
|
||||
|
||||
|
||||
|
||||
|
||||
public class MaterialPartsInventoryDto2 : MaterialSparePartsDto
|
||||
{
|
||||
|
||||
public int InventoryId { get; set; }
|
||||
|
||||
public int PartId { get; set; }
|
||||
|
||||
public int Quantity { get; set; }
|
||||
|
||||
public string Location { get; set; }
|
||||
|
||||
public DateTime? LastInventoryCheck { get; set; }
|
||||
|
||||
public DateTime? CreatedAt { get; set; }
|
||||
|
||||
public DateTime? UpdatedAt { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user