初始化

This commit is contained in:
2025-11-21 08:48:01 +08:00
commit b4d684a84c
202 changed files with 28585 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class DevMonitorLog
{
public long Id { get; set; }
public int? HostId { get; set; }
public int? HotelId { get; set; }
public string? RoomNo { get; set; }
public string? Ip { get; set; }
public string? Mac { get; set; }
public string? CommandType { get; set; }
public string? SendOrReceive { get; set; }
public string? Data { get; set; }
public string? CreateTime { get; set; }
}

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class EcoDetail
{
public int Id { get; set; }
public int? HotelId { get; set; }
public int? HostId { get; set; }
public string? RoomNo { get; set; }
public string? TriggerTime { get; set; }
public int? EcoId { get; set; }
public bool? IsTrigger { get; set; }
}

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class EcoSetting
{
public int Id { get; set; }
public string? StartTime { get; set; }
public string? EndTime { get; set; }
public int? HostId { get; set; }
public int? HotelId { get; set; }
public string? RoomNo { get; set; }
public string? CreateTime { get; set; }
public string? AddOrCutDown { get; set; }
public int? ActValue { get; set; }
public bool? IsEnable { get; set; }
}

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class KongTiaoTimer
{
public int Id { get; set; }
public int? HotelId { get; set; }
public string? HotelCode { get; set; }
public int? HostId { get; set; }
public string? RoomNo { get; set; }
public string MissonKey { get; set; } = null!;
public int? IsCancel { get; set; }
public string? StartTime { get; set; }
public string? EndTime { get; set; }
public string? CreateTime { get; set; }
public string? CreateDate { get; set; }
}

31
DAL/New_Models/LieEco.cs Normal file
View File

@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class LieEco
{
public int Id { get; set; }
public string? StartTime { get; set; }
public string? EndTime { get; set; }
public bool? AbsEnable { get; set; }
public int? AbsValue { get; set; }
public bool? RelativeEnable { get; set; }
public int? RelativeValue { get; set; }
public int? DelayTime { get; set; }
public bool? IsEnable { get; set; }
public string? HotelCode { get; set; }
public int? HotelId { get; set; }
public DateTime? CreateTime { get; set; }
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class RegisterLog
{
public int Id { get; set; }
public int? HostId { get; set; }
public string? HotelCode { get; set; }
public string? Mac { get; set; }
public string? CreateTime { get; set; }
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class RoomNoBodyHowToLog
{
public long Id { get; set; }
public string? MissionKey { get; set; }
public string? CreateTime { get; set; }
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class RoomNobodyHowTo
{
public int Id { get; set; }
public int? CurrentHotelId { get; set; }
public int? DelayTime { get; set; }
public string? How { get; set; }
public int? Temperature { get; set; }
public string? CreateTime { get; set; }
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class SmartRobotDisableTime
{
public long? Id { get; set; }
public int? HostId { get; set; }
public string? RoomNumber { get; set; }
public string? HotelCode { get; set; }
public string? DisableStime { get; set; }
public string? DisableEtime { get; set; }
public string? CreateTime { get; set; }
public string? TargetDomain { get; set; }
public string? IsTrigger { get; set; }
}

View File

@@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbAlarmSetting
{
public int HotelId { get; set; }
public string Type { get; set; } = null!;
public string Code { get; set; } = null!;
public string Name { get; set; } = null!;
public string? Ename { get; set; }
public string Value { get; set; } = null!;
public int Sort { get; set; }
public string? Color { get; set; }
public int? ModalTypeId { get; set; }
/// <summary>
/// 声音提示
/// </summary>
public bool? Beep { get; set; }
/// <summary>
/// 是否移动端上应用
/// </summary>
public bool? AppApply { get; set; }
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbAppHotel
{
public string Code { get; set; } = null!;
public string? Value { get; set; }
public int? Sort { get; set; }
public string? Remark { get; set; }
public int? HotelId { get; set; }
}

View File

@@ -0,0 +1,38 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbAppMenu
{
public int Id { get; set; }
public int? HotelId { get; set; }
public short? Type { get; set; }
public string? Code { get; set; }
/// <summary>
/// 关联菜单ID
/// </summary>
public string Name { get; set; } = null!;
public string? EnglishName { get; set; }
public string? Icon { get; set; }
public string? Url { get; set; }
public string? Class { get; set; }
/// <summary>
/// 排序
/// </summary>
public int Sort { get; set; }
/// <summary>
/// 启用
/// </summary>
public bool ActiveIndicator { get; set; }
}

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbAppRoom
{
public int Id { get; set; }
/// <summary>
/// app mac地址
/// </summary>
public string? Mac { get; set; }
/// <summary>
/// 房号
/// </summary>
public string? RoomNumber { get; set; }
public int? HotelId { get; set; }
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbCarbonStatus
{
public int Id { get; set; }
public int? HostId { get; set; }
public string? Status { get; set; }
public string? TriggerSource { get; set; }
public DateTime? CreateTime { get; set; }
}

View File

@@ -0,0 +1,86 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbFaultRecord
{
public int Id { get; set; }
/// <summary>
/// 维修状态0未维修1已维修
/// </summary>
public int? Status { get; set; }
/// <summary>
/// 注销:1已注销
/// </summary>
public bool? IsCancel { get; set; }
/// <summary>
/// 故障编号
/// </summary>
public string? Number { get; set; }
/// <summary>
/// 房号
/// </summary>
public string? RoomNumber { get; set; }
/// <summary>
/// 故障类别ID
/// </summary>
public int? FaultTypeId { get; set; }
/// <summary>
/// 故障发生时间
/// </summary>
public DateTime? FaultTime { get; set; }
/// <summary>
/// 故障描述
/// </summary>
public string? Description { get; set; }
/// <summary>
/// 登记人
/// </summary>
public string? RegisteredPerson { get; set; }
/// <summary>
/// 登记时间
/// </summary>
public DateTime? RegisteredTime { get; set; }
/// <summary>
/// 维修人
/// </summary>
public string? RepairPerson { get; set; }
/// <summary>
/// 维修时间
/// </summary>
public DateTime? RepairTime { get; set; }
/// <summary>
/// 维修内容
/// </summary>
public string? RepairContent { get; set; }
/// <summary>
/// 注销人
/// </summary>
public string? CancelPerson { get; set; }
/// <summary>
/// 注销时间
/// </summary>
public DateTime? CancelTime { get; set; }
/// <summary>
/// 注销原因
/// </summary>
public string? CancelReason { get; set; }
public int? HotelId { get; set; }
}

View File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbFaultType
{
public int Id { get; set; }
/// <summary>
/// 故障编号
/// </summary>
public string? Code { get; set; }
/// <summary>
/// 故障名称
/// </summary>
public string? Name { get; set; }
/// <summary>
/// 故障说明
/// </summary>
public string? Remark { get; set; }
public int? HotelId { get; set; }
}

19
DAL/New_Models/TbGroup.cs Normal file
View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbGroup
{
public int Id { get; set; }
public int? ParentId { get; set; }
public string Name { get; set; } = null!;
public int Sort { get; set; }
public int? HotelId { get; set; }
public virtual ICollection<TbHost> TbHosts { get; set; } = new List<TbHost>();
}

200
DAL/New_Models/TbHost.cs Normal file
View File

@@ -0,0 +1,200 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbHost
{
public int Id { get; set; }
public int? HotelId { get; set; }
/// <summary>
/// 主机编号
/// </summary>
public string? HostNumber { get; set; }
/// <summary>
/// 房间号
/// </summary>
public string? RoomNumber { get; set; }
public string? Ip { get; set; }
/// <summary>
/// 子网掩码
/// </summary>
public string? SubnetMask { get; set; }
/// <summary>
/// 默认网关
/// </summary>
public string? Gateway { get; set; }
/// <summary>
/// 端口
/// </summary>
public int? Port { get; set; }
public string? Mac { get; set; }
/// <summary>
/// 所属楼层
/// </summary>
public int? GroupId { get; set; }
/// <summary>
/// 房型
/// </summary>
public int? RoomTypeId { get; set; }
/// <summary>
/// 状态 0离线 1在线
/// </summary>
public bool? Status { get; set; }
/// <summary>
/// 版本号
/// </summary>
public string? Version { get; set; }
/// <summary>
/// 备注
/// </summary>
public string? Remark { get; set; }
/// <summary>
/// 注册日期
/// </summary>
public DateTime? RegisterDate { get; set; }
/// <summary>
/// 房态
/// </summary>
public int? RoomStatusId { get; set; }
/// <summary>
/// 身份
/// </summary>
public int? RoomCardId { get; set; }
/// <summary>
/// 门锁
/// </summary>
public bool? DoorLockStatus { get; set; }
public DateTime? DoorLockStatusUpdateTime { get; set; }
/// <summary>
/// 保险箱0关1开2未接保险箱
/// </summary>
public int? SafeStatus { get; set; }
public short? HostTemp { get; set; }
public string? ConfigVersion { get; set; }
public bool? PowerSupply { get; set; }
public int? AuthorizedHours { get; set; }
public int? LockStatus { get; set; }
public float? LockVoltage { get; set; }
public string? ProductKey { get; set; }
public string? DeviceName { get; set; }
public string? DeviceSecret { get; set; }
public string? IotId { get; set; }
public bool? IsPublish { get; set; }
public string? HostSecret { get; set; }
public string? RokidWebhookUrl { get; set; }
public string? XiaoDuCuid { get; set; }
public bool? IsSyncRoomNumber { get; set; }
public bool? IsAutoUpdate { get; set; }
public string? Dns { get; set; }
public string? TclskillId { get; set; }
public string? Tclcuid { get; set; }
public string? HuaWeiCuid { get; set; }
public DateTime? MacbindDate { get; set; }
public int? Iptype { get; set; }
public DateTime? ExpireTime { get; set; }
public string? Season { get; set; }
public string? ServerIp { get; set; }
public DateTime? RunTime { get; set; }
public DateTime? SetExpireTime { get; set; }
public bool? IsLock { get; set; }
public int? ServerPort { get; set; }
public string? LanIp { get; set; }
public int? LanPort { get; set; }
public DateTime? LastModifiedTime { get; set; }
public string? XiaoMiCuid { get; set; }
public string? Wxvalidate { get; set; }
public string? Model { get; set; }
public string? LauncherVersion { get; set; }
public int? UpgradeStatus { get; set; }
public DateTime? UpgradeTime { get; set; }
public int? FrameNo { get; set; }
public bool? IsDeleted { get; set; }
public string? TianMaoCuid { get; set; }
public DateTime? FrameNoTime { get; set; }
public string? DisableStartTime { get; set; }
public string? DisableEndTime { get; set; }
public bool? IsWelcomeDisableTime { get; set; }
public string? FcsLocationUuid { get; set; }
public string? HiWeiCuid { get; set; }
public virtual TbGroup? Group { get; set; }
public virtual TbSysHotel? Hotel { get; set; }
public virtual TbRoomCard? RoomCard { get; set; }
public virtual TbRoomStatus? RoomStatus { get; set; }
public virtual TbRoomType? RoomType { get; set; }
public virtual ICollection<TbHostUpdateStatus> TbHostUpdateStatuses { get; set; } = new List<TbHostUpdateStatus>();
public virtual ICollection<TbRoomService> TbRoomServices { get; set; } = new List<TbRoomService>();
}

214
DAL/New_Models/TbHostAir.cs Normal file
View File

@@ -0,0 +1,214 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbHostAir
{
public int HostId { get; set; }
public int RoomTypeAirId { get; set; }
/// <summary>
/// 空调运行状态0/停止1/运行
/// </summary>
public bool? Running { get; set; }
/// <summary>
/// 当前温度
/// </summary>
public short? CurrentTemp { get; set; }
/// <summary>
/// 设定温度
/// </summary>
public short? SettingTemp { get; set; }
/// <summary>
/// 风速0/停止, 1/低速, 2/中速, 3/高速, 4/自动
/// </summary>
public short? Speed { get; set; }
/// <summary>
/// 冷阀门0关1开
/// </summary>
public short? ColdValve { get; set; }
/// <summary>
/// 热阀门0关1开
/// </summary>
public short? ThermalValve { get; set; }
/// <summary>
/// 保温温度
/// </summary>
public short? KeepTemp { get; set; }
/// <summary>
/// 初始温度
/// </summary>
public short? InitTemp { get; set; }
/// <summary>
/// 最高温度
/// </summary>
public short? HightTemp { get; set; }
/// <summary>
/// 最低温度
/// </summary>
public short? LowerTemp { get; set; }
/// <summary>
/// 死区温度
/// </summary>
public short? DeadTemp { get; set; }
/// <summary>
/// 热
/// </summary>
public short? HotDevition { get; set; }
/// <summary>
/// 冷偏差
/// </summary>
public short? ColdDevition { get; set; }
/// <summary>
/// 欢迎模式时间(分钟)
/// </summary>
public short? WelcomeTime { get; set; }
/// <summary>
/// 是否锁定温度
/// </summary>
public bool? IsLockTemp { get; set; }
/// <summary>
/// 锁定温度
/// </summary>
public short? LockTemp { get; set; }
/// <summary>
/// 模式: 1/制冷模式2/制热模式4/送风模式8/除湿模式
/// </summary>
public int? Mode { get; set; }
/// <summary>
/// 阀状态: 0/冷阀开1/冷阀关2/热阀开3/热阀关
/// </summary>
public int? Valve { get; set; }
/// <summary>
/// 空调管制0/二管制1/四管制
/// </summary>
public int? ControlType { get; set; }
/// <summary>
/// 补偿温度
/// </summary>
public double? CompensatoryTemp { get; set; }
/// <summary>
/// 是否关联房态
/// </summary>
public bool? RelateRoomStatus { get; set; }
/// <summary>
/// 是否关联门磁
/// </summary>
public bool? RelateDoorContact { get; set; }
/// <summary>
/// 冷热模式0/手动1/自动
/// </summary>
public int? ColdHotMode { get; set; }
/// <summary>
/// 冷热转换延时,单位:秒
/// </summary>
public int? ColdHotSwitchDelayTime { get; set; }
/// <summary>
/// 温度到达停止风机运行
/// </summary>
public bool? FanStop { get; set; }
/// <summary>
/// 禁止风机高速运行0/否1/是
/// </summary>
public bool? DisableFanHighSpeed { get; set; }
/// <summary>
/// 启用睡眠标志
/// </summary>
public bool? SleepFlag { get; set; }
/// <summary>
/// 睡眠开始时间
/// </summary>
public string? SleepStartTime { get; set; }
/// <summary>
/// 睡眠结束时间
/// </summary>
public string? SleepEndTime { get; set; }
/// <summary>
/// 睡眠模式偏差
/// </summary>
public short? SleepDevition { get; set; }
/// <summary>
/// 睡眠热
/// </summary>
public short? SleepHotDevition { get; set; }
/// <summary>
/// 睡眠冷偏差
/// </summary>
public short? SleepColdDevition { get; set; }
/// <summary>
/// 启动定时
/// </summary>
public bool? TimeFlag { get; set; }
/// <summary>
/// 定时开始时间1
/// </summary>
public string? TimeStartTime1 { get; set; }
/// <summary>
/// 定时结束时间1
/// </summary>
public string? TimeEndTime1 { get; set; }
/// <summary>
/// 定时开始时间2
/// </summary>
public string? TimeStartTime2 { get; set; }
/// <summary>
/// 定时结束时间2
/// </summary>
public string? TimeEndTime2 { get; set; }
/// <summary>
/// 定时开始时间3
/// </summary>
public string? TimeStartTime3 { get; set; }
/// <summary>
/// 定时结束时间3
/// </summary>
public string? TimeEndTime3 { get; set; }
public int? No { get; set; }
public string? ModalId { get; set; }
public int? RoomTypeModalId { get; set; }
public virtual TbRoomTypeAir RoomTypeAir { get; set; } = null!;
}

View File

@@ -0,0 +1,47 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbHostAirRecord
{
/// <summary>
/// ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 主机ID
/// </summary>
public int HostId { get; set; }
/// <summary>
/// 房号
/// </summary>
public string RoomNumber { get; set; } = null!;
/// <summary>
/// 空调序号
/// </summary>
public int AirNo { get; set; }
/// <summary>
/// 温度类型
/// </summary>
public int TempType { get; set; }
/// <summary>
/// 温度值
/// </summary>
public int Temp { get; set; }
/// <summary>
/// 开始时间
/// </summary>
public DateTime StartTime { get; set; }
/// <summary>
/// 结束时间
/// </summary>
public DateTime? EndTime { get; set; }
}

View File

@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbHostFault
{
public int Id { get; set; }
public int HostId { get; set; }
public string? Address { get; set; }
public int? AbnormalStatus { get; set; }
public DateTime? StatusDate { get; set; }
public int? AbnormalElectricQty { get; set; }
public DateTime? ElectricQtyDate { get; set; }
public int? Abnormal3 { get; set; }
public DateTime? Abnormal3Date { get; set; }
public int? Abnormal4 { get; set; }
public DateTime? Abnormal4Date { get; set; }
public int? Abnormal5 { get; set; }
public DateTime? Abnormal5Date { get; set; }
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbHostFaultRecord
{
public long Id { get; set; }
public int? HostId { get; set; }
public string? RoomNumber { get; set; }
public int? RoomTypeId { get; set; }
public int? RoomTypeModalId { get; set; }
public string? ModalAddress { get; set; }
public int? Type { get; set; }
public int? Value { get; set; }
public DateTime? Date { get; set; }
}

View File

@@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbHostModal
{
public int HostId { get; set; }
public int RoomTypeModalId { get; set; }
/// <summary>
/// 状态0关1开
/// </summary>
public int Status { get; set; }
/// <summary>
/// 亮度
/// </summary>
public int Brightness { get; set; }
/// <summary>
/// 当天开启时长
/// </summary>
public int Time { get; set; }
public DateTime? UpdateTime { get; set; }
public int? CurrentTemp { get; set; }
public int? SettingTemp { get; set; }
public int? FanSpeed { get; set; }
public int? Mode { get; set; }
public int? Valve { get; set; }
public virtual TbRoomTypeModal RoomTypeModal { get; set; } = null!;
}

View File

@@ -0,0 +1,38 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbHostModalEnergy
{
/// <summary>
/// 主机ID
/// </summary>
public int HostId { get; set; }
/// <summary>
/// 房号
/// </summary>
public string RoomNumber { get; set; } = null!;
public int? RoomTypeId { get; set; }
/// <summary>
/// 回路ID
/// </summary>
public int RoomTypeModalId { get; set; }
public string? ModalAddress { get; set; }
public string Outlet { get; set; } = null!;
/// <summary>
/// 时间
/// </summary>
public DateOnly Date { get; set; }
/// <summary>
/// 消耗能量
/// </summary>
public double Energy { get; set; }
}

View File

@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbHostModalRecord
{
/// <summary>
/// ID
/// </summary>
public long Id { get; set; }
public int HostId { get; set; }
public string RoomNumber { get; set; } = null!;
public int? RoomTypeId { get; set; }
public int RoomTypeModalId { get; set; }
public string? ModalAddress { get; set; }
public DateTime StartTime { get; set; }
public DateTime? EndTime { get; set; }
public int? Status { get; set; }
public virtual TbRoomTypeModal RoomTypeModal { get; set; } = null!;
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbHostModalRecordsBak
{
public long Id { get; set; }
public int HostId { get; set; }
public string RoomNumber { get; set; } = null!;
public int? RoomTypeId { get; set; }
public int RoomTypeModalId { get; set; }
public string? ModalAddress { get; set; }
public DateTime StartTime { get; set; }
public DateTime? EndTime { get; set; }
public int? Status { get; set; }
}

View File

@@ -0,0 +1,41 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbHostRoomCard
{
public long Id { get; set; }
public int? HostId { get; set; }
public string? RoomNumber { get; set; }
public int? RoomCardId { get; set; }
/// <summary>
/// 房卡编号
/// </summary>
public string? CardNumber { get; set; }
/// <summary>
/// 房卡类型ID
/// </summary>
public int? CardTypeId { get; set; }
/// <summary>
/// 员工编号
/// </summary>
public string? UserNumber { get; set; }
/// <summary>
/// 员工姓名
/// </summary>
public string? UserName { get; set; }
public DateTime? InCardTime { get; set; }
public DateTime? OutCardTime { get; set; }
public bool? IsAlarm { get; set; }
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbHostScene
{
public int HostId { get; set; }
public int RoomTypeSceneId { get; set; }
public int? Status { get; set; }
public int? Time { get; set; }
public DateTime? UpdateTime { get; set; }
public virtual TbRoomTypeScene RoomTypeScene { get; set; } = null!;
}

View File

@@ -0,0 +1,71 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbHostTimingControl
{
public long Id { get; set; }
/// <summary>
/// 酒店ID
/// </summary>
public int HotelId { get; set; }
/// <summary>
/// 主机ID以逗号隔开
/// </summary>
public string? HostIds { get; set; }
/// <summary>
/// 楼层ID
/// </summary>
public int? GroupId { get; set; }
/// <summary>
/// 房型ID
/// </summary>
public int? RoomTypeId { get; set; }
/// <summary>
/// 房态ID
/// </summary>
public int? RoomStatusId { get; set; }
/// <summary>
/// 房卡类型ID
/// </summary>
public int? RoomCardTypeId { get; set; }
/// <summary>
/// 场景ID
/// </summary>
public int? RoomTypeSceneId { get; set; }
/// <summary>
/// 定时类型0每天1每周2每月
/// </summary>
public short? TimingType { get; set; }
/// <summary>
/// 具体星期几或几号
/// </summary>
public string? TimingDay { get; set; }
/// <summary>
/// 定时时间(时:分)
/// </summary>
public string? Timing { get; set; }
/// <summary>
/// 执行状态0未执行1已执行
/// </summary>
public bool? ExecStatus { get; set; }
/// <summary>
/// 执行时间
/// </summary>
public DateTime? ExecTime { get; set; }
public bool? ActiveIndicator { get; set; }
}

View File

@@ -0,0 +1,48 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbHostUpdate
{
public int Id { get; set; }
/// <summary>
/// 文件类型0/主机固件文件1/配置数据文件
/// </summary>
public int FileType { get; set; }
/// <summary>
/// 升级包名称
/// </summary>
public string FileName { get; set; } = null!;
/// <summary>
/// 路径
/// </summary>
public string Href { get; set; } = null!;
/// <summary>
/// Md5值
/// </summary>
public string? Md5 { get; set; }
/// <summary>
/// 文件大小
/// </summary>
public long? Size { get; set; }
/// <summary>
/// 上传日期
/// </summary>
public DateTime? UploadTime { get; set; }
/// <summary>
/// 上传人
/// </summary>
public string? Account { get; set; }
public int? HotelId { get; set; }
public virtual ICollection<TbHostUpdateStatus> TbHostUpdateStatuses { get; set; } = new List<TbHostUpdateStatus>();
}

View File

@@ -0,0 +1,38 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbHostUpdateStatus
{
public int Id { get; set; }
/// <summary>
/// 主机ID
/// </summary>
public int HostId { get; set; }
/// <summary>
/// 升级包ID
/// </summary>
public int HostUpdateId { get; set; }
/// <summary>
/// 发布时间
/// </summary>
public DateTime? PublishTime { get; set; }
/// <summary>
/// 升级时间
/// </summary>
public DateTime? UpdatedTime { get; set; }
/// <summary>
/// 状态
/// </summary>
public int? Status { get; set; }
public virtual TbHost Host { get; set; } = null!;
public virtual TbHostUpdate HostUpdate { get; set; } = null!;
}

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbHostWordsReport
{
public long Id { get; set; }
public int HostId { get; set; }
public string? ModalAddress { get; set; }
public short? Type { get; set; }
public string? Sentence { get; set; }
public DateTime? CreatedDate { get; set; }
public int? HotelId { get; set; }
}

View File

@@ -0,0 +1,73 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbHostsRcu
{
public int Id { get; set; }
public int? HostId { get; set; }
public string? TypeNumber { get; set; }
public int? Iptype { get; set; }
public string? LanIp { get; set; }
public string? ServerIp { get; set; }
public string? SubnetMask { get; set; }
public string? Gateway { get; set; }
public int? LanPort { get; set; }
public string? Dns { get; set; }
public string? Version { get; set; }
public DateTime? RunTime { get; set; }
public string? LauncherVersion { get; set; }
public string? Mac { get; set; }
public string? HotelCode { get; set; }
public int? RoomTypeId { get; set; }
public string? ConfigVersion { get; set; }
public int? RoomStatusId { get; set; }
public string? Season { get; set; }
public int? LockStatus { get; set; }
public DateTime? ExpireTime { get; set; }
public DateTime? SetExpireTime { get; set; }
public string? RoomNumber { get; set; }
public string? RoomTypeRemark { get; set; }
public string? RoomRemark { get; set; }
public string? Core { get; set; }
public string? Model { get; set; }
public string? HotelName { get; set; }
public string? RoomType { get; set; }
public int? HotelId { get; set; }
public string? RoomStatus { get; set; }
public DateTime? UpdateTime { get; set; }
public int? KeyButton { get; set; }
}

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbHotelAirControl
{
public int Id { get; set; }
public int? HotelId { get; set; }
public int? ConditionType { get; set; }
public int? Season { get; set; }
public bool? ActiveIndicator { get; set; }
public int? Status { get; set; }
public int? SettingTemp { get; set; }
public int? Mode { get; set; }
public int? FanSpeed { get; set; }
public DateTime? ModifiedDate { get; set; }
public int? DelayTime { get; set; }
}

View File

@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbHotelSeason
{
public int Id { get; set; }
public int? HotelId { get; set; }
public int? Month1 { get; set; }
public int? Month2 { get; set; }
public int? Month3 { get; set; }
public int? Month4 { get; set; }
public int? Month5 { get; set; }
public int? Month6 { get; set; }
public int? Month7 { get; set; }
public int? Month8 { get; set; }
public int? Month9 { get; set; }
public int? Month10 { get; set; }
public int? Month11 { get; set; }
public int? Month12 { get; set; }
public bool? IsDeleted { get; set; }
public virtual TbSysHotel? Hotel { get; set; }
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbManualVisit
{
public long Id { get; set; }
public string? Name { get; set; }
public string? CompanyName { get; set; }
public string? PhoneNumber { get; set; }
public string? ValidateCode { get; set; }
public DateTime? CreatedDate { get; set; }
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbModalType
{
public int Id { get; set; }
public string? Name { get; set; }
public int? HotelId { get; set; }
public virtual ICollection<TbRoomTypeAir> TbRoomTypeAirs { get; set; } = new List<TbRoomTypeAir>();
}

78
DAL/New_Models/TbModel.cs Normal file
View File

@@ -0,0 +1,78 @@
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>();
}

View File

@@ -0,0 +1,64 @@
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!;
}

View File

@@ -0,0 +1,38 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbRoomCard
{
public int Id { get; set; }
/// <summary>
/// 房卡编号
/// </summary>
public string? CardNumber { get; set; }
/// <summary>
/// 房卡类型ID
/// </summary>
public int? CardTypeId { get; set; }
/// <summary>
/// 员工编号
/// </summary>
public string? UserNumber { get; set; }
/// <summary>
/// 员工姓名
/// </summary>
public string? UserName { get; set; }
/// <summary>
/// 排序
/// </summary>
public int Sort { get; set; }
public int? HotelId { get; set; }
public virtual ICollection<TbHost> TbHosts { get; set; } = new List<TbHost>();
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbRoomCardType
{
public int Id { get; set; }
public string? TypeName { get; set; }
public string? EtypeName { get; set; }
public string? TwtypeName { get; set; }
public int? HotelId { get; set; }
}

View File

@@ -0,0 +1,44 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbRoomModal
{
/// <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 int? Power { get; set; }
/// <summary>
/// 类型
/// </summary>
public int? Type { get; set; }
public string? Color { get; set; }
public int Sort { get; set; }
public string? ModalId { get; set; }
public int? Number { get; set; }
public string? ModalName { get; set; }
public string? Remark { get; set; }
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbRoomModalType
{
public int Id { get; set; }
public string? Cname { get; set; }
public string? Ename { get; set; }
}

View File

@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbRoomService
{
public long Id { get; set; }
public int HostId { get; set; }
public string? AlarmType { get; set; }
/// <summary>
/// 服务类型
/// </summary>
public string AlarmCode { get; set; } = null!;
/// <summary>
/// 状态
/// </summary>
public bool? Status { get; set; }
/// <summary>
/// 操作时间
/// </summary>
public DateTime? StartTime { get; set; }
public virtual TbHost Host { get; set; } = null!;
}

View File

@@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbRoomServiceRecord
{
public long Id { get; set; }
public int HostId { get; set; }
/// <summary>
/// 房号
/// </summary>
public string RoomNumber { get; set; } = null!;
/// <summary>
/// 服务类型
/// </summary>
public string AlarmCode { get; set; } = null!;
public string? Name { get; set; }
/// <summary>
/// 操作时间
/// </summary>
public DateTime StartTime { get; set; }
public DateTime? EndTime { get; set; }
/// <summary>
/// 状态
/// </summary>
public bool Status { get; set; }
/// <summary>
/// 操作人
/// </summary>
public string? Account { get; set; }
}

View File

@@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbRoomStatus
{
/// <summary>
/// 类型
/// </summary>
public int Id { get; set; }
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; } = null!;
/// <summary>
/// 名称
/// </summary>
public string? Ename { get; set; }
public string? Twname { get; set; }
public string? Color { get; set; }
/// <summary>
/// 排序
/// </summary>
public int Sort { get; set; }
public int? HotelId { get; set; }
public virtual ICollection<TbHost> TbHosts { get; set; } = new List<TbHost>();
}

View File

@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbRoomStatusAid
{
/// <summary>
/// 类型
/// </summary>
public int Id { get; set; }
/// <summary>
/// 辅助房态名称
/// </summary>
public string Name { get; set; } = null!;
public string? Ename { get; set; }
/// <summary>
/// 排序
/// </summary>
public int Sort { get; set; }
/// <summary>
/// 启用
/// </summary>
public bool ActiveIndicator { get; set; }
public int? HotelId { get; set; }
}

View File

@@ -0,0 +1,99 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbRoomType
{
/// <summary>
/// ID
/// </summary>
public int Id { get; set; }
public int? HotelId { get; set; }
/// <summary>
/// 房型编号
/// </summary>
public string Code { get; set; } = null!;
/// <summary>
/// 房型名称
/// </summary>
public string Name { get; set; } = null!;
/// <summary>
/// 主机上定义的房型名称
/// </summary>
public string? HostName { get; set; }
/// <summary>
/// 组地址
/// </summary>
public string? GroupAddress { get; set; }
/// <summary>
/// 项目号
/// </summary>
public int? ProjectId { get; set; }
/// <summary>
/// 白天时间
/// </summary>
public string? Day { get; set; }
public string? Night { get; set; }
public int? DoorbellTime { get; set; }
public int? SavingMode { get; set; }
public string? SavingModeTime { get; set; }
/// <summary>
/// 空调管制0/二管制1/四管制
/// </summary>
public int? ControlType { get; set; }
public string? Content { get; set; }
/// <summary>
/// 上传人
/// </summary>
public string? Uploader { get; set; }
/// <summary>
/// 上传日期
/// </summary>
public DateTime? UploadTime { get; set; }
public string? ConfigFileName { get; set; }
public string? ConfigFilePath { get; set; }
public bool? Default1 { get; set; }
public DateTime? LastModifiedTime { get; set; }
public bool? IsDeleted { get; set; }
public string? RoomHeight { get; set; }
public string? RoomArea { get; set; }
public string? RoomHotLossRatio { get; set; }
public virtual ICollection<TbHost> TbHosts { get; set; } = new List<TbHost>();
public virtual ICollection<TbRoomTypeAir> TbRoomTypeAirs { get; set; } = new List<TbRoomTypeAir>();
public virtual ICollection<TbRoomTypeChannel> TbRoomTypeChannels { get; set; } = new List<TbRoomTypeChannel>();
public virtual ICollection<TbRoomTypeModal> TbRoomTypeModals { get; set; } = new List<TbRoomTypeModal>();
public virtual ICollection<TbRoomTypeProgramFile> TbRoomTypeProgramFiles { get; set; } = new List<TbRoomTypeProgramFile>();
public virtual ICollection<TbRoomTypeScene> TbRoomTypeScenes { get; set; } = new List<TbRoomTypeScene>();
public virtual ICollection<TbRoomTypeWxmenu> TbRoomTypeWxmenus { get; set; } = new List<TbRoomTypeWxmenu>();
}

View File

@@ -0,0 +1,45 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbRoomTypeAir
{
/// <summary>
/// ID
/// </summary>
public int Id { get; set; }
/// <summary>
/// 房型
/// </summary>
public int? RoomTypeId { get; set; }
/// <summary>
/// 类型
/// </summary>
public int? ModalTypeId { get; set; }
/// <summary>
/// 配置名称
/// </summary>
public string? ModalTypeName { get; set; }
/// <summary>
/// 自定义名称
/// </summary>
public string? CustomerName { get; set; }
/// <summary>
/// 英文名称
/// </summary>
public string? EnglishName { get; set; }
public int Sort { get; set; }
public virtual TbModalType? ModalType { get; set; }
public virtual TbRoomType? RoomType { get; set; }
public virtual ICollection<TbHostAir> TbHostAirs { get; set; } = new List<TbHostAir>();
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbRoomTypeChannel
{
public int Id { get; set; }
public int? RoomTypeId { get; set; }
public int? Code { get; set; }
public string? Name { get; set; }
public int? Sort { get; set; }
public virtual TbRoomType? RoomType { get; set; }
}

View File

@@ -0,0 +1,96 @@
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>();
}

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbRoomTypeProgramFile
{
public int Id { get; set; }
public int? RoomTypeId { get; set; }
public int? FileType { get; set; }
public string? FileName { get; set; }
public string? Href { get; set; }
public string? Md5 { get; set; }
public long? Size { get; set; }
public DateTime? UploadTime { get; set; }
public string? Account { get; set; }
public virtual TbRoomType? RoomType { get; set; }
}

View File

@@ -0,0 +1,59 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbRoomTypeScene
{
public int Id { get; set; }
/// <summary>
/// 房型ID
/// </summary>
public int RoomTypeId { get; set; }
/// <summary>
/// 0.自定义场景 1.指令场景
/// </summary>
public int Type { get; set; }
/// <summary>
/// 场景中文名称
/// </summary>
public string? Name { get; set; }
/// <summary>
/// 是否移动端上应用
/// </summary>
public bool? AppApply { get; set; }
/// <summary>
/// 场景英文名称
/// </summary>
public string? EnglishName { get; set; }
/// <summary>
/// 组地址
/// </summary>
public string? GroupAddress { get; set; }
public string? Icon { get; set; }
public int? Sort { get; set; }
public int? HotelId { get; set; }
public bool? ActiveIndicator { get; set; }
public string? Twname { get; set; }
public bool? TakeInverse { get; set; }
public string? AliasName { get; set; }
public virtual TbRoomType RoomType { get; set; } = null!;
public virtual ICollection<TbHostScene> TbHostScenes { get; set; } = new List<TbHostScene>();
public virtual ICollection<TbRoomTypeSceneModal> TbRoomTypeSceneModals { get; set; } = new List<TbRoomTypeSceneModal>();
}

View File

@@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbRoomTypeSceneModal
{
public int Id { get; set; }
public int RoomTypeSceneId { get; set; }
/// <summary>
/// 模块ID
/// </summary>
public int RoomTypeModalId { get; set; }
/// <summary>
/// 设备状态0关1开
/// </summary>
public int? Status { get; set; }
/// <summary>
/// 亮度
/// </summary>
public int? Brightness { get; set; }
public string? ModalId { get; set; }
public int? CurrentTemp { get; set; }
public int? SettingTemp { get; set; }
public int? FanSpeed { get; set; }
public int? Mode { get; set; }
public int? Valve { get; set; }
public virtual TbRoomTypeModal RoomTypeModal { get; set; } = null!;
public virtual TbRoomTypeScene RoomTypeScene { get; set; } = null!;
}

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbRoomTypeWxmenu
{
public int Id { get; set; }
public int? RoomTypeId { get; set; }
public string? Code { get; set; }
public string? Name { get; set; }
public string? Ename { get; set; }
public string? Twname { get; set; }
public string? Class { get; set; }
public int? Sort { get; set; }
public bool? ActiveIndicator { get; set; }
public bool? TakePower { get; set; }
public virtual TbRoomType? RoomType { get; set; }
}

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbSeason
{
/// <summary>
/// ID
/// </summary>
public int Id { get; set; }
/// <summary>
/// 季节名称
/// </summary>
public string Name { get; set; } = null!;
/// <summary>
/// 开始日期
/// </summary>
public string BeginDate { get; set; } = null!;
/// <summary>
/// 结束日期
/// </summary>
public string EndDate { get; set; } = null!;
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbSysActiveUser
{
public long Id { get; set; }
public string Account { get; set; } = null!;
public string LoginIp { get; set; } = null!;
public string SessionId { get; set; } = null!;
}

View File

@@ -0,0 +1,49 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbSysAuthority
{
public int Id { get; set; }
/// <summary>
/// 父节点ID
/// </summary>
public int ParentId { get; set; }
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; } = null!;
/// <summary>
/// 英文名称
/// </summary>
public string? Ename { get; set; }
public string? Twname { get; set; }
/// <summary>
/// 权限组
/// </summary>
public string? Url { get; set; }
public string? Icon { get; set; }
public bool IsMenu { get; set; }
/// <summary>
/// 排序
/// </summary>
public int Sort { get; set; }
/// <summary>
/// 启用
/// </summary>
public bool ActiveIndicator { get; set; }
public bool IsLog { get; set; }
public virtual ICollection<TbSysRole> Roles { get; set; } = new List<TbSysRole>();
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbSysCity
{
public int Id { get; set; }
public string ProvinceCode { get; set; } = null!;
public string? Code { get; set; }
public string? Name { get; set; }
public string? Twname { get; set; }
public string? Ename { get; set; }
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbSysCounty
{
public int Id { get; set; }
public string CityCode { get; set; } = null!;
public string? Code { get; set; }
public string? Name { get; set; }
public string? Twname { get; set; }
public string? Ename { get; set; }
}

View File

@@ -0,0 +1,61 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbSysDistrict
{
public int Id { get; set; }
/// <summary>
/// 代码
/// </summary>
public string Code { get; set; } = null!;
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; } = null!;
/// <summary>
/// 排序
/// </summary>
public int Sort { get; set; }
/// <summary>
/// 备注
/// </summary>
public string? Remark { get; set; }
/// <summary>
/// 上级部门
/// </summary>
public int? ParentId { get; set; }
/// <summary>
/// 启用
/// </summary>
public bool ActiveIndicator { get; set; }
/// <summary>
/// 创建人
/// </summary>
public string CreatedBy { get; set; } = null!;
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// 修改人
/// </summary>
public string ModifiedBy { get; set; } = null!;
/// <summary>
/// 修改时间
/// </summary>
public DateTime ModifiedDate { get; set; }
public virtual ICollection<TbSysUser> TbSysUsers { get; set; } = new List<TbSysUser>();
}

View File

@@ -0,0 +1,190 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbSysHotel
{
public int Id { get; set; }
public int? SysHotelGroupId { get; set; }
/// <summary>
/// 酒店代码
/// </summary>
public string Code { get; set; } = null!;
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; } = null!;
/// <summary>
/// 英文名称
/// </summary>
public string Ename { get; set; } = null!;
public string? Twname { get; set; }
/// <summary>
/// 联系人
/// </summary>
public string? Contact { get; set; }
/// <summary>
/// 联系电话
/// </summary>
public string? Phone { get; set; }
/// <summary>
/// 地址
/// </summary>
public string? Address { get; set; }
/// <summary>
/// 排序
/// </summary>
public int Sort { get; set; }
/// <summary>
/// 备注
/// </summary>
public string? Remark { get; set; }
/// <summary>
/// 上级部门
/// </summary>
public int? ParentId { get; set; }
/// <summary>
/// 启用
/// </summary>
public bool ActiveIndicator { get; set; }
/// <summary>
/// 创建人
/// </summary>
public string CreatedBy { get; set; } = null!;
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// 修改人
/// </summary>
public string ModifiedBy { get; set; } = null!;
/// <summary>
/// 修改时间
/// </summary>
public DateTime ModifiedDate { get; set; }
/// <summary>
/// 登录密码
/// </summary>
public string? Wxvalidate { get; set; }
public string? LogoPath { get; set; }
public string? Styles { get; set; }
public string? AssociatedAccount { get; set; }
public bool? IsAutoGetKey { get; set; }
public string? WelcomeSpeech { get; set; }
public string? GoodbyeSpeech { get; set; }
public string? DomainUrl { get; set; }
public DateTime? ValidateDate { get; set; }
public string? TvcontrolUrl { get; set; }
public string? TvcontrolToken { get; set; }
public bool? IsSyncPms { get; set; }
public string? DeviceStatusPushUrl { get; set; }
public string? FaultPushUrl { get; set; }
public string? ProvinceCode { get; set; }
public string? CityCode { get; set; }
public string? CountyCode { get; set; }
public int? Status { get; set; }
public bool? IsApprove { get; set; }
public DateTime? LastModifiedTime { get; set; }
public bool? IsVoincePowerOn { get; set; }
public bool? IsPowerOffResetXiaoDu { get; set; }
public bool? IsDeleted { get; set; }
public int? StartDayTime { get; set; }
public int? EndDayTime { get; set; }
public bool? FcspushEnable { get; set; }
public string? SkyworthTvauthCode { get; set; }
public bool? IsUseSkyworthTv { get; set; }
public bool? IsUseQianLiMa { get; set; }
public bool? IsPushPmsdata { get; set; }
public string? TouSuResponseData { get; set; }
public bool? IsUseTcltv { get; set; }
public string? HeTongNumber { get; set; }
public string? FcsPropertyId { get; set; }
public string? FcsloginUrl { get; set; }
public string? FcsloginUserName { get; set; }
public string? FcsloginPassWord { get; set; }
public string? FcsCarbonUuid { get; set; }
public string? FcsSosUuid { get; set; }
public string? FcsTouSuUuid { get; set; }
public string? FcsCleanUuid { get; set; }
public string? FcsTiSongWuPin { get; set; }
public string? FcsRcuDeviceOffline { get; set; }
public string? FcsRcuOffline { get; set; }
public string? FcsRcuOnline { get; set; }
public string? FcsMenCiClose { get; set; }
public string? FcsMenCiOpen { get; set; }
public bool? IsNewVersionProtocol { get; set; }
public virtual ICollection<TbHost> TbHosts { get; set; } = new List<TbHost>();
public virtual ICollection<TbHotelSeason> TbHotelSeasons { get; set; } = new List<TbHotelSeason>();
public virtual ICollection<TbSysUser> TbSysUsers { get; set; } = new List<TbSysUser>();
public virtual ICollection<TbSysUser> Users { get; set; } = new List<TbSysUser>();
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbSysHotelGroup
{
public int Id { get; set; }
public int? ParentId { get; set; }
public string? Name { get; set; }
public int? Sort { get; set; }
public DateTime? LastModifiedTime { get; set; }
public bool? IsDeleted { get; set; }
}

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbSysOauth2
{
public int Id { get; set; }
public string? Code { get; set; }
public string? RedirectUri { get; set; }
public string? AccessToken { get; set; }
public int? ExpiresIn { get; set; }
public string? RefreshToken { get; set; }
public DateTime? CreatedDate { get; set; }
public string? Account { get; set; }
}

View File

@@ -0,0 +1,51 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbSysPosition
{
public int Id { get; set; }
public string? Code { get; set; }
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; } = null!;
/// <summary>
/// 排序
/// </summary>
public int Sort { get; set; }
/// <summary>
/// 备注
/// </summary>
public string? Remark { get; set; }
/// <summary>
/// 启用
/// </summary>
public bool ActiveIndicator { get; set; }
/// <summary>
/// 创建人
/// </summary>
public string CreatedBy { get; set; } = null!;
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// 修改人
/// </summary>
public string ModifiedBy { get; set; } = null!;
/// <summary>
/// 修改时间
/// </summary>
public DateTime ModifiedDate { get; set; }
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbSysProvince
{
public int Id { get; set; }
public string? Code { get; set; }
public string? Name { get; set; }
public string? Twname { get; set; }
public string? Ename { get; set; }
}

View File

@@ -0,0 +1,57 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbSysRole
{
public int Id { get; set; }
public int? HotelId { get; set; }
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; } = null!;
/// <summary>
/// 排序
/// </summary>
public int Sort { get; set; }
/// <summary>
/// 备注
/// </summary>
public string? Remark { get; set; }
/// <summary>
/// 启用
/// </summary>
public bool ActiveIndicator { get; set; }
/// <summary>
/// 创建人
/// </summary>
public string CreatedBy { get; set; } = null!;
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// 修改人
/// </summary>
public string ModifiedBy { get; set; } = null!;
/// <summary>
/// 修改时间
/// </summary>
public DateTime ModifiedDate { get; set; }
public int? SysHotelGroupId { get; set; }
public virtual ICollection<TbSysUser> TbSysUsers { get; set; } = new List<TbSysUser>();
public virtual ICollection<TbSysAuthority> Authorities { get; set; } = new List<TbSysAuthority>();
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbSysSeek
{
public int Id { get; set; }
public string? Prefix { get; set; }
public int? Suffix { get; set; }
public string? Remark { get; set; }
}

View File

@@ -0,0 +1,38 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbSysSetting
{
public int Id { get; set; }
/// <summary>
/// 分类
/// </summary>
public string? Type { get; set; }
/// <summary>
/// 分类
/// </summary>
public string? Etype { get; set; }
/// <summary>
/// 名称
/// </summary>
public string? Name { get; set; }
/// <summary>
/// 值
/// </summary>
public string? Value { get; set; }
public string? Remark { get; set; }
public string? Eremark { get; set; }
/// <summary>
/// 是否允许界面编辑
/// </summary>
public bool AllowEdit { get; set; }
}

View File

@@ -0,0 +1,49 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbSysSystemLog
{
/// <summary>
/// id
/// </summary>
public long Id { get; set; }
/// <summary>
/// 用户名
/// </summary>
public string? Account { get; set; }
/// <summary>
/// 权限模块ID
/// </summary>
public int? AuthorityId { get; set; }
/// <summary>
/// 动作
/// </summary>
public string? Action { get; set; }
/// <summary>
/// 明细
/// </summary>
public string? Detail { get; set; }
/// <summary>
/// 结果
/// </summary>
public string? Result { get; set; }
/// <summary>
/// IP地址
/// </summary>
public string? Ip { get; set; }
/// <summary>
/// 操作日期
/// </summary>
public DateTime? Time { get; set; }
public int? HotelId { get; set; }
}

107
DAL/New_Models/TbSysUser.cs Normal file
View File

@@ -0,0 +1,107 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbSysUser
{
/// <summary>
/// ID
/// </summary>
public int Id { get; set; }
public int? HotelId { get; set; }
/// <summary>
/// 登录账号
/// </summary>
public string Account { get; set; } = null!;
/// <summary>
/// 登录密码
/// </summary>
public string Password { get; set; } = null!;
/// <summary>
/// 姓名
/// </summary>
public string? Name { get; set; }
public int? DistrictId { get; set; }
/// <summary>
/// 所属部门
/// </summary>
public int? DepartmentId { get; set; }
public int? PositionId { get; set; }
public int? RoleId { get; set; }
public string? Sex { get; set; }
public string? Phone { get; set; }
/// <summary>
/// 邮件
/// </summary>
public string? Email { get; set; }
/// <summary>
/// 排序
/// </summary>
public int Sort { get; set; }
/// <summary>
/// 备注
/// </summary>
public string? Remark { get; set; }
/// <summary>
/// 启用
/// </summary>
public bool ActiveIndicator { get; set; }
/// <summary>
/// 创建人
/// </summary>
public string CreatedBy { get; set; } = null!;
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// 修改人
/// </summary>
public string ModifiedBy { get; set; } = null!;
/// <summary>
/// 修改时间
/// </summary>
public DateTime ModifiedDate { get; set; }
/// <summary>
/// 所属分组ID
/// </summary>
public int? GroupId { get; set; }
public string? LoginIp { get; set; }
public int? SysHotelGroupId { get; set; }
public string? Password2 { get; set; }
public DateTime? LastModifiedTime { get; set; }
public bool? IsDeleted { get; set; }
public virtual TbSysHotel? Department { get; set; }
public virtual TbSysDistrict? District { get; set; }
public virtual TbSysRole? Role { get; set; }
public virtual ICollection<TbSysHotel> Hotels { get; set; } = new List<TbSysHotel>();
}

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbWxmenu
{
public int Id { get; set; }
public string? Code { get; set; }
public string? Name { get; set; }
public string? Ename { get; set; }
public string? Twname { get; set; }
public string? Class { get; set; }
public int? Sort { get; set; }
}

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TbWxmessage
{
public int Id { get; set; }
public int? HotelId { get; set; }
public string? RoomNumber { get; set; }
public string? Message { get; set; }
public string? Contact { get; set; }
public DateTime? Time { get; set; }
public bool? IsRead { get; set; }
public string? Remark { get; set; }
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TblSyncList
{
public int Id { get; set; }
public string? TableName { get; set; }
public string? OtherTableName { get; set; }
public int RevisionId { get; set; }
}

17
DAL/New_Models/Test.cs Normal file
View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class Test
{
public int Id { get; set; }
public string? MyName { get; set; }
public string? How { get; set; }
public int? Temperature { get; set; }
public string? CreateTime { get; set; }
}

29
DAL/New_Models/TftpSet.cs Normal file
View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class TftpSet
{
public int Id { get; set; }
public int? HotelId { get; set; }
public string? HotelCode { get; set; }
public int? HostId { get; set; }
public string? RoomNumber { get; set; }
public int? TargerPort { get; set; }
public string? TargetDomain { get; set; }
public int? LastTime { get; set; }
public byte? IsTrigger { get; set; }
public string? CreateTime { get; set; }
public int? TargetPort { get; set; }
}