| | |
| | | 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; } |
| | |
| | | .HasColumnName("remark") |
| | | .HasComment("工作内容"); |
| | | |
| | | entity.Property(e => e.Shuliang) |
| | | .HasColumnType("money") |
| | | .HasColumnName("shuliang"); |
| | | |
| | | entity.Property(e => e.UserId) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("userId") |
| | |
| | | .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) |
| | |
| | | .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) |
| | |
| | | .HasColumnName("f_tel") |
| | | .HasComment("联系电话"); |
| | | |
| | | entity.Property(e => e.HuiyuanId) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("huiyuanId") |
| | | .HasComment("会员Id"); |
| | | |
| | | entity.Property(e => e.Hyfl) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("hyfl") |
| | |
| | | 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) |
| | |
| | | .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"); |
| | |
| | | .HasColumnName("anwser"); |
| | | |
| | | entity.Property(e => e.ChushuStatus) |
| | | .HasMaxLength(1) |
| | | .HasColumnName("chushu_status") |
| | | .HasDefaultValueSql("('D')"); |
| | | .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() |
| | |
| | | .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.Weixin).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.Yaoqingma) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("yaoqingma"); |
| | | |
| | | entity.Property(e => e.Zhengzhi).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.Zhiwustatus) |
| | |
| | | .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"); |