namespace BPA.MES.Base.Application.Services
{
    /// <summary>
    /// 名    称 ：  
    /// 创 建 人 ：yangxiao  
    /// 创建时间 ：  2023/8/10 9:48:30 
    /// 描    述 ：  
    /// </summary>
    public class WorkInfoMaterialsRecordDto
    {
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }
        /// <summary>
        /// 物料id
        /// </summary>
        public string MaterialId { get; set; }
        /// <summary>
        /// 工单id
        /// </summary>
        public string WorkId { get; set; }
        /// <summary>
        /// 重量
        /// </summary>
        public string Weight { get; set; }
        /// <summary>
        /// 第几锅
        /// </summary>
        public string PotNum { get; set; }
        /// <summary>
        /// 配方Id
        /// </summary>
        public string RecipeId { get; set; }
        /// <summary>
        /// 配方名称
        /// </summary>
        public string RecipeName { get; set; }
        /// <summary>
        /// 物料状态
        /// </summary>
        public EBatchingStatus MaterialStatus { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 误差重量
        /// </summary>
        public string ErrorWeight { get; set; }
    }
    /// <summary>
    /// 增加
    /// </summary>
    public class WorkInfoMaterialsRecordAddInput : WorkInfoMaterialsRecordDto
    {

    }
    /// <summary>
    /// 更新
    /// </summary>
    public class WorkInfoMaterialsRecordUpdateInput
    {
        /// <summary>
        /// 工单物料Id
        /// </summary>
        public string WorkMaterialId { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public EBatchingStatus Status { get; set; }
    }
    /// <summary>
    /// 删除
    /// </summary>
    public class WorkInfoMaterialsRecordDelInput
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }
    }
    /// <summary>
    /// 分页
    /// </summary>
    public class WorkInfoMaterialsRecordQueryPageInput : RequestPage
    {

    }
    /// <summary>
    /// 输出
    /// </summary>
    public class WorkInfoMaterialsRecordOutput : WorkInfoMaterialsRecordDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 物料类型
        /// </summary>
        public string MaterialType { get; set; }
        /// <summary>
        /// 物料类型名称
        /// </summary>
        public string MaterialTypeName { get; set; }
        /// <summary>
        /// 每升重量
        /// </summary>
        public string WeightPerLiter { get; set; }
    }
}
