using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace NPP.SmartSchedue.Api.Contracts.Services.Work.Input;
///
/// 批量添加工作任务输入模型
///
public class BatchWorkOrderAddInput
{
///
/// 工作任务列表
///
[Required(ErrorMessage = "工作任务列表不能为空")]
public List WorkOrders { get; set; } = new List();
///
/// 是否验证冲突
///
public bool ValidateConflicts { get; set; } = true;
///
/// 失败时是否回滚
///
public bool RollbackOnFailure { get; set; } = true;
///
/// 批量处理策略
///
public string BatchStrategy { get; set; } = "sequential";
///
/// 批量操作说明
///
public string BatchNote { get; set; }
///
/// 是否跳过重复任务
///
public bool SkipDuplicates { get; set; } = false;
}