增加日志
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user