| | |
| | | public virtual DbSet<IntentionCustomer> IntentionCustomers { get; set; } |
| | | public virtual DbSet<IntentionOrder> IntentionOrders { get; set; } |
| | | public virtual DbSet<IntentionVisit> IntentionVisits { get; set; } |
| | | public virtual DbSet<IntentionVisitDuanxin> IntentionVisitDuanxins { get; set; } |
| | | public virtual DbSet<Liaotian> Liaotians { get; set; } |
| | | public virtual DbSet<LZhuanjiahuidum> LZhuanjiahuida { get; set; } |
| | | public virtual DbSet<Oayouhui> Oayouhuis { get; set; } |
| | | public virtual DbSet<OrderBanci> OrderBancis { get; set; } |
| | | public virtual DbSet<OrderBanciDtl> OrderBanciDtls { get; set; } |
| | | public virtual DbSet<OrderBanciOrder> OrderBanciOrders { get; set; } |
| | | public virtual DbSet<PltAuth> PltAuths { get; set; } |
| | | public virtual DbSet<PltPage> PltPages { get; set; } |
| | | public virtual DbSet<PltRole> PltRoles { get; set; } |
| | |
| | | .HasComment("会费"); |
| | | |
| | | entity.Property(e => e.MemberAuthority) |
| | | .HasMaxLength(100) |
| | | .HasMaxLength(500) |
| | | .HasColumnName("member_authority") |
| | | .HasComment("会员权限"); |
| | | |
| | |
| | | .HasColumnName("createtime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.DuanxinNeirong) |
| | | .HasMaxLength(500) |
| | | .HasColumnName("duanxin_neirong"); |
| | | |
| | | entity.Property(e => e.Jdr) |
| | | .HasMaxLength(500) |
| | | .HasColumnName("jdr") |
| | |
| | | .HasMaxLength(50) |
| | | .HasColumnName("zw") |
| | | .HasComment("职务"); |
| | | }); |
| | | |
| | | modelBuilder.Entity<IntentionVisitDuanxin>(entity => |
| | | { |
| | | entity.ToTable("IntentionVisit_duanxin"); |
| | | |
| | | entity.Property(e => e.Id).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.Creater) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | | .HasColumnName("creater") |
| | | .HasDefaultValueSql("('1')"); |
| | | |
| | | entity.Property(e => e.Createtime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("createtime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.DuanxinNeirong) |
| | | .HasMaxLength(500) |
| | | .HasColumnName("duanxin_neirong"); |
| | | |
| | | entity.Property(e => e.DuanxinTitle) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("duanxin_title"); |
| | | |
| | | entity.Property(e => e.Modifier) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | | .HasColumnName("modifier") |
| | | .HasDefaultValueSql("('1')"); |
| | | |
| | | entity.Property(e => e.Modifytime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("modifytime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.RecStatus) |
| | | .IsRequired() |
| | | .HasMaxLength(1) |
| | | .HasColumnName("rec_status") |
| | | .HasDefaultValueSql("('A')"); |
| | | }); |
| | | |
| | | modelBuilder.Entity<Liaotian>(entity => |
| | |
| | | .HasComment("优惠类型"); |
| | | }); |
| | | |
| | | modelBuilder.Entity<OrderBanci>(entity => |
| | | { |
| | | entity.ToTable("order_banci"); |
| | | |
| | | entity.Property(e => e.Id).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.Mingcheng) |
| | | .HasMaxLength(100) |
| | | .HasColumnName("mingcheng"); |
| | | |
| | | entity.Property(e => e.Banci) |
| | | .HasMaxLength(100) |
| | | .HasColumnName("banci"); |
| | | |
| | | entity.Property(e => e.Creater) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | | .HasColumnName("creater") |
| | | .HasDefaultValueSql("('1')"); |
| | | |
| | | entity.Property(e => e.Createtime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("createtime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.Didian) |
| | | .HasMaxLength(500) |
| | | .HasColumnName("didian"); |
| | | |
| | | entity.Property(e => e.Modifier) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | | .HasColumnName("modifier") |
| | | .HasDefaultValueSql("('1')"); |
| | | |
| | | entity.Property(e => e.Modifytime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("modifytime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.RecStatus) |
| | | .IsRequired() |
| | | .HasMaxLength(1) |
| | | .HasColumnName("rec_status") |
| | | .HasDefaultValueSql("('A')"); |
| | | |
| | | |
| | | entity.Property(e => e.Renshu) |
| | | .HasColumnName("renshu"); |
| | | |
| | | entity.Property(e => e.Shijian) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("shijian"); |
| | | |
| | | entity.Property(e => e.Shijianend) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("shijianend"); |
| | | }); |
| | | |
| | | modelBuilder.Entity<OrderBanciDtl>(entity => |
| | | { |
| | | entity.ToTable("order_banci_dtl"); |
| | | |
| | | entity.Property(e => e.Id).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.Creater) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | | .HasColumnName("creater") |
| | | .HasDefaultValueSql("('1')"); |
| | | |
| | | entity.Property(e => e.Createtime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("createtime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.Modifier) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | | .HasColumnName("modifier") |
| | | .HasDefaultValueSql("('1')"); |
| | | |
| | | entity.Property(e => e.Modifytime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("modifytime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.OrderBanciId) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("order_banci_id"); |
| | | |
| | | entity.Property(e => e.RecStatus) |
| | | .IsRequired() |
| | | .HasMaxLength(1) |
| | | .HasColumnName("rec_status") |
| | | .HasDefaultValueSql("('A')"); |
| | | |
| | | entity.Property(e => e.Shangxiawu) |
| | | .HasMaxLength(100) |
| | | .HasColumnName("shangxiawu"); |
| | | |
| | | entity.Property(e => e.Shijian) |
| | | .HasMaxLength(100) |
| | | .HasColumnName("shijian"); |
| | | |
| | | entity.Property(e => e.Shixiamg) |
| | | .HasMaxLength(500) |
| | | .HasColumnName("shixiamg"); |
| | | |
| | | entity.Property(e => e.Sort) |
| | | .HasColumnName("sort") |
| | | .HasDefaultValueSql("((0))"); |
| | | |
| | | entity.Property(e => e.Zhujiangren) |
| | | .HasMaxLength(100) |
| | | .HasColumnName("zhujiangren"); |
| | | }); |
| | | |
| | | modelBuilder.Entity<OrderBanciOrder>(entity => |
| | | { |
| | | entity.ToTable("order_banci_order"); |
| | | |
| | | entity.Property(e => e.Id).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.BanciId) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("banci_id"); |
| | | |
| | | entity.Property(e => e.Baomingrenshu).HasColumnName("baomingrenshu"); |
| | | |
| | | entity.Property(e => e.Baomingtime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("baomingtime"); |
| | | |
| | | entity.Property(e => e.Creater) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | | .HasColumnName("creater") |
| | | .HasDefaultValueSql("('1')"); |
| | | |
| | | entity.Property(e => e.Createtime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("createtime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.Jine) |
| | | .HasColumnType("money") |
| | | .HasColumnName("jine"); |
| | | |
| | | entity.Property(e => e.Kechengleixing) |
| | | .HasMaxLength(100) |
| | | .HasColumnName("kechengleixing"); |
| | | |
| | | entity.Property(e => e.KechengleixingId) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("kechengleixing_id"); |
| | | |
| | | entity.Property(e => e.Lianxidianhua) |
| | | .HasMaxLength(100) |
| | | .HasColumnName("lianxidianhua"); |
| | | |
| | | entity.Property(e => e.Modifier) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | | .HasColumnName("modifier") |
| | | .HasDefaultValueSql("('1')"); |
| | | |
| | | entity.Property(e => e.Modifytime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("modifytime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.Peixunbanci) |
| | | .HasMaxLength(100) |
| | | .HasColumnName("peixunbanci"); |
| | | |
| | | entity.Property(e => e.PersonId) |
| | | .HasMaxLength(100) |
| | | .HasColumnName("person_id"); |
| | | |
| | | entity.Property(e => e.RecStatus) |
| | | .IsRequired() |
| | | .HasMaxLength(1) |
| | | .HasColumnName("rec_status") |
| | | .HasDefaultValueSql("('A')"); |
| | | |
| | | entity.Property(e => e.Shenfenzheng) |
| | | .HasMaxLength(100) |
| | | .HasColumnName("shenfenzheng"); |
| | | |
| | | entity.Property(e => e.Xingming) |
| | | .HasMaxLength(100) |
| | | .HasColumnName("xingming"); |
| | | |
| | | entity.Property(e => e.Xuefei) |
| | | .HasColumnType("money") |
| | | .HasColumnName("xuefei"); |
| | | }); |
| | | |
| | | modelBuilder.Entity<PltAuth>(entity => |
| | | { |
| | | entity.ToTable("plt_auth"); |