增加日志

This commit is contained in:
2026-02-03 08:54:16 +08:00
parent 10bf712006
commit 3de5990573
33 changed files with 865 additions and 43 deletions

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
namespace DAL.New_Models;
public partial class FcsorderDatum
{
public int Id { get; set; }
public string? LocationUuid { get; set; }
public string? ItemUuid { get; set; }
public string? HotelCode { get; set; }
public string? HostNumber { get; set; }
public string? HostRoomnum { get; set; }
public string? ItemClass { get; set; }
public byte[]? UpdateTime { get; set; }
public string? FcsorderUuid { get; set; }
}

View File

@@ -21,6 +21,8 @@ public partial class RicsContext : DbContext
public virtual DbSet<EcoSetting> EcoSettings { get; set; }
public virtual DbSet<FcsorderDatum> FcsorderData { get; set; }
public virtual DbSet<KongTiaoTimer> KongTiaoTimers { get; set; }
public virtual DbSet<LieEco> LieEcos { get; set; }
@@ -167,6 +169,8 @@ public partial class RicsContext : DbContext
public virtual DbSet<TftpSet> TftpSets { get; set; }
//protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
// => optionsBuilder.UseSqlServer("Data Source=DESKTOP-DUNS5K7;Initial Catalog=RICS;User ID=sa;Password=123456;Trust Server Certificate=True");
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
@@ -218,6 +222,33 @@ public partial class RicsContext : DbContext
entity.Property(e => e.StartTime).HasMaxLength(64);
});
modelBuilder.Entity<FcsorderDatum>(entity =>
{
entity.ToTable("FCSOrderData");
entity.Property(e => e.Id).HasColumnName("ID");
entity.Property(e => e.FcsorderUuid)
.HasMaxLength(64)
.HasColumnName("FCSOrderUUID");
entity.Property(e => e.HostNumber)
.HasMaxLength(64)
.HasColumnName("HostNUMBER");
entity.Property(e => e.HostRoomnum)
.HasMaxLength(64)
.HasColumnName("HostROOMNUM");
entity.Property(e => e.HotelCode).HasMaxLength(64);
entity.Property(e => e.ItemClass).HasMaxLength(64);
entity.Property(e => e.ItemUuid)
.HasMaxLength(64)
.HasColumnName("ItemUUID");
entity.Property(e => e.LocationUuid)
.HasMaxLength(64)
.HasColumnName("LocationUUID");
entity.Property(e => e.UpdateTime)
.IsRowVersion()
.IsConcurrencyToken();
});
modelBuilder.Entity<KongTiaoTimer>(entity =>
{
entity.HasKey(e => e.Id).HasName("PK_KongTiaoTimer_1");
@@ -1972,6 +2003,9 @@ public partial class RicsContext : DbContext
.HasComment("英文名称")
.HasColumnName("EName");
entity.Property(e => e.EndDayTime).HasDefaultValue(18);
entity.Property(e => e.EtvHotelId)
.HasMaxLength(255)
.HasColumnName("ETV_HotelID");
entity.Property(e => e.FaultPushUrl)
.HasMaxLength(255)
.IsUnicode(false)
@@ -2076,6 +2110,9 @@ public partial class RicsContext : DbContext
.HasMaxLength(50)
.HasColumnName("TWName");
entity.Property(e => e.ValidateDate).HasColumnType("datetime");
entity.Property(e => e.WelcomeBgm)
.HasMaxLength(255)
.HasColumnName("WelcomeBGM");
entity.Property(e => e.WelcomeSpeech).HasMaxLength(100);
entity.Property(e => e.Wxvalidate)
.HasMaxLength(50)

View File

@@ -180,6 +180,10 @@ public partial class TbSysHotel
public bool? IsNewVersionProtocol { get; set; }
public string? WelcomeBgm { get; set; }
public string? EtvHotelId { get; set; }
public virtual ICollection<TbHost> TbHosts { get; set; } = new List<TbHost>();
public virtual ICollection<TbHotelSeason> TbHotelSeasons { get; set; } = new List<TbHotelSeason>();