Asoka.Wang 21f044712c 1
2025-08-27 18:39:19 +08:00

50 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
namespace NPP.SmartSchedue.Api.Contracts.Services.Work.Input;
/// <summary>
/// 任务冲突检查输入参数
/// </summary>
public class TaskConflictCheckInput
{
/// <summary>
/// 任务ID列表
/// </summary>
public List<long> TaskIds { get; set; } = new List<long>();
/// <summary>
/// 检查时间范围开始
/// </summary>
public DateTime? StartDate { get; set; }
/// <summary>
/// 检查时间范围结束
/// </summary>
public DateTime? EndDate { get; set; }
/// <summary>
/// 人员ID可选只检查指定人员的冲突
/// </summary>
public long? PersonnelId { get; set; }
/// <summary>
/// 设备ID可选只检查指定设备的冲突
/// </summary>
public long? EquipmentId { get; set; }
/// <summary>
/// 是否检查时间冲突
/// </summary>
public bool CheckTimeConflicts { get; set; } = true;
/// <summary>
/// 是否检查技能冲突
/// </summary>
public bool CheckSkillConflicts { get; set; } = true;
/// <summary>
/// 是否检查资源冲突
/// </summary>
public bool CheckResourceConflicts { get; set; } = true;
}