生产管理

This commit is contained in:
qianhao.xu
2024-12-03 14:35:59 +08:00
parent 5e522c6e00
commit aab3a3b58d
41 changed files with 4616 additions and 2 deletions

View File

@@ -0,0 +1,63 @@
using System.ComponentModel.DataAnnotations;
namespace DOAN.Model.MES.base_.Dto
{
/// <summary>
/// 查询对象
/// </summary>
public class BaseMaterialBomQueryDto : PagerInfo
{
public string InvCode { get; set; }
public string SubInvCode { get; set; }
}
/// <summary>
/// 输入输出对象
/// </summary>
public class BaseMaterialBomDto
{
[Required(ErrorMessage = "雪花id不能为空")]
public string Id { get; set; }
[Required(ErrorMessage = "母件code不能为空")]
public string InvCode { get; set; }
public string InvName { get; set; }
[Required(ErrorMessage = "子件编码不能为空")]
public string SubInvCode { get; set; }
public string SubInvName { get; set; }
public string Iusequantity { get; set; }
public string BOMVersion { get; set; }
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
// public List<BaseMaterialBom> Child { get; set; }
}
//增加 规格和单位
public class BaseMaterialBomDto2 : BaseMaterialBomDto
{
public string Specification { get; set; }
public string Unit { get; set; }
}
}