namespace BPA.MES.Base.Application.Services
{
    /// <summary>
    /// 名    称 ：  
    /// 创 建 人 ：yangxiao  
    /// 创建时间 ：  2024/4/8 15:46:52 
    /// 描    述 ：  
    /// </summary>
    public class WorkBatchDto
    {
        /// <summary>
        /// 批次名词
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public WorkOrderStatusEnum? Status { get; set; }

    }

    /// <summary>
    /// 增加
    /// </summary>
    public class WorkBatchAddInput : WorkBatchDto
    {

    }
    /// <summary>
    /// 更新
    /// </summary>
    public class WorkBatchUpdateInput : WorkBatchDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }
    }
    /// <summary>
    /// 删除
    /// </summary>
    public class WorkBatchDelInput
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }
    }
    /// <summary>
    /// 不分页
    /// </summary>
    public class WorkBatchQueryInput
    {

    }
    /// <summary>
    /// 分页
    /// </summary>
    public class WorkBatchQueryPageInput : RequestPage
    {
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        public string Id { get; set; }

        /// <summary>
        /// 起始时间
        /// </summary>
        public DateTime? StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }
    }
    /// <summary>
    /// 输出
    /// </summary>
    public class WorkBatchOutput : WorkBatchDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 个数
        /// </summary>
        public int Count { get; set; }

        public List<WorkInfoOutput> WorkList { get; set; } = new();

    }
}