using System;

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

/// <summary>
/// 任务重新分配输入
/// </summary>
public class WorkOrderReassignmentInput
{
    /// <summary>
    /// 任务ID
    /// </summary>
    public long WorkOrderId { get; set; }

    /// <summary>
    /// 新人员ID
    /// </summary>
    public long NewPersonnelId { get; set; }

    /// <summary>
    /// 新设备ID
    /// </summary>
    public long? NewEquipmentId { get; set; }

    /// <summary>
    /// 重新分配原因
    /// </summary>
    public string ReassignmentReason { get; set; }

    /// <summary>
    /// 是否取消原分配
    /// </summary>
    public bool CancelOriginalAssignment { get; set; } = true;

    /// <summary>
    /// 重新分配时间
    /// </summary>
    public DateTime? ReassignmentTime { get; set; }
} 