using System;

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

/// <summary>
/// 优先级调整输入参数
/// </summary>
public class PriorityAdjustmentInput
{
    /// <summary>
    /// 任务ID
    /// </summary>
    public long TaskId { get; set; }
    
    /// <summary>
    /// 新优先级值
    /// </summary>
    public int NewPriority { get; set; }
    
    /// <summary>
    /// 调整原因
    /// </summary>
    public string Reason { get; set; }
    
    /// <summary>
    /// 是否自动重新计算相关任务优先级
    /// </summary>
    public bool AutoRecalculateRelated { get; set; } = true;
    
    /// <summary>
    /// 调整时间
    /// </summary>
    public DateTime AdjustmentTime { get; set; } = DateTime.Now;
}