using System;
using System.Collections.Generic;

namespace DAL.New_Models;

public partial class TbModel
{
    public int Id { get; set; }

    public int? HotelId { get; set; }

    /// <summary>
    /// 配置方案名称
    /// </summary>
    public string Name { get; set; } = null!;

    /// <summary>
    /// 温度修正值
    /// </summary>
    public int CorrectedTemp { get; set; }

    /// <summary>
    /// 到达温度后风机是否保持低速运行
    /// </summary>
    public bool FanRunStatus { get; set; }

    /// <summary>
    /// 屋内无人时排气扇状态：0关1开2定时
    /// </summary>
    public int ExhaustFanStatus { get; set; }

    /// <summary>
    /// 定时时长（分钟/每小时）
    /// </summary>
    public int ExhausFanTime { get; set; }

    /// <summary>
    /// 红外延时断电时间（分）
    /// </summary>
    public int InfraredDelayPo { get; set; }

    /// <summary>
    /// 门磁延时断电时间（秒）
    /// </summary>
    public int DoorDelayPo { get; set; }

    /// <summary>
    /// 拔卡延时断电时间（秒）
    /// </summary>
    public int PullCardDelayPo { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string Remark { get; set; } = null!;

    /// <summary>
    /// 编辑时间
    /// </summary>
    public DateTime ModifiedDate { get; set; }

    /// <summary>
    /// 应用时间
    /// </summary>
    public DateTime? ApplyDate { get; set; }

    /// <summary>
    /// 操作人
    /// </summary>
    public string? ApplyUser { get; set; }

    /// <summary>
    /// 所应用的主机ID，以逗号隔开
    /// </summary>
    public string? Hosts { get; set; }

    public virtual ICollection<TbModelDetail> TbModelDetails { get; set; } = new List<TbModelDetail>();
}
