using System;
using System.Collections.Generic;

namespace DAL.New_Models;

public partial class TbModelDetail
{
    /// <summary>
    /// ID
    /// </summary>
    public int Id { get; set; }

    /// <summary>
    /// 主表ID
    /// </summary>
    public int ModelId { get; set; }

    /// <summary>
    /// 状态
    /// </summary>
    public string ModelStatus { get; set; } = null!;

    /// <summary>
    /// 开关
    /// </summary>
    public bool? OnOff { get; set; }

    /// <summary>
    /// 类型：手动0，自动1
    /// </summary>
    public bool? ModelType { get; set; }

    /// <summary>
    /// 速度：停止0，低速1，中速2，高速3
    /// </summary>
    public int? Speed { get; set; }

    /// <summary>
    /// 夏季温度
    /// </summary>
    public int? SummerTemp { get; set; }

    /// <summary>
    /// 冬季温度
    /// </summary>
    public int? WinterTemp { get; set; }

    /// <summary>
    /// 定时控制
    /// </summary>
    public bool? TimingControl { get; set; }

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

    /// <summary>
    /// 允许用电
    /// </summary>
    public bool? AllowElectric { get; set; }

    public virtual TbModel Model { get; set; } = null!;
}
