using System;

namespace NPP.SmartSchedue.Api.Services.Integration.Models
{
    /// <summary>
    /// 设备需求类
    /// </summary>
    public class EquipmentRequirement
    {
        /// <summary>
        /// 任务ID
        /// </summary>
        public long TaskId { get; set; }

        /// <summary>
        /// 所需持续时间
        /// </summary>
        public TimeSpan RequiredDuration { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndTime { get; set; }

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

        /// <summary>
        /// 设备类型
        /// </summary>
        public string? EquipmentType { get; set; }
    }
}