using System;
using System.Collections.Generic;

namespace DAL.New_Models;

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

    /// <summary>
    /// 外键ID
    /// </summary>
    public int RoomTypeId { get; set; }

    /// <summary>
    /// 回路地址
    /// </summary>
    public string ModalAddress { get; set; } = null!;

    /// <summary>
    /// 输出口
    /// </summary>
    public string? Outlet { get; set; }

    /// <summary>
    /// 名称
    /// </summary>
    public string? Name { get; set; }

    /// <summary>
    /// 英文名称
    /// </summary>
    public string? EnglishName { get; set; }

    public string? Twname { get; set; }

    /// <summary>
    /// 功率(单位：瓦)
    /// </summary>
    public int? Power { get; set; }

    /// <summary>
    /// 类型
    /// </summary>
    public int? Type { get; set; }

    /// <summary>
    /// 二级类型
    /// </summary>
    public int? Subtype { get; set; }

    public bool Default1 { get; set; }

    public int Sort { get; set; }

    /// <summary>
    /// 是否移动端上应用
    /// </summary>
    public bool? AppApply { get; set; }

    public string? Color { get; set; }

    public bool? ActiveIndicator { get; set; }

    public bool? WxactiveIndicator { get; set; }

    public int? LowPower { get; set; }

    public bool? OfflineDisplay { get; set; }

    public bool? LowPowerDisplay { get; set; }

    public bool? Beep { get; set; }

    public bool? Abnormal { get; set; }

    public int? SourceType { get; set; }

    public string? AliasName { get; set; }

    public int? MultipleGroupId { get; set; }

    public string? MultipleTclname { get; set; }

    public string? TcldeviceName { get; set; }

    public bool? IsUploadBaoJing { get; set; }

    public virtual TbRoomType RoomType { get; set; } = null!;

    public virtual ICollection<TbHostModalRecord> TbHostModalRecords { get; set; } = new List<TbHostModalRecord>();

    public virtual ICollection<TbHostModal> TbHostModals { get; set; } = new List<TbHostModal>();

    public virtual ICollection<TbRoomTypeSceneModal> TbRoomTypeSceneModals { get; set; } = new List<TbRoomTypeSceneModal>();
}
