| | |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("Code") |
| | | .HasColumnType("nvarchar(max)"); |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<DateTime?>("CompletedTime") |
| | | .HasColumnType("datetime2"); |
| | |
| | | |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("WxmpQrCode") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | |
| | | b.ToTable("DictionaryData"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.ElectronSignSetting", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("Access") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsDisabled") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<decimal?>("MergeSignCost") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<decimal?>("RealVerifyCost") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<decimal?>("SignCost") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("ElectronSignSetting"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Enterprise", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | |
| | | b.Property<string>("MainBusiness") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<decimal?>("MergeSignCost") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<int?>("PayAccess") |
| | | .HasColumnType("int"); |
| | | |
| | |
| | | b.Property<int?>("RealAccess") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<decimal?>("RealVerifyCost") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<string>("RegisteredCapital") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<decimal?>("SignCost") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<int?>("SmsAccess") |
| | | .HasColumnType("int"); |
| | |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<string>("BankCardImg") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("CertAccount") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("EnterpriseAuth"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseElectronSignSetting", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("ElectronSignAccess") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid>("EnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("EnterpriseId"); |
| | | |
| | | b.ToTable("EnterpriseElectronSignSetting"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseEmployee", b => |
| | |
| | | b.Navigation("Enterprise"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseElectronSignSetting", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.Enterprise", "Enterprise") |
| | | .WithMany("ElectronSignSettings") |
| | | .HasForeignKey("EnterpriseId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("Enterprise"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseEmployee", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.Enterprise", "Enterprise") |
| | |
| | | |
| | | b.Navigation("Departments"); |
| | | |
| | | b.Navigation("ElectronSignSettings"); |
| | | |
| | | b.Navigation("EnterpriseAuth"); |
| | | |
| | | b.Navigation("Users"); |