namespace BPA.MES.Base.Application.Services
{
    /// <summary>
    /// 名    称 ：  
    /// 创 建 人 ：yangxiao  
    /// 创建时间 ：  2023/7/17 17:29:52 
    /// 描    述 ：  
    /// </summary>
    public class BucketMaterialsRecordDto
    {
        /// <summary>
        /// 桶Id
        /// </summary>
        public string BucketId { get; set; }
        /// <summary>
        /// 物料Id
        /// </summary>
        public string MaterialId { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 物料重量
        /// </summary>
        public string Weight { get; set; }
        /// <summary>
        /// 工单Id
        /// </summary>
        public string WorkId { get; set; }
    }
    public class BucketMaterialsRecordAddInput : BucketMaterialsRecordDto
    {

    }
    /// <summary>
    /// 更新
    /// </summary>
    public class BucketMaterialsRecordUpdateInput : BucketMaterialsRecordDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }
    }
    /// <summary>
    /// 删除
    /// </summary>
    public class BucketMaterialsRecordDelInput
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }
    }
    /// <summary>
    /// 不分页
    /// </summary>
    public class BucketMaterialsRecordQueryInput
    {
        /// <summary>
        /// 工单Id
        /// </summary>
        public string WorkId { get; set; }
        /// <summary>
        /// 桶Id
        /// </summary>
        public string BucketId { get; set; }
        /// <summary>
        /// 桶编号
        /// </summary>
        public string BucketCode { get; set; }
    }
    /// <summary>
    /// 分页
    /// </summary>
    public class BucketMaterialsRecordQueryPageInput : RequestPage
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 桶Id
        /// </summary>
        public string BucketId { get; set; }
    }

    /// <summary>
    /// 清空桶
    /// </summary>
    public class BucketClearInput
    {
        public string BucketId { get; set; }
    }

    /// <summary>
    /// 输出
    /// </summary>
    public class BucketMaterialsRecordOutput : BucketMaterialsRecordDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 原料名称
        /// </summary>
        public string MaterialName { get; set; }
        /// <summary>
        /// 桶名称
        /// </summary>
        public string BucketName { get; set; }
        /// <summary>
        /// 工单名称
        /// </summary>
        public string WorkName { get; set; }
        /// <summary>
        /// 桶编码
        /// </summary>
        public string BucketCode { get; set; }
        /// <summary>
        /// 计划重量
        /// </summary>
        public string SchemeWeight { get; set; }
        /// <summary>
        /// 第几锅
        /// </summary>
        public string PotNum { get; set; }
    }
}
