线边库
This commit is contained in:
47
DOAN.Model/MES/Material/Dto/MaterialPartsTransactionsDto.cs
Normal file
47
DOAN.Model/MES/Material/Dto/MaterialPartsTransactionsDto.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DOAN.Model.MES.material.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 北泽线边库出入库查询对象
|
||||
/// </summary>
|
||||
public class MaterialPartsTransactionsQueryDto : PagerInfo
|
||||
{
|
||||
public string PartName { get; set; }
|
||||
public string TransactionType { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 北泽线边库出入库输入输出对象
|
||||
/// </summary>
|
||||
public class MaterialPartsTransactionsDto
|
||||
{
|
||||
[Required(ErrorMessage = "交易ID不能为空")]
|
||||
public int TransactionId { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "备件ID不能为空")]
|
||||
public int PartId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备件名称
|
||||
/// </summary>
|
||||
public string PartName { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "交易类型:入库(in),出库(out)不能为空")]
|
||||
public string TransactionType { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "数量不能为空")]
|
||||
public int Quantity { get; set; }
|
||||
|
||||
public DateTime? TransactionDate { get; set; }
|
||||
|
||||
public int? SupplierId { get; set; }
|
||||
|
||||
public string Remarks { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user