| | |
| | | |
| | | SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.CodeUrl", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Code") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTime?>("ExpiredTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("ParamValue1") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ParamValue2") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ParamValue3") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ParamValue4") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ParamValue5") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Scene") |
| | | .HasColumnType("int"); |
| | | |
| | | 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.Property<string>("Url") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("CodeUrl"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.ContractTemplate", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int?>("Access") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("Code") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<DateTime?>("CompletedTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("ElectronSignContractTemplateId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("EnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("File") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsDisabled") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("Name") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<int>("Status") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TemplateEditData") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("TemplateId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("TemplateJsonData") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("WxmpQrCode") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("EnterpriseId"); |
| | | |
| | | b.ToTable("ContractTemplate"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.ContractTemplateValue", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("BindProperty") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | 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<string>("Label") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Name") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Recorder") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<bool>("Required") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid>("TemplateId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Type") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int?>("UserType") |
| | | .HasColumnType("int"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("TemplateId"); |
| | | |
| | | b.ToTable("ContractTemplateValue"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Department", b => |
| | | { |
| | | b.Property<Guid>("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") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Address") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("BankBranchName") |
| | | .HasColumnType("nvarchar(max)"); |
| | |
| | | .HasMaxLength(128) |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<string>("EnterpriseType") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("EstablishmentDate") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("IndustrialParkId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("IndustryTypeCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | |
| | | 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<decimal?>("SignCost") |
| | | .HasColumnType("decimal(18,2)"); |
| | | b.Property<string>("RegisteredCapital") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int?>("SmsAccess") |
| | | .HasColumnType("int"); |
| | |
| | | b.Property<string>("BankCardImg") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("CertAccount") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("ElectronSignEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("EnterpriseName") |
| | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("EnterpriseAuth"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseCost", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<decimal?>("Amount") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("EnterpriseEmployeeContractId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("EnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<int?>("Status") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Type") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("EnterpriseEmployeeContractId"); |
| | | |
| | | b.HasIndex("EnterpriseId"); |
| | | |
| | | b.ToTable("EnterpriseCost"); |
| | | }); |
| | | |
| | | 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.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int?>("Age") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("Birthday") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<string>("ContactPhoneNumber") |
| | | .HasMaxLength(11) |
| | | .HasColumnType("nvarchar(11)"); |
| | | |
| | | b.Property<string>("ContractCode") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("ContractTemplateId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("ContractUrl") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("EnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("EnterpriseSignContractErrorMessage") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int?>("EnterpriseSignContractStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("EnterpriseSignContractTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<int?>("Gender") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("Identity") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("IdentityBackImg") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("IdentityImg") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("Name") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | 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.Property<Guid?>("UserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("UserSignContractErrorMessage") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int?>("UserSignContractStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("UserSignContractTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("ContractTemplateId"); |
| | | |
| | | b.HasIndex("EnterpriseId"); |
| | | |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("EnterpriseEmployee"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseEmployeeContract", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("ContractCode") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("ContractTemplateId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("ContractUrl") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("EnterpriseEmployeeId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("EnterpriseSignContractErrorMessage") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int?>("EnterpriseSignContractStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("EnterpriseSignContractTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | 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.Property<string>("UserSignContractErrorMessage") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int?>("UserSignContractStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("UserSignContractTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("ContractTemplateId"); |
| | | |
| | | b.HasIndex("EnterpriseEmployeeId"); |
| | | |
| | | b.ToTable("EnterpriseEmployeeContract"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseUserCollect", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTime?>("CollectedTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<DateTime?>("ContactedTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("EnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<bool>("IsCollected") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsContacted") |
| | | .HasColumnType("bit"); |
| | | |
| | | 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.Property<Guid>("UserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("EnterpriseId"); |
| | | |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("EnterpriseUserCollect"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseWallet", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("Access") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("Account") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("AccountBookId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int?>("AccountBookStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("AgreementNo") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("AlipayLogonId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<decimal>("Balance") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<string>("BankAccName") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("CardBank") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("CardBranch") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("CardDeposit") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("CardLocation") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("CardNo") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Code") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("CreditAuthMode") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid>("EnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("ErrorCode") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("FailReason") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<decimal>("FreezeBalance") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<DateTime?>("InvalidTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("MerchantId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("PersonalProductCode") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("PricipalType") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("PrincipalId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("PrincipalOpenId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ProductCode") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("SignScene") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("SignStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("SignTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("ThirdPartyType") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTime?>("ValidTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<string>("ZmOpenId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("EnterpriseId"); |
| | | |
| | | b.ToTable("EnterpriseWallet"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletExpandindirectOrder", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("BizScene") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("BizType") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Identity") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("IdentityType") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("Name") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("OrderId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("OrderStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("OriginalOrderId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("OutBizNo") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ProductCode") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("RiskReviewRemark") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Scene") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("SceneCode") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("SceneDirections") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("SceneImage") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("SceneQualificationImage") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Sites") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("Status") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTime?>("TaskFinishTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("WalletId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("WalletId"); |
| | | |
| | | b.ToTable("EnterpriseWalletExpandindirectOrder"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletExpandindirectOrderFile", 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<string>("File") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<Guid>("OrderId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Type") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("OrderId"); |
| | | |
| | | b.ToTable("EnterpriseWalletExpandindirectOrderFile"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletTransaction", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<decimal>("AfterBalance") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<decimal>("Amount") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<DateTime?>("ArrivalTimeEnd") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<decimal>("Balance") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<string>("BizScene") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Code") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("ErrorCode") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("FailInstErrorCode") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("FailInstName") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("FailInstReason") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("FailReason") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("InflowSettleSerialNo") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("Link") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTime?>("OperatorTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<Guid?>("OperatorUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<decimal?>("OrderFee") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<string>("OrderId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("PayFundOrderId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ProductCode") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ReceiveAccount") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ReceiveName") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("ReceiveUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("ReceiverOpenId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ReceiverUserId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("SettleSerialNo") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("Status") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("SubStatus") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("TaskUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTime?>("TransDate") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<int>("TransactionStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<int>("Type") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("WalletId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("OperatorUserId"); |
| | | |
| | | b.HasIndex("ReceiveUserId"); |
| | | |
| | | b.HasIndex("TaskUserId"); |
| | | |
| | | b.HasIndex("WalletId"); |
| | | |
| | | b.ToTable("EnterpriseWalletTransaction"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Menu", b => |
| | |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Controller") |
| | | .HasColumnType("int"); |
| | | b.Property<string>("ControllerName") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ControllerSummary") |
| | | .HasColumnType("nvarchar(max)"); |
| | |
| | | b.Property<string>("DynamicAssemblyName") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("FileUpload") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsExpired") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsFromForm") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int>("Method") |
| | |
| | | |
| | | b.Property<string>("RouteArea") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Service") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("ServiceName") |
| | | .HasColumnType("nvarchar(max)"); |
| | |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<decimal?>("ActualSettlementAmount") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<string>("AddressDetail") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | |
| | | |
| | | b.Property<int?>("CheckReceiveStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("CheckReceiveTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<string>("CityCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<DateTime?>("LastCheckReceiveTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<DateTime?>("LastSubmitTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<decimal?>("Latitude") |
| | | .HasColumnType("decimal(18,6)"); |
| | | |
| | |
| | | b.Property<int>("RecommendStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("RecommendTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<int>("ReleaseStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<decimal>("ServiceFee") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<decimal?>("SettlementAmount") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<int>("SettlementCycle") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid?>("SettlementOperatorUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("SettlementOrderName") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int?>("SettlementOrderStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("SettlementOrderTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<string>("SettlementOrderUrl") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("SettlementRemark") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTime?>("SettlementStartTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<int?>("SettlementStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("SettlementTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<int>("SettlementUserCount") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<int>("Sort") |
| | |
| | | b.HasIndex("EnterpriseId"); |
| | | |
| | | b.HasIndex("ProvinceCode"); |
| | | |
| | | b.HasIndex("SettlementOperatorUserId"); |
| | | |
| | | b.ToTable("TaskInfo"); |
| | | }); |
| | |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<decimal>("ActualAmount") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<decimal?>("ActualSettlementAmount") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<int?>("ArrangeStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("ArrangeTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<string>("ContractUrl") |
| | | b.Property<string>("Bank") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("BankBranch") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int?>("CheckReceiveStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("CheckReceiveTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int?>("EnterpriseSignContractStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("EnterpriseSignContractTime") |
| | | .HasColumnType("datetime2"); |
| | | b.Property<Guid>("EnterpriseEmployeeId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("HireStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("HireTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<DateTime?>("LastCheckReceiveTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<DateTime?>("LastSubmitTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<string>("ReceiveAccount") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ReceiveName") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<decimal?>("SettlementAmount") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<string>("SettlementRemark") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int?>("SettlementStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("SettlementTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid>("TaskInfoId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("EnterpriseEmployeeId"); |
| | | |
| | | b.HasIndex("TaskInfoId"); |
| | | |
| | | b.ToTable("TaskInfoUser"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmit", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("CheckReceiveStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("CheckReceiveTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTime>("Date") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid>("TaskInfoUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("TaskInfoUserId"); |
| | | |
| | | b.ToTable("TaskInfoUserSubmit"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmitFile", 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<string>("File") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid>("SubmitId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("SubmitId"); |
| | | |
| | | b.ToTable("TaskInfoUserSubmitFile"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskUserCollect", 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<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | |
| | | b.Property<Guid>("UserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int?>("UserSignContractStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("UserSignContractTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("TaskInfoId"); |
| | | |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("TaskInfoUser"); |
| | | b.ToTable("TaskUserCollect"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.User", b => |
| | |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int?>("DataSource") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid?>("DataSourceId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("EducationalBackgroundCode") |
| | |
| | | |
| | | b.Property<string>("ProvinceCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<int?>("RealAccess") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<int?>("RealMethod") |
| | | .HasColumnType("int"); |
| | |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int?>("Age") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("BankCard") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<string>("BankCardImg") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTime?>("Birthday") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("ElectronSignUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("FaceRealUrl") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int?>("Gender") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("Identity") |
| | | .HasColumnType("nvarchar(max)"); |
| | |
| | | b.Property<string>("PhoneNumber") |
| | | .HasMaxLength(11) |
| | | .HasColumnType("nvarchar(11)"); |
| | | |
| | | b.Property<int?>("RealAccess") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("RealFailMessage") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("RealStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("Access") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("Bank") |
| | | .IsRequired() |
| | | .HasMaxLength(128) |
| | | .HasColumnType("nvarchar(128)"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("BankBranch") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Code") |
| | | .IsRequired() |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("PhoneNumber") |
| | | .IsRequired() |
| | | .HasMaxLength(11) |
| | | .HasColumnType("nvarchar(11)"); |
| | | |
| | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTime>("EndDate") |
| | | b.Property<DateTime?>("EndDate") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<string>("Img") |
| | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime>("StartDate") |
| | | b.Property<DateTime?>("StartDate") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<string>("TraceId") |
| | |
| | | b.ToTable("UserExpectJob"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserManageIndustrialPark", 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<Guid>("IndustrialParkId") |
| | | .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.Property<Guid>("UserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("UserManageIndustrialPark"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserPhoto", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | |
| | | b.ToTable("UserRole"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserTaskCollect", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.UserWallet", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<decimal>("Balance") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid>("TaskInfoId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("TaskInfoId"); |
| | | |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("UserTaskCollect"); |
| | | b.ToTable("UserWallet"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserWalletTransaction", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<decimal>("ActualAmount") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<decimal>("AfterBalance") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<decimal>("Amount") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<decimal>("Balance") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<string>("Code") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("EnterpriseName") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("EnterpriseWalletTransactionId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<DateTime?>("OperatorTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<Guid?>("OperatorUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("ReceiveAccount") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ReceiveName") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<decimal>("ServiceFee") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<decimal?>("SettlementAmount") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<DateTime?>("SettlementTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid?>("TaskUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Title") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTime?>("TransDate") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<int>("TransactionStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<int>("Type") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("WalletId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("EnterpriseWalletTransactionId"); |
| | | |
| | | b.HasIndex("OperatorUserId"); |
| | | |
| | | b.HasIndex("TaskUserId"); |
| | | |
| | | b.HasIndex("WalletId"); |
| | | |
| | | b.ToTable("UserWalletTransaction"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.ContractTemplate", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.Enterprise", "Enterprise") |
| | | .WithMany("ContractTemplates") |
| | | .HasForeignKey("EnterpriseId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("Enterprise"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.ContractTemplateValue", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.ContractTemplate", "Template") |
| | | .WithMany("Values") |
| | | .HasForeignKey("TemplateId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("Template"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Department", b => |
| | |
| | | b.Navigation("Enterprise"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseCost", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.EnterpriseEmployeeContract", "EnterpriseEmployeeContract") |
| | | .WithMany() |
| | | .HasForeignKey("EnterpriseEmployeeContractId"); |
| | | |
| | | b.HasOne("FlexJobApi.Core.Enterprise", "Enterprise") |
| | | .WithMany() |
| | | .HasForeignKey("EnterpriseId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("Enterprise"); |
| | | |
| | | b.Navigation("EnterpriseEmployeeContract"); |
| | | }); |
| | | |
| | | 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.ContractTemplate", "ContractTemplate") |
| | | .WithMany() |
| | | .HasForeignKey("ContractTemplateId"); |
| | | |
| | | b.HasOne("FlexJobApi.Core.Enterprise", "Enterprise") |
| | | .WithMany() |
| | | .HasForeignKey("EnterpriseId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.HasOne("FlexJobApi.Core.User", "User") |
| | | .WithMany("EnterpriseEmployees") |
| | | .HasForeignKey("UserId"); |
| | | |
| | | b.Navigation("ContractTemplate"); |
| | | |
| | | b.Navigation("Enterprise"); |
| | | |
| | | b.Navigation("User"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseEmployeeContract", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.ContractTemplate", "ContractTemplate") |
| | | .WithMany() |
| | | .HasForeignKey("ContractTemplateId"); |
| | | |
| | | b.HasOne("FlexJobApi.Core.EnterpriseEmployee", "EnterpriseEmployee") |
| | | .WithMany("Contracts") |
| | | .HasForeignKey("EnterpriseEmployeeId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("ContractTemplate"); |
| | | |
| | | b.Navigation("EnterpriseEmployee"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseUserCollect", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.Enterprise", "Enterprise") |
| | | .WithMany() |
| | | .HasForeignKey("EnterpriseId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.HasOne("FlexJobApi.Core.User", "User") |
| | | .WithMany("EnterpriseUserCollects") |
| | | .HasForeignKey("UserId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("Enterprise"); |
| | | |
| | | b.Navigation("User"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseWallet", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.Enterprise", "Enterprise") |
| | | .WithMany() |
| | | .HasForeignKey("EnterpriseId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("Enterprise"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletExpandindirectOrder", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.EnterpriseWallet", "Wallet") |
| | | .WithMany() |
| | | .HasForeignKey("WalletId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("Wallet"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletExpandindirectOrderFile", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.EnterpriseWalletExpandindirectOrder", "Order") |
| | | .WithMany("Files") |
| | | .HasForeignKey("OrderId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("Order"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletTransaction", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.User", "OperatorUser") |
| | | .WithMany() |
| | | .HasForeignKey("OperatorUserId"); |
| | | |
| | | b.HasOne("FlexJobApi.Core.User", "ReceiveUser") |
| | | .WithMany() |
| | | .HasForeignKey("ReceiveUserId"); |
| | | |
| | | b.HasOne("FlexJobApi.Core.TaskInfoUser", "TaskUser") |
| | | .WithMany() |
| | | .HasForeignKey("TaskUserId"); |
| | | |
| | | b.HasOne("FlexJobApi.Core.EnterpriseWallet", "Wallet") |
| | | .WithMany() |
| | | .HasForeignKey("WalletId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("OperatorUser"); |
| | | |
| | | b.Navigation("ReceiveUser"); |
| | | |
| | | b.Navigation("TaskUser"); |
| | | |
| | | b.Navigation("Wallet"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Menu", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.Menu", "Parent") |
| | |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict); |
| | | |
| | | b.HasOne("FlexJobApi.Core.User", "SettlementOperatorUser") |
| | | .WithMany() |
| | | .HasForeignKey("SettlementOperatorUserId"); |
| | | |
| | | b.Navigation("City"); |
| | | |
| | | b.Navigation("Enterprise"); |
| | | |
| | | b.Navigation("Province"); |
| | | |
| | | b.Navigation("SettlementOperatorUser"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoBenefit", b => |
| | |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoUser", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.EnterpriseEmployee", "EnterpriseEmployee") |
| | | .WithMany("TaskInfoUsers") |
| | | .HasForeignKey("EnterpriseEmployeeId") |
| | | .OnDelete(DeleteBehavior.Restrict) |
| | | .IsRequired(); |
| | | |
| | | b.HasOne("FlexJobApi.Core.TaskInfo", "TaskInfo") |
| | | .WithMany("TaskInfoUsers") |
| | | .HasForeignKey("TaskInfoId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("EnterpriseEmployee"); |
| | | |
| | | b.Navigation("TaskInfo"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmit", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.TaskInfoUser", "TaskInfoUser") |
| | | .WithMany("Submits") |
| | | .HasForeignKey("TaskInfoUserId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("TaskInfoUser"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmitFile", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.TaskInfoUserSubmit", "Submit") |
| | | .WithMany("Files") |
| | | .HasForeignKey("SubmitId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("Submit"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskUserCollect", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.TaskInfo", "TaskInfo") |
| | | .WithMany("TaskUserCollects") |
| | | .HasForeignKey("TaskInfoId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.HasOne("FlexJobApi.Core.User", "User") |
| | | .WithMany("TaskInfoUsers") |
| | | .WithMany() |
| | | .HasForeignKey("UserId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | |
| | | b.Navigation("User"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserManageIndustrialPark", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.User", "User") |
| | | .WithMany("UserManageIndustrialParks") |
| | | .HasForeignKey("UserId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("User"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserPhoto", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.User", "User") |
| | |
| | | b.Navigation("User"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserTaskCollect", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.UserWallet", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.TaskInfo", "TaskInfo") |
| | | .WithMany() |
| | | .HasForeignKey("TaskInfoId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.HasOne("FlexJobApi.Core.User", "User") |
| | | .WithMany() |
| | | .HasForeignKey("UserId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("TaskInfo"); |
| | | |
| | | b.Navigation("User"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserWalletTransaction", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.EnterpriseWalletTransaction", "EnterpriseWalletTransaction") |
| | | .WithMany() |
| | | .HasForeignKey("EnterpriseWalletTransactionId"); |
| | | |
| | | b.HasOne("FlexJobApi.Core.User", "OperatorUser") |
| | | .WithMany() |
| | | .HasForeignKey("OperatorUserId"); |
| | | |
| | | b.HasOne("FlexJobApi.Core.TaskInfoUser", "TaskUser") |
| | | .WithMany() |
| | | .HasForeignKey("TaskUserId"); |
| | | |
| | | b.HasOne("FlexJobApi.Core.UserWallet", "Wallet") |
| | | .WithMany() |
| | | .HasForeignKey("WalletId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("EnterpriseWalletTransaction"); |
| | | |
| | | b.Navigation("OperatorUser"); |
| | | |
| | | b.Navigation("TaskUser"); |
| | | |
| | | b.Navigation("Wallet"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.ContractTemplate", b => |
| | | { |
| | | b.Navigation("Values"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Department", b => |
| | |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Enterprise", b => |
| | | { |
| | | b.Navigation("ContractTemplates"); |
| | | |
| | | b.Navigation("Departments"); |
| | | |
| | | b.Navigation("ElectronSignSettings"); |
| | | |
| | | b.Navigation("EnterpriseAuth"); |
| | | |
| | | b.Navigation("Users"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseEmployee", b => |
| | | { |
| | | b.Navigation("Contracts"); |
| | | |
| | | b.Navigation("TaskInfoUsers"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletExpandindirectOrder", b => |
| | | { |
| | | b.Navigation("Files"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Menu", b => |
| | |
| | | b.Navigation("CredentialLimits"); |
| | | |
| | | b.Navigation("TaskInfoUsers"); |
| | | |
| | | b.Navigation("TaskUserCollects"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoUser", b => |
| | | { |
| | | b.Navigation("Submits"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmit", b => |
| | | { |
| | | b.Navigation("Files"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.User", b => |
| | | { |
| | | b.Navigation("BankCards"); |
| | | |
| | | b.Navigation("Photos"); |
| | | b.Navigation("EnterpriseEmployees"); |
| | | |
| | | b.Navigation("TaskInfoUsers"); |
| | | b.Navigation("EnterpriseUserCollects"); |
| | | |
| | | b.Navigation("Photos"); |
| | | |
| | | b.Navigation("UserAuth"); |
| | | |
| | |
| | | |
| | | b.Navigation("UserExpectJobs"); |
| | | |
| | | b.Navigation("UserManageIndustrialParks"); |
| | | |
| | | b.Navigation("UserRoles"); |
| | | }); |
| | | #pragma warning restore 612, 618 |