username@email.com
2021-07-21 fc1fe356e1cb43c7654c653e8921ee9e72150f96
zhengcaioa/Model/zhengcaioaContext.cs
@@ -69,6 +69,7 @@
        public virtual DbSet<IntentionVisit> IntentionVisits { get; set; }
        public virtual DbSet<IntentionVisitDuanxin> IntentionVisitDuanxins { get; set; }
        public virtual DbSet<Liaotian> Liaotians { get; set; }
        public virtual DbSet<LiaotianShoucang> LiaotianShoucangs { get; set; }
        public virtual DbSet<LZhuanjiahuidum> LZhuanjiahuida { get; set; }
        public virtual DbSet<Oayouhui> Oayouhuis { get; set; }
        public virtual DbSet<OrderBanci> OrderBancis { get; set; }
@@ -89,6 +90,7 @@
        public virtual DbSet<SysCode> SysCodes { get; set; }
        public virtual DbSet<SysCodeDtl> SysCodeDtls { get; set; }
        public virtual DbSet<Systemsetting> Systemsettings { get; set; }
        public virtual DbSet<SysUpdatetime> SysUpdatetimes { get; set; }
        public virtual DbSet<WfApplytype> WfApplytypes { get; set; }
        public virtual DbSet<WfHistory> WfHistories { get; set; }
        public virtual DbSet<WfLog> WfLogs { get; set; }
@@ -1207,6 +1209,10 @@
                    .HasColumnName("remark")
                    .HasComment("工作内容");
                entity.Property(e => e.Shuliang)
                    .HasColumnType("money")
                    .HasColumnName("shuliang");
                entity.Property(e => e.UserId)
                    .HasMaxLength(50)
                    .HasColumnName("userId")
@@ -1295,6 +1301,14 @@
                    .HasColumnType("datetime")
                    .HasColumnName("createtime")
                    .HasDefaultValueSql("(getdate())");
                entity.Property(e => e.HuifangJdr)
                    .HasMaxLength(100)
                    .HasColumnName("huifang_jdr");
                entity.Property(e => e.HuifangKehuyijian)
                    .HasMaxLength(500)
                    .HasColumnName("huifang_kehuyijian");
                entity.Property(e => e.HuifangStatus)
                    .HasMaxLength(2)
@@ -1422,11 +1436,23 @@
                    .HasColumnName("shr_tel")
                    .HasComment("联系电话");
                entity.Property(e => e.SonghuoDanhao)
                    .HasMaxLength(100)
                    .HasColumnName("songhuo_danhao");
                entity.Property(e => e.SonghuoGongsi)
                    .HasMaxLength(100)
                    .HasColumnName("songhuo_gongsi");
                entity.Property(e => e.SonghuoStatus)
                    .HasMaxLength(2)
                    .HasColumnName("songhuo_status")
                    .HasDefaultValueSql("('D')")
                    .HasComment("送货状态");
                entity.Property(e => e.SonghuoTime1)
                    .HasColumnType("datetime")
                    .HasColumnName("songhuo_time");
                entity.Property(e => e.Songhuoer)
                    .HasMaxLength(50)
@@ -1616,6 +1642,11 @@
                    .HasColumnName("f_tel")
                    .HasComment("联系电话");
                entity.Property(e => e.HuiyuanId)
                    .HasMaxLength(50)
                    .HasColumnName("huiyuanId")
                    .HasComment("会员Id");
                entity.Property(e => e.Hyfl)
                    .HasMaxLength(50)
                    .HasColumnName("hyfl")
@@ -1720,6 +1751,14 @@
                entity.Property(e => e.Weixin)
                    .HasMaxLength(50)
                    .HasColumnName("weixin");
                entity.Property(e => e.Weixiner)
                    .HasMaxLength(50)
                    .HasColumnName("weixiner");
                entity.Property(e => e.Weixintime)
                    .HasColumnType("datetime")
                    .HasColumnName("weixintime");
                entity.Property(e => e.YwName)
                    .HasMaxLength(500)
@@ -3045,6 +3084,14 @@
                    .HasMaxLength(50)
                    .HasColumnName("weixin");
                entity.Property(e => e.Weixiner)
                    .HasMaxLength(50)
                    .HasColumnName("weixiner");
                entity.Property(e => e.Weixintime)
                    .HasColumnType("datetime")
                    .HasColumnName("weixintime");
                entity.Property(e => e.Yixiang).HasMaxLength(50);
                entity.Property(e => e.Yixiangtime).HasColumnType("datetime");
@@ -3300,9 +3347,15 @@
                    .HasMaxLength(4000)
                    .HasColumnName("anwser");
                entity.Property(e => e.ChushuStatus)
                    .HasMaxLength(1)
                    .HasColumnName("chushu_status")
                    .HasDefaultValueSql("('D')");
                entity.Property(e => e.Clientid)
                    .HasMaxLength(50)
                    .HasColumnName("clientid");
                    .HasColumnName("clientid")
                    .HasDefaultValueSql("('a')");
                entity.Property(e => e.Creater)
                    .IsRequired()
@@ -3345,9 +3398,55 @@
                    .HasColumnName("rec_status")
                    .HasDefaultValueSql("('a')");
                entity.Property(e => e.Shenheer)
                    .HasMaxLength(50)
                    .HasColumnName("shenheer");
                entity.Property(e => e.Shenhetime)
                    .HasColumnType("datetime")
                    .HasColumnName("shenhetime");
                entity.Property(e => e.Shiyongfatiao)
                    .HasMaxLength(500)
                    .HasColumnName("shiyongfatiao");
            });
            modelBuilder.Entity<LiaotianShoucang>(entity =>
            {
                entity.ToTable("Liaotian_shoucang");
                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.LiaotianId)
                    .HasMaxLength(50)
                    .HasColumnName("Liaotian_id");
                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<LZhuanjiahuidum>(entity =>
@@ -4163,6 +4262,10 @@
                entity.Property(e => e.Weixin).HasMaxLength(50);
                entity.Property(e => e.Yaoqingma)
                  .HasMaxLength(50)
                  .HasColumnName("yaoqingma");
                entity.Property(e => e.Zhengzhi).HasMaxLength(50);
                entity.Property(e => e.Zhiwustatus)
@@ -4797,6 +4900,23 @@
                    .HasColumnName("wedding_leave")
                    .HasComment("婚假天数");
            });
            modelBuilder.Entity<SysUpdatetime>(entity =>
            {
                entity.ToTable("sys_updatetime");
                entity.Property(e => e.Id).HasMaxLength(50);
                entity.Property(e => e.Updatename)
                    .IsRequired()
                    .HasMaxLength(100)
                    .HasColumnName("updatename");
                entity.Property(e => e.Updatetime)
                    .HasColumnType("datetime")
                    .HasColumnName("updatetime");
            });
            modelBuilder.Entity<WfApplytype>(entity =>
            {
                entity.ToTable("wf_applytype");