From 688b1ea208da068bfd5911eacc4d2be023219a7c Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 24 二月 2023 13:51:21 +0800 Subject: [PATCH] 1、APP和短信同时推送,没有加APP的只推短信。 2、有归属的客户就留客户经理的电话,没有归属的客户留公司400电话。 --- zhengcaioa/Model/zhengcaioaContext.cs | 93 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 93 insertions(+), 0 deletions(-) diff --git a/zhengcaioa/Model/zhengcaioaContext.cs b/zhengcaioa/Model/zhengcaioaContext.cs index 2fa3a83..ef8cb43 100644 --- a/zhengcaioa/Model/zhengcaioaContext.cs +++ b/zhengcaioa/Model/zhengcaioaContext.cs @@ -62,6 +62,8 @@ public virtual DbSet<CooperOrder> CooperOrders { get; set; } public virtual DbSet<CooperVisit> CooperVisits { get; set; } public virtual DbSet<CooperatecustomCustomer> CooperatecustomCustomers { get; set; } + public virtual DbSet<CustomerYwjl> CustomerYwjls { get; set; } + public virtual DbSet<CustomerGuanlian> CustomerGuanlians { get; set; } public virtual DbSet<CusFangwenjilu> CusFangwenjilus { get; set; } public virtual DbSet<FiAccount> FiAccounts { get; set; } public virtual DbSet<FiAccountRecord> FiAccountRecords { get; set; } @@ -104,6 +106,7 @@ public virtual DbSet<Projectreason> Projectreasons { get; set; } public virtual DbSet<Projectyouxiao> Projectyouxiaos { get; set; } public virtual DbSet<Projectzhongbiao> Projectzhongbiaos { get; set; } + public virtual DbSet<Projectfasongxiaoxi> Projectfasongxiaoxis { get; set; } public virtual DbSet<SysAttachment> SysAttachments { get; set; } public virtual DbSet<SysBaimingdan> SysBaimingdans { get; set; } public virtual DbSet<SysCode> SysCodes { get; set; } @@ -1028,6 +1031,11 @@ .HasColumnType("decimal(18, 4)") .HasColumnName("kuanggong"); + entity.Property(e => e.Daixinjia) + .HasColumnType("decimal(18, 4)") + .HasColumnName("daixinjia") + .HasDefaultValueSql("(0)"); + entity.Property(e => e.Modifier) .IsRequired() .HasMaxLength(50) @@ -1134,6 +1142,11 @@ entity.Property(e => e.Qingjia) .HasColumnType("decimal(18, 4)") .HasColumnName("qingjia"); + + entity.Property(e => e.Daixinjia) + .HasColumnType("decimal(18, 4)") + .HasColumnName("daixinjia") + .HasDefaultValueSql("(0)"); entity.Property(e => e.RecStatus) .IsRequired() @@ -2720,6 +2733,10 @@ .HasColumnType("datetime") .HasColumnName("weixintime"); + entity.Property(e => e.Ywjltime) + .HasColumnType("datetime") + .HasColumnName("ywjltime"); + entity.Property(e => e.YwName) .HasMaxLength(500) .HasColumnName("yw_name") @@ -2754,6 +2771,41 @@ entity.Property(e => e.Taocanjianshu) .HasColumnType("int") .HasColumnName("taocanjianshu"); + }); + + + modelBuilder.Entity<CustomerYwjl>(entity => + { + entity.ToTable("Customer_Ywjl"); + + entity.Property(e => e.Id).HasMaxLength(50); + + entity.Property(e => e.Createtime) + .HasColumnType("datetime") + .HasColumnName("createtime"); + + entity.Property(e => e.UserId) + .HasMaxLength(50) + .HasColumnName("userId"); + + entity.Property(e => e.YwjlId) + .HasMaxLength(50) + .HasColumnName("ywjlId"); + }); + + modelBuilder.Entity<CustomerGuanlian>(entity => + { + entity.ToTable("CustomerGuanlian"); + + entity.Property(e => e.Id).HasMaxLength(50); + + entity.Property(e => e.CustomerId).HasMaxLength(50); + + entity.Property(e => e.Customertype).HasMaxLength(50); + + entity.Property(e => e.SecCustomerId).HasMaxLength(50); + + entity.Property(e => e.SecCustomertype).HasMaxLength(50); }); modelBuilder.Entity<CusFangwenjilu>(entity => @@ -4192,6 +4244,10 @@ .HasColumnType("datetime") .HasColumnName("weixintime"); + entity.Property(e => e.Ywjltime) + .HasColumnType("datetime") + .HasColumnName("ywjltime"); + entity.Property(e => e.Yixiang).HasMaxLength(50); entity.Property(e => e.Yixiangtime).HasColumnType("datetime"); @@ -5343,6 +5399,8 @@ entity.Property(e => e.HetongDateEnd).HasColumnType("datetime"); + entity.Property(e => e.FenpeiDate).HasColumnType("datetime"); + entity.Property(e => e.ShiyongPrice).HasColumnType("numeric(18, 2)"); entity.Property(e => e.Tel) @@ -5850,6 +5908,41 @@ .HasColumnName("zb_zhiyistatus"); }); + modelBuilder.Entity<Projectfasongxiaoxi>(entity => + { + entity.ToTable("Projectfasongxiaoxi"); + + entity.Property(e => e.Id).HasMaxLength(50); + + entity.Property(e => e.Createtime) + .HasColumnType("datetime") + .HasColumnName("createtime"); + + entity.Property(e => e.ProjectId).HasMaxLength(50); + + entity.Property(e => e.ProjectmingxiId).HasMaxLength(50); + + entity.Property(e => e.RecStatus) + .HasMaxLength(1) + .HasColumnName("rec_status"); + + entity.Property(e => e.Xiaoxileixing) + .HasMaxLength(50) + .HasColumnName("xiaoxileixing"); + + entity.Property(e => e.Xiaoxizhonglei) + .HasMaxLength(50) + .HasColumnName("xiaoxizhonglei"); + + entity.Property(e => e.Gyszl) + .HasMaxLength(50) + .HasColumnName("gyszl"); + + entity.Property(e => e.Khname) + .HasMaxLength(50) + .HasColumnName("khname"); + }); + modelBuilder.Entity<SysAttachment>(entity => { entity.ToTable("sys_attachment"); -- Gitblit v1.9.1