using System.Collections.Generic;

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

/// <summary>
/// 批量任务分配输入
/// </summary>
public class BatchWorkOrderAssignmentInput
{
    /// <summary>
    /// 分配列表
    /// </summary>
    public List<WorkOrderAssignmentInput> Assignments { get; set; } = new List<WorkOrderAssignmentInput>();

    /// <summary>
    /// 是否验证冲突
    /// </summary>
    public bool ValidateConflicts { get; set; } = true;

    /// <summary>
    /// 是否回滚失败
    /// </summary>
    public bool RollbackOnFailure { get; set; } = true;

    /// <summary>
    /// 批量分配策略
    /// </summary>
    public string BatchStrategy { get; set; } = "sequential";
} 