| | |
| | | public virtual DbSet<HrJixiaoticheng> HrJixiaotichengs { get; set; } |
| | | public virtual DbSet<HrPosition> HrPositions { get; set; } |
| | | public virtual DbSet<HrSalary> HrSalaries { get; set; } |
| | | public virtual DbSet<HrShebao> HrShebaos { get; set; } |
| | | public virtual DbSet<IntentionCustomer> IntentionCustomers { get; set; } |
| | | public virtual DbSet<IntentionOrder> IntentionOrders { get; set; } |
| | | public virtual DbSet<IntentionVisit> IntentionVisits { get; set; } |
| | |
| | | .HasColumnName("yufagongziheji"); |
| | | }); |
| | | |
| | | modelBuilder.Entity<HrShebao>(entity => |
| | | { |
| | | entity.ToTable("hr_shebao"); |
| | | |
| | | 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.RecStatus) |
| | | .IsRequired() |
| | | .HasMaxLength(1) |
| | | .HasColumnName("rec_status") |
| | | .HasDefaultValueSql("('A')"); |
| | | |
| | | entity.Property(e => e.Shebaodanwei) |
| | | .HasColumnType("money") |
| | | .HasColumnName("shebaodanwei"); |
| | | |
| | | entity.Property(e => e.Shebaogeren) |
| | | .HasColumnType("money") |
| | | .HasColumnName("shebaogeren"); |
| | | }); |
| | | |
| | | modelBuilder.Entity<IntentionCustomer>(entity => |
| | | { |
| | | entity.ToTable("IntentionCustomer"); |