zhuangpei-mesbackend/DOAN.Model/MES/mm/Dto/MmTaskMaterialInfoDto.cs
2024-09-05 14:40:49 +08:00

100 lines
2.1 KiB
C#

using System.ComponentModel.DataAnnotations;
namespace DOAN.Model.MES.mm.Dto
{
/// <summary>
/// 备料任务详情查询对象
/// </summary>
public class MmTaskMaterialInfoQueryDto : PagerInfo
{
}
/// <summary>
/// 备料任务详情输入输出对象
/// </summary>
public class MmTaskMaterialInfoDto
{
[Required(ErrorMessage = "雪花不能为空")]
public string Id { get; set; }
[Required(ErrorMessage = "任务code不能为空")]
public string FkTaskCode { get; set; }
public string MaterialCode { get; set; }
public string MaterialName { get; set; }
public string Specification { get; set; }
public decimal Quantity { get; set; }
public string Unit { get; set; }
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
}
/// <summary>
/// 修改配料任务数量
/// </summary>
public class MmTaskMaterialInfoDto2
{
/// <summary>
/// 任务code
/// </summary>
public string FkTaskCode { get; set; }
/// <summary>
/// 物料code
/// </summary>
public string MaterialCode { get; set; }
/// <summary>
/// 数量
/// </summary>
public decimal Quantity { get; set; }
}
public class MmTaskMaterialInfoANDBOmDto
{
public string MaterialCode { get; set; }
public string MaterialName { get; set; }
public string Specification { get; set; }
public string Unit { get; set; }
/// <summary>
/// bom需求总数量
/// </summary>
public decimal BOM_require_Quantity { get; set; }
/// <summary>
/// 已经配置的总数量
/// </summary>
public decimal configured_all_Quantity { get; set; }
/// <summary>
/// 本次任务配置的数量
/// </summary>
public decimal task_Quantity { get; set; }
}
}