using System;

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

/// <summary>
/// 班次规则信息
/// </summary>
public class ShiftRuleInfo
{
    /// <summary>
    /// 规则ID
    /// </summary>
    public long RuleId { get; set; }

    /// <summary>
    /// 规则名称
    /// </summary>
    public string RuleName { get; set; }

    /// <summary>
    /// 规则类型
    /// </summary>
    public string RuleType { get; set; }

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

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

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

    /// <summary>
    /// 规则参数
    /// </summary>
    public string RuleParameters { get; set; }

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

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