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

/// <summary>
/// 工序组关联关系输入
/// </summary>
public class ProcessGroupRelationInput
{
    /// <summary>
    /// 工序组ID
    /// </summary>
    public long ProcessGroupId { get; set; }

    /// <summary>
    /// 工序ID
    /// </summary>
    public long ProcessId { get; set; }

    /// <summary>
    /// 关联类型 (A=>B, A=>B=>C)
    /// </summary>
    public string RelationType { get; set; }

    /// <summary>
    /// 前置工序ID
    /// </summary>
    public long? PredecessorProcessId { get; set; }

    /// <summary>
    /// 后置工序ID
    /// </summary>
    public long? SuccessorProcessId { get; set; }

    /// <summary>
    /// 关联顺序
    /// </summary>
    public int RelationOrder { get; set; } = 1;
} 