namespace BPA.MES.Base.Application.Services
{
    /// <summary>
    /// 产线工艺步骤
    /// </summary>
    public class ProductLineStepsDto
    {
        /// <summary>
        /// 步骤
        /// </summary>
        public int Step { get; set; }
        /// <summary>
        /// 工艺Id
        /// </summary>
        public string ProcessId { get; set; }
        /// <summary>
        /// 产线Id
        /// </summary>
        public string LineId { get; set; }
        /// <summary>
        /// 工艺名称
        /// </summary>
        public string ProcessName { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public string ProcessType { get; set; }

    } 
    /// <summary>
      /// 增加
      /// </summary>
    public class ProductLineStepsAddInput : ProductLineStepsDto
    {

    }
    /// <summary>
    /// 更新
    /// </summary>
    public class ProductLineStepsUpdateInput : ProductLineStepsDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }
    }
    /// <summary>
    /// 删除
    /// </summary>
    public class ProductLineStepsDelInput
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }
    }
    /// <summary>
    /// 分页
    /// </summary>
    public class ProductLineStepsQueryPageInput : RequestPage
    {
        ///// <summary>
        ///// 名称
        ///// </summary>
        //public string Name { get; set; }
        ///// <summary>
        ///// 编码
        ///// </summary>
        //public string Code { get; set; }
        /// <summary>
        /// 产线Id
        /// </summary>
        public string LineId { get; set; }
    }

    /// <summary>
    /// 不分页
    /// </summary>
    public class ProductLineStepsQueryInput
    {
        /// <summary>
        /// 产线Id
        /// </summary>
        public string LineId { get; set; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public string FinalId { get; set; }
    }

    /// <summary>
    /// 输出
    /// </summary>
    public class ProductLineStepsOutput : ProductLineStepsDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 设备
        /// </summary>
        public string[] DeviceId { get; set; }

        public List<DevicesInfoOutput> DevicesInfo { get; set; }
    }

}
