using System;
using System.Collections.Generic;

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

/// <summary>
/// 班次规则分配输入
/// </summary>
public class ShiftRuleAssignmentInput
{
    /// <summary>
    /// 班次ID
    /// </summary>
    public long ShiftId { get; set; }

    /// <summary>
    /// 规则ID
    /// </summary>
    public long RuleId { get; set; }

    /// <summary>
    /// 规则参数 (JSON格式)
    /// </summary>
    public string RuleParameters { get; set; }

    /// <summary>
    /// 是否启用
    /// </summary>
    public bool IsEnabled { get; set; } = true;

    /// <summary>
    /// 优先级
    /// </summary>
    public int Priority { get; set; } = 1;

    /// <summary>
    /// 生效开始时间
    /// </summary>
    public DateTime? EffectiveStartTime { get; set; }

    /// <summary>
    /// 生效结束时间
    /// </summary>
    public DateTime? EffectiveEndTime { get; set; }

    /// <summary>
    /// 描述
    /// </summary>
    public string Description { get; set; }
} 