using System;
using System.Collections.Generic;

namespace NPP.SmartSchedue.Api.Contracts.Services.Work.Input;

/// <summary>
/// 任务自检输入
/// </summary>
public class WorkOrderValidationInput
{
    /// <summary>
    /// 任务ID列表（单个或多个）
    /// </summary>
    public List<long> WorkOrderIds { get; set; } = new();
    
    /// <summary>
    /// 自检通过后是否更新状态为待整合
    /// </summary>
    public bool UpdateStatusToPendingIntegration { get; set; } = false;
}

/// <summary>
/// 单个任务自检输入
/// </summary>
public class SingleWorkOrderValidationInput
{
    /// <summary>
    /// 任务ID
    /// </summary>
    public long WorkOrderId { get; set; }
    
    /// <summary>
    /// 自检通过后是否更新状态为待整合
    /// </summary>
    public bool UpdateStatusToPendingIntegration { get; set; } = false;
}