| | |
| | | |
| | | b.HasIndex("EnterpriseId"); |
| | | |
| | | b.ToTable("ContractTemplate"); |
| | | b.ToTable("ContractTemplate", (string)null); |
| | | }); |
| | | |
| | | 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.HasIndex("TemplateId"); |
| | | |
| | | b.ToTable("ContractTemplateValue"); |
| | | b.ToTable("ContractTemplateValue", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Department", b => |
| | |
| | | |
| | | b.HasIndex("ParentId"); |
| | | |
| | | b.ToTable("Department"); |
| | | b.ToTable("Department", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.DictionaryCategory", b => |
| | |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("DictionaryCategory"); |
| | | b.ToTable("DictionaryCategory", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.DictionaryData", b => |
| | |
| | | |
| | | b.HasIndex("ParentId"); |
| | | |
| | | b.ToTable("DictionaryData"); |
| | | b.ToTable("DictionaryData", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.ElectronSignSetting", b => |
| | |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("ElectronSignSetting"); |
| | | b.ToTable("ElectronSignSetting", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Enterprise", b => |
| | |
| | | |
| | | b.HasIndex("ProvinceCode"); |
| | | |
| | | b.ToTable("Enterprise"); |
| | | b.ToTable("Enterprise", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseAuth", b => |
| | |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("EnterpriseAuth"); |
| | | b.ToTable("EnterpriseAuth", (string)null); |
| | | }); |
| | | |
| | | 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", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseElectronSignSetting", b => |
| | |
| | | |
| | | b.HasIndex("EnterpriseId"); |
| | | |
| | | b.ToTable("EnterpriseElectronSignSetting"); |
| | | b.ToTable("EnterpriseElectronSignSetting", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseEmployee", b => |
| | |
| | | .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>("EnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("EnterpriseSignContractErrorMessage") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int?>("EnterpriseSignContractStatus") |
| | | .HasColumnType("int"); |
| | |
| | | b.Property<Guid?>("UserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("UserSignContractErrorMessage") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int?>("UserSignContractStatus") |
| | | .HasColumnType("int"); |
| | | |
| | |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("ContractTemplateId"); |
| | | |
| | | b.HasIndex("EnterpriseId"); |
| | | |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("EnterpriseEmployee"); |
| | | b.ToTable("EnterpriseEmployee", (string)null); |
| | | }); |
| | | |
| | | 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", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseUserCollect", b => |
| | |
| | | |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("EnterpriseUserCollect"); |
| | | b.ToTable("EnterpriseUserCollect", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseWallet", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("Access") |
| | | .HasColumnType("int"); |
| | | |
| | | 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<DateTime?>("InvalidTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | 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", (string)null); |
| | | }); |
| | | |
| | | 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", (string)null); |
| | | }); |
| | | |
| | | 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", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletTransaction", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | 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<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>("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<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("WalletId"); |
| | | |
| | | b.ToTable("EnterpriseWalletTransaction", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Menu", b => |
| | |
| | | |
| | | b.HasIndex("ParentId"); |
| | | |
| | | b.ToTable("Menu"); |
| | | b.ToTable("Menu", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Resource", b => |
| | |
| | | b.Property<bool>("IsExpired") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsFromForm") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int>("Method") |
| | | .HasColumnType("int"); |
| | | |
| | |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("Resource"); |
| | | b.ToTable("Resource", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Role", b => |
| | |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("Role"); |
| | | b.ToTable("Role", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.RoleMenu", b => |
| | |
| | | |
| | | b.HasIndex("RoleId"); |
| | | |
| | | b.ToTable("RoleMenu"); |
| | | b.ToTable("RoleMenu", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.RoleResource", b => |
| | |
| | | |
| | | b.HasIndex("RoleId"); |
| | | |
| | | b.ToTable("RoleResource"); |
| | | b.ToTable("RoleResource", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.ScheduleJobDetail", b => |
| | |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("ScheduleJobDetail"); |
| | | b.ToTable("ScheduleJobDetail", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.ScheduleJobTrigger", b => |
| | |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("ScheduleJobTrigger"); |
| | | b.ToTable("ScheduleJobTrigger", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfo", b => |
| | |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<decimal?>("ActualSettlementAmount") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<string>("AddressDetail") |
| | | .HasColumnType("nvarchar(max)"); |
| | |
| | | b.Property<decimal>("ServiceFee") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<decimal?>("SettlementAmount") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<int>("SettlementCycle") |
| | | .HasColumnType("int"); |
| | | |
| | | 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") |
| | | .HasColumnType("int"); |
| | |
| | | |
| | | b.HasIndex("ProvinceCode"); |
| | | |
| | | b.ToTable("TaskInfo"); |
| | | b.ToTable("TaskInfo", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoBenefit", b => |
| | |
| | | |
| | | b.HasIndex("TaskInfoId"); |
| | | |
| | | b.ToTable("TaskInfoBenefit"); |
| | | b.ToTable("TaskInfoBenefit", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoCredentialLimit", b => |
| | |
| | | |
| | | b.HasIndex("TypeCode"); |
| | | |
| | | b.ToTable("TaskInfoCredentialLimit"); |
| | | b.ToTable("TaskInfoCredentialLimit", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoUser", b => |
| | |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<decimal?>("ActualSettlementAmount") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<int?>("ArrangeStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("ArrangeTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<string>("Bank") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("BankBranch") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int?>("CheckReceiveStatus") |
| | | .HasColumnType("int"); |
| | |
| | | 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.HasIndex("TaskInfoId"); |
| | | |
| | | b.ToTable("TaskInfoUser"); |
| | | b.ToTable("TaskInfoUser", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmit", b => |
| | |
| | | |
| | | b.HasIndex("TaskInfoUserId"); |
| | | |
| | | b.ToTable("TaskInfoUserSubmit"); |
| | | b.ToTable("TaskInfoUserSubmit", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmitFile", b => |
| | |
| | | |
| | | b.HasIndex("SubmitId"); |
| | | |
| | | b.ToTable("TaskInfoUserSubmitFile"); |
| | | b.ToTable("TaskInfoUserSubmitFile", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskUserCollect", b => |
| | |
| | | |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("TaskUserCollect"); |
| | | b.ToTable("TaskUserCollect", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.User", b => |
| | |
| | | |
| | | b.HasIndex("ProvinceCode"); |
| | | |
| | | b.ToTable("User"); |
| | | b.ToTable("User", (string)null); |
| | | |
| | | b.HasData( |
| | | new |
| | |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("UserAuth"); |
| | | b.ToTable("UserAuth", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserBankCard", b => |
| | |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | 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)"); |
| | | |
| | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Identity") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("Name") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("PhoneNumber") |
| | | .IsRequired() |
| | | .HasMaxLength(11) |
| | | .HasColumnType("nvarchar(11)"); |
| | | |
| | |
| | | |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("UserBankCard"); |
| | | b.ToTable("UserBankCard", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserCredential", b => |
| | |
| | | |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("UserCredential"); |
| | | b.ToTable("UserCredential", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserDepartment", b => |
| | |
| | | |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("UserDepartment"); |
| | | b.ToTable("UserDepartment", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserExpectJob", b => |
| | |
| | | |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("UserExpectJob"); |
| | | b.ToTable("UserExpectJob", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserManageIndustrialPark", b => |
| | |
| | | |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("UserManageIndustrialPark"); |
| | | b.ToTable("UserManageIndustrialPark", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserPhoto", b => |
| | |
| | | |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("UserPhoto"); |
| | | b.ToTable("UserPhoto", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserRole", b => |
| | |
| | | |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("UserRole"); |
| | | b.ToTable("UserRole", (string)null); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.ContractTemplate", 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") |
| | |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseEmployee", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.ContractTemplate", "ContractTemplate") |
| | | .WithMany() |
| | | .HasForeignKey("ContractTemplateId"); |
| | | |
| | | b.HasOne("FlexJobApi.Core.Enterprise", "Enterprise") |
| | | .WithMany() |
| | | .HasForeignKey("EnterpriseId") |
| | |
| | | .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.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.EnterpriseWallet", "Wallet") |
| | | .WithMany() |
| | | .HasForeignKey("WalletId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("Wallet"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Menu", b => |
| | |
| | | |
| | | 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("Children"); |