Explorar el Código

更新实体类

DuGuYang hace 2 años
padre
commit
f997a9dc6f
Se han modificado 3 ficheros con 11 adiciones y 3 borrados
  1. 1 0
      Models/PosMachinesTwo.cs
  2. 1 0
      Models/PreSendStockDetail.cs
  3. 9 3
      Models/WebCMSEntities.cs

+ 1 - 0
Models/PosMachinesTwo.cs

@@ -60,5 +60,6 @@ namespace MySystem.Models
         public string SourcePosSn { get; set; }
         public int RecycStatus { get; set; }
         public string OutBatchNo { get; set; }
+        public int WithholdFlag { get; set; }
     }
 }

+ 1 - 0
Models/PreSendStockDetail.cs

@@ -29,5 +29,6 @@ namespace MySystem.Models
         public int BrandId { get; set; }
         public int StoreId { get; set; }
         public ulong AuthFlag { get; set; }
+        public int WithholdFlag { get; set; }
     }
 }

+ 9 - 3
Models/WebCMSEntities.cs

@@ -9885,6 +9885,10 @@ namespace MySystem.Models
                     .HasColumnType("longtext")
                     .HasCharSet("utf8")
                     .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.WithholdFlag)
+                    .HasColumnType("int(11)")
+                    .HasComment("预扣标记");
             });
 
             modelBuilder.Entity<PosMerchantInfo>(entity =>
@@ -10350,6 +10354,10 @@ namespace MySystem.Models
                 entity.Property(e => e.ToUserId).HasColumnType("int(11)");
 
                 entity.Property(e => e.UpdateDate).HasColumnType("datetime");
+
+                entity.Property(e => e.WithholdFlag)
+                    .HasColumnType("int(11)")
+                    .HasComment("预扣标记");
             });
 
             modelBuilder.Entity<ProductComment>(entity =>
@@ -10794,8 +10802,6 @@ namespace MySystem.Models
 
             modelBuilder.Entity<Products>(entity =>
             {
-                entity.HasComment("商品信息");
-
                 entity.Property(e => e.Id).HasColumnType("int(11)");
 
                 entity.Property(e => e.BannerPhoto)
@@ -10808,7 +10814,7 @@ namespace MySystem.Models
                 entity.Property(e => e.BuyCount).HasColumnType("int(11)");
 
                 entity.Property(e => e.ColId)
-                    .HasColumnType("varchar(100)")
+                    .HasColumnType("varchar(30)")
                     .HasCharSet("utf8")
                     .HasCollation("utf8_general_ci");