| | |
| | | |
| | | SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); |
| | | |
| | | 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") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("EnterpriseId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("企业Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsDisabled") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否禁用"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("Name") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("名称"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("ParentId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("上级Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Path") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("部门路径"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("备注"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | |
| | | |
| | | b.HasIndex("ParentId"); |
| | | |
| | | b.ToTable("Department", t => |
| | | { |
| | | t.HasComment("部门"); |
| | | }); |
| | | b.ToTable("Department"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.DictionaryCategory", b => |
| | |
| | | b.Property<string>("Code") |
| | | .IsRequired() |
| | | .HasMaxLength(128) |
| | | .HasColumnType("nvarchar(128)") |
| | | .HasComment("编号"); |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("FieldNames") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("字段名(逗号隔开)"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("Name") |
| | | .IsRequired() |
| | | .HasMaxLength(128) |
| | | .HasColumnType("nvarchar(128)") |
| | | .HasComment("名称"); |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("DictionaryCategory", t => |
| | | { |
| | | t.HasComment("字典类别"); |
| | | }); |
| | | b.ToTable("DictionaryCategory"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.DictionaryData", b => |
| | |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("CategoryId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("类别Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Code") |
| | | .IsRequired() |
| | | .HasMaxLength(128) |
| | | .HasColumnType("nvarchar(128)") |
| | | .HasComment("编号"); |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<string>("Content") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("显示内容"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("Deep") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("Field1") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("字段1"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Field2") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("字段2"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Field3") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("字段3"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Field4") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("字段4"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Field5") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("字段5"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsDisabled") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<Guid?>("ParentId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("上级Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Path") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("字典路径"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("CategoryId"); |
| | | |
| | | b.HasIndex("Code") |
| | | .IsUnique(); |
| | | |
| | | b.HasIndex("ParentId"); |
| | | |
| | | b.ToTable("DictionaryData", t => |
| | | { |
| | | t.HasComment("字典数据"); |
| | | }); |
| | | 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 => |
| | |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Address") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("BankBranchName") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("BankCard") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("法人或经办人银行卡号"); |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<Guid?>("BankCardImgId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("法人或经办人银行卡照片Id"); |
| | | b.Property<string>("BankName") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("CityCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<string>("ContactEmail") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ContactPhoneNumber") |
| | | .HasMaxLength(11) |
| | | .HasColumnType("nvarchar(11)"); |
| | | |
| | | b.Property<string>("Contacts") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("EnterpriseName") |
| | | .IsRequired() |
| | | .HasMaxLength(128) |
| | | .HasColumnType("nvarchar(128)") |
| | | .HasComment("企业全称"); |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<int?>("EnterpriseRealMethod") |
| | | .HasColumnType("int") |
| | | .HasComment("企业认证方式"); |
| | | b.Property<string>("EnterpriseType") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Identity") |
| | | .HasMaxLength(18) |
| | | .HasColumnType("nvarchar(18)") |
| | | .HasComment("法人或经办人身份证号"); |
| | | b.Property<string>("EstablishmentDate") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("IdentityBackImgId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("法人或经办人身份证国徽面Id"); |
| | | b.Property<Guid?>("IndustrialParkId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("IdentityImgId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("法人或经办人身份证人像面Id"); |
| | | b.Property<string>("IndustryTypeCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<bool>("IsCheckedBankCard") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsReal") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否实名"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("LegalIdentity") |
| | | .HasMaxLength(18) |
| | | .HasColumnType("nvarchar(18)"); |
| | | |
| | | b.Property<string>("LegalPerson") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("法人姓名"); |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<Guid?>("LicenseImageId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("营业执照照片Id"); |
| | | b.Property<string>("LicenseImage") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Name") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("法人或经办人姓名"); |
| | | b.Property<string>("MainBusiness") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int?>("PersonalRealMethod") |
| | | .HasColumnType("int") |
| | | .HasComment("法人或经办人实名方式"); |
| | | b.Property<int?>("PayAccess") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("PhoneNumber") |
| | | .HasMaxLength(11) |
| | | .HasColumnType("nvarchar(11)") |
| | | .HasComment("法人或经办人手机号"); |
| | | |
| | | b.Property<bool?>("Proxy") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否委托经办人"); |
| | | |
| | | b.Property<string>("ProxyPowerAttorneyUrl") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("企业授权书"); |
| | | b.Property<string>("ProvinceCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<int?>("RealAccess") |
| | | .HasColumnType("int") |
| | | .HasComment("实名通道"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("RegisteredCapital") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int?>("SmsAccess") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<decimal>("SmsCost") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<string>("SocietyCreditCode") |
| | | .IsRequired() |
| | | .HasMaxLength(18) |
| | | .HasColumnType("nvarchar(18)") |
| | | .HasComment("统一社会信用代码"); |
| | | .HasColumnType("nvarchar(18)"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("IdentityBackImgId"); |
| | | b.HasIndex("CityCode"); |
| | | |
| | | b.HasIndex("IdentityImgId"); |
| | | b.HasIndex("IndustryTypeCode"); |
| | | |
| | | b.HasIndex("LicenseImageId"); |
| | | b.HasIndex("ProvinceCode"); |
| | | |
| | | b.ToTable("Enterprise", t => |
| | | { |
| | | t.HasComment("企业"); |
| | | }); |
| | | b.ToTable("Enterprise"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.FileStore", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseAuth", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("AbsolutePath") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("绝对路径"); |
| | | b.Property<string>("BankCard") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<int>("Access") |
| | | .HasColumnType("int") |
| | | .HasComment("通道"); |
| | | b.Property<string>("BankCardImg") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ContentType") |
| | | b.Property<string>("CertAccount") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("ElectronSignEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("EnterpriseName") |
| | | .IsRequired() |
| | | .HasMaxLength(128) |
| | | .HasColumnType("nvarchar(128)") |
| | | .HasComment("内容类型"); |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | b.Property<int?>("EnterpriseRealMethod") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<string>("Identity") |
| | | .HasMaxLength(18) |
| | | .HasColumnType("nvarchar(18)"); |
| | | |
| | | b.Property<string>("Extension") |
| | | .IsRequired() |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("扩展名"); |
| | | b.Property<string>("IdentityBackImg") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("FileType") |
| | | .HasColumnType("int") |
| | | .HasComment("文件类型"); |
| | | |
| | | b.Property<string>("Hash") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("哈希"); |
| | | |
| | | b.Property<int?>("ImageHeight") |
| | | .HasColumnType("int") |
| | | .HasComment("高度(像素)"); |
| | | |
| | | b.Property<int?>("ImageWidth") |
| | | .HasColumnType("int") |
| | | .HasComment("宽度(像素)"); |
| | | b.Property<string>("IdentityImg") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<long>("Length") |
| | | .HasColumnType("bigint") |
| | | .HasComment("文件大小(字节)"); |
| | | b.Property<string>("LegalIdentity") |
| | | .HasMaxLength(18) |
| | | .HasColumnType("nvarchar(18)"); |
| | | |
| | | b.Property<string>("LegalPerson") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<string>("LicenseImage") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Name") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("名称"); |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<string>("RelativePath") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("相对路径"); |
| | | b.Property<int?>("PersonalRealMethod") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("PhoneNumber") |
| | | .HasMaxLength(11) |
| | | .HasColumnType("nvarchar(11)"); |
| | | |
| | | b.Property<bool?>("Proxy") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("ProxyPowerAttorneyUrl") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("SocietyCreditCode") |
| | | .IsRequired() |
| | | .HasMaxLength(18) |
| | | .HasColumnType("nvarchar(18)"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("FileStore", t => |
| | | { |
| | | t.HasComment("文件存储"); |
| | | }); |
| | | b.ToTable("EnterpriseAuth"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.FileVirtualPath", b => |
| | | 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?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("EnterpriseEmployeeContractId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("EnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | |
| | | b.Property<string>("Name") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("名称"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid>("StoreId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("文件存储Id"); |
| | | b.Property<int?>("Status") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Type") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | |
| | | b.Property<string>("VirtualPath") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("虚拟路径"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("StoreId"); |
| | | b.HasIndex("EnterpriseEmployeeContractId"); |
| | | |
| | | b.ToTable("FileVirtualPath", t => |
| | | { |
| | | t.HasComment("文件虚拟路径"); |
| | | }); |
| | | 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<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>("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"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Menu", b => |
| | |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("ClientType") |
| | | .HasColumnType("int") |
| | | .HasComment("客户端类型"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("Code") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("编号"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Group") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("分组名称(用于按钮/字段)"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Icon") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("图标"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IsCache") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否缓存"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsDisabled") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否禁用"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("Location") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("位置(用于按钮)"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Name") |
| | | .IsRequired() |
| | | .HasMaxLength(128) |
| | | .HasColumnType("nvarchar(128)") |
| | | .HasComment("名称"); |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<Guid?>("ParentId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("上级Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Path") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("菜单路径"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("备注"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Type") |
| | | .HasColumnType("int") |
| | | .HasComment("类型"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Url") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("链接地址"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("UserType") |
| | | .HasColumnType("int") |
| | | .HasComment("用户类型"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<int>("VisitLevel") |
| | | .HasColumnType("int") |
| | | .HasComment("访问级别"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("Width") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("列宽(用于按钮/列/元素)"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("ParentId"); |
| | | |
| | | b.ToTable("Menu", t => |
| | | { |
| | | t.HasComment("菜单"); |
| | | }); |
| | | b.ToTable("Menu"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Resource", b => |
| | |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("ActionName") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("委托名称"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ActionSummary") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("AllowAnonymous") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("ApplicationName") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Code") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("编号"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Controller") |
| | | .HasColumnType("int") |
| | | .HasComment("控制器"); |
| | | b.Property<string>("ControllerName") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ControllerSummary") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("DynamicAssemblyName") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("FileUpload") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsExpired") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否已过期"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsFromForm") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int>("Method") |
| | | .HasColumnType("int") |
| | | .HasComment("请求方式"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("Name") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("名称"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("RequestTypeFullName") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("请求类型全名"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("RequestTypeName") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("请求类型名称"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ResponseTypeFullName") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("响应类型全名"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ResponseTypeName") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("响应类型名称"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Route") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("路由"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("RouteArea") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ServiceName") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("Resource", t => |
| | | { |
| | | t.HasComment("资源"); |
| | | }); |
| | | b.ToTable("Resource"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Role", b => |
| | |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("ClientType") |
| | | .HasColumnType("int") |
| | | .HasComment("客户端类型"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("DataPower") |
| | | .HasColumnType("int") |
| | | .HasComment("数据权限"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsDisabled") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int>("MinLevel") |
| | | .HasColumnType("int") |
| | | .HasComment("最低级别"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("Name") |
| | | .IsRequired() |
| | | .HasMaxLength(128) |
| | | .HasColumnType("nvarchar(128)") |
| | | .HasComment("名称"); |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("备注"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("UserType") |
| | | .HasColumnType("int") |
| | | .HasComment("用户类型"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("Role", t => |
| | | { |
| | | t.HasComment("角色"); |
| | | }); |
| | | b.ToTable("Role"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.RoleMenu", b => |
| | |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<Guid>("MenuId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("菜单Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("RoleId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("角色Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | |
| | | |
| | | b.HasIndex("RoleId"); |
| | | |
| | | b.ToTable("RoleMenu", t => |
| | | { |
| | | t.HasComment("角色菜单"); |
| | | }); |
| | | b.ToTable("RoleMenu"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.RoleResource", b => |
| | |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("DataPower") |
| | | .HasColumnType("int") |
| | | .HasComment("数据权限"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<Guid>("ResourceId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("资源Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("RoleId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("角色Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | |
| | | |
| | | b.HasIndex("RoleId"); |
| | | |
| | | b.ToTable("RoleResource", t => |
| | | { |
| | | t.HasComment("角色资源"); |
| | | }); |
| | | b.ToTable("RoleResource"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.ScheduleJobDetail", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("AssemblyName") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("Concurrent") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Description") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("GroupName") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IncludeAnnotations") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("JobId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("JobType") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Properties") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | 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("ScheduleJobDetail"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.ScheduleJobTrigger", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Args") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("AssemblyName") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Description") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<long>("ElapsedTime") |
| | | .HasColumnType("bigint"); |
| | | |
| | | b.Property<DateTime?>("EndTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("JobId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTime?>("LastRunTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<long>("MaxNumberOfErrors") |
| | | .HasColumnType("bigint"); |
| | | |
| | | b.Property<long>("MaxNumberOfRuns") |
| | | .HasColumnType("bigint"); |
| | | |
| | | b.Property<DateTime?>("NextRunTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<long>("NumRetries") |
| | | .HasColumnType("bigint"); |
| | | |
| | | b.Property<long>("NumberOfErrors") |
| | | .HasColumnType("bigint"); |
| | | |
| | | b.Property<long>("NumberOfRuns") |
| | | .HasColumnType("bigint"); |
| | | |
| | | b.Property<bool>("ResetOnlyOnce") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("Result") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("RetryTimeout") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<bool>("RunOnStart") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<bool>("StartNow") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<DateTime?>("StartTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<long>("Status") |
| | | .HasColumnType("bigint"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("TriggerId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("TriggerType") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("ScheduleJobTrigger"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfo", b => |
| | |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Address") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("任务地点详细地址"); |
| | | b.Property<decimal?>("ActualSettlementAmount") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<string>("AddressDetail") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("AddressName") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("AgeMaxLimit") |
| | | .HasColumnType("int") |
| | | .HasComment("年龄范围大"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<int>("AgeMinLimit") |
| | | .HasColumnType("int") |
| | | .HasComment("年龄范围最小"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime>("BeginTime") |
| | | .HasColumnType("datetime2") |
| | | .HasComment("任务开始时间"); |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<int>("BillingMethod") |
| | | .HasColumnType("int") |
| | | .HasComment("计费方式"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid>("CityId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("任务地点所属区域Id"); |
| | | b.Property<int?>("CheckReceiveStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("CheckReceiveTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<string>("CityCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<string>("Code") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTime>("EndTime") |
| | | .HasColumnType("datetime2") |
| | | .HasComment("任务结束时间"); |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<Guid>("EnterpriseId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("企业Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("GenderLimit") |
| | | .HasColumnType("int") |
| | | .HasComment("性别要求"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<DateTime?>("LastCheckReceiveTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<DateTime?>("LastSubmitTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<decimal?>("Latitude") |
| | | .HasColumnType("decimal(18,6)"); |
| | | |
| | | b.Property<decimal?>("Longitude") |
| | | .HasColumnType("decimal(18,6)"); |
| | | |
| | | b.Property<string>("Name") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("任务名称"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ProvinceCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | 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)") |
| | | .HasComment("服务费"); |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<decimal?>("SettlementAmount") |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<int>("SettlementCycle") |
| | | .HasColumnType("int") |
| | | .HasComment("结算方式"); |
| | | .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") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<int>("Status") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("CityId"); |
| | | b.HasIndex("CityCode"); |
| | | |
| | | b.HasIndex("EnterpriseId"); |
| | | |
| | | b.ToTable("TaskInfo", t => |
| | | { |
| | | t.HasComment("任务信息"); |
| | | }); |
| | | b.HasIndex("ProvinceCode"); |
| | | |
| | | b.ToTable("TaskInfo"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoBenefit", b => |
| | |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("BenefitId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("福利Id"); |
| | | b.Property<string>("BenefitCode") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<Guid>("BenefitId1") |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid>("TaskInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("任务Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("BenefitId"); |
| | | b.HasIndex("BenefitCode"); |
| | | |
| | | b.HasIndex("BenefitId1"); |
| | | b.HasIndex("TaskInfoId"); |
| | | |
| | | b.ToTable("TaskInfoBenefit", t => |
| | | { |
| | | t.HasComment("任务福利"); |
| | | }); |
| | | b.ToTable("TaskInfoBenefit"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoCredentialLimit", b => |
| | |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid>("TaskInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("任务Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("TypeId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("证书类型Id"); |
| | | b.Property<string>("TypeCode") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("TaskInfoId"); |
| | | |
| | | b.HasIndex("TypeId"); |
| | | b.HasIndex("TypeCode"); |
| | | |
| | | b.ToTable("TaskInfoCredentialLimit"); |
| | | }); |
| | |
| | | .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?>("CheckReceiveTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("EnterpriseEmployeeId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("HireStatus") |
| | | .HasColumnType("int") |
| | | .HasComment("录用状态"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("HireTime") |
| | | .HasColumnType("datetime2") |
| | | .HasComment("录用时间"); |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int?>("SignContractStatus") |
| | | .HasColumnType("int") |
| | | .HasComment("签约状态"); |
| | | b.Property<DateTime?>("LastCheckReceiveTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<DateTime?>("SignContractTime") |
| | | .HasColumnType("datetime2") |
| | | .HasComment("签约时间"); |
| | | 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") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid>("TaskInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("任务Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | |
| | | b.Property<Guid>("UserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("用户信息Id"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("EnterpriseEmployeeId"); |
| | | |
| | | b.HasIndex("TaskInfoId"); |
| | | |
| | | b.HasIndex("UserInfoId"); |
| | | |
| | | b.ToTable("TaskInfoUser", t => |
| | | { |
| | | t.HasComment("任务用户信息"); |
| | | }); |
| | | b.ToTable("TaskInfoUser"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserAuth", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmit", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("AvatarId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("头像Id"); |
| | | b.Property<int>("CheckReceiveStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("BankCard") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("银行卡号"); |
| | | b.Property<DateTime?>("CheckReceiveTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<Guid?>("BankCardImgId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("银行卡照片Id"); |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Identity") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("身份证号"); |
| | | |
| | | b.Property<Guid?>("IdentityBackImgId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("身份证国徽面Id"); |
| | | |
| | | b.Property<Guid?>("IdentityImgId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("身份证人像面Id"); |
| | | |
| | | b.Property<bool>("IsCheckPhoneNumber") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否已校验手机号"); |
| | | b.Property<DateTime>("Date") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | |
| | | b.Property<bool>("IsReal") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否实名"); |
| | | |
| | | b.Property<string>("Name") |
| | | .IsRequired() |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("姓名"); |
| | | |
| | | b.Property<string>("Password") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("密码"); |
| | | |
| | | b.Property<string>("PhoneNumber") |
| | | .HasMaxLength(11) |
| | | .HasColumnType("nvarchar(11)") |
| | | .HasComment("手机号"); |
| | | |
| | | b.Property<int?>("RealAccess") |
| | | .HasColumnType("int") |
| | | .HasComment("实名通道"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid>("TaskInfoUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | 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<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.Property<Guid>("UserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("TaskInfoId"); |
| | | |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("TaskUserCollect"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.User", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int?>("Age") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("Avatar") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTime?>("Birthday") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<string>("CityCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<string>("ContactPhoneNumber") |
| | | .HasMaxLength(11) |
| | | .HasColumnType("nvarchar(11)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int?>("DataSource") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid?>("DataSourceId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("EducationalBackgroundCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<Guid?>("EnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int?>("FreeTime") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<int?>("Gender") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<int?>("Height") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("Identity") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IsCheckPhoneNumber") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsReal") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int?>("JobSeekingStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<int>("Level") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("Name") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<string>("Password") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("PersonalIdentityCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<string>("PhoneNumber") |
| | | .HasMaxLength(11) |
| | | .HasColumnType("nvarchar(11)"); |
| | | |
| | | b.Property<string>("ProvinceCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<int?>("RealMethod") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("RealTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | 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.Property<string>("UserName") |
| | | .IsRequired() |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("用户名"); |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<int?>("Weight") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("WorkExperience") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("WorkSeniority") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("WxmpOpenId") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("AvatarId"); |
| | | b.HasIndex("CityCode"); |
| | | |
| | | b.HasIndex("BankCardImgId"); |
| | | b.HasIndex("EducationalBackgroundCode"); |
| | | |
| | | b.HasIndex("IdentityBackImgId"); |
| | | b.HasIndex("EnterpriseId"); |
| | | |
| | | b.HasIndex("IdentityImgId"); |
| | | b.HasIndex("PersonalIdentityCode"); |
| | | |
| | | b.ToTable("UserAuth", t => |
| | | { |
| | | t.HasComment("用户"); |
| | | }); |
| | | b.HasIndex("ProvinceCode"); |
| | | |
| | | b.ToTable("User"); |
| | | |
| | | b.HasData( |
| | | new |
| | |
| | | IsCheckPhoneNumber = false, |
| | | IsDeleted = false, |
| | | IsReal = false, |
| | | Level = 999, |
| | | Name = "管理员", |
| | | Password = "iEYggKrMhQ3ASUGLobra1w==:fn/DsMJUbD9FGpvBvR3moMpMPptdxzZlourPVhU479I=", |
| | | Sort = 0, |
| | | Status = 10, |
| | | Type = 100, |
| | | UserName = "system" |
| | | }); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfo", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.UserAuth", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("CityId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("常驻城市Id"); |
| | | 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<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("EducationalBackgroundId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("学历Id"); |
| | | b.Property<Guid?>("ElectronSignUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("EnterpriseId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("企业Id"); |
| | | b.Property<string>("FaceRealUrl") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int?>("FreeTime") |
| | | .HasColumnType("int") |
| | | .HasComment("空闲时间"); |
| | | b.Property<int?>("Gender") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<int?>("Height") |
| | | .HasColumnType("int") |
| | | .HasComment("身高"); |
| | | 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") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int?>("JobSeekingStatus") |
| | | .HasColumnType("int") |
| | | .HasComment("求职状态"); |
| | | b.Property<string>("Name") |
| | | .IsRequired() |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<int>("Level") |
| | | .HasColumnType("int") |
| | | .HasComment("级别"); |
| | | b.Property<string>("PhoneNumber") |
| | | .HasMaxLength(11) |
| | | .HasColumnType("nvarchar(11)"); |
| | | |
| | | b.Property<Guid?>("PersonalIdentityId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("身份Id"); |
| | | b.Property<int?>("RealAccess") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("备注"); |
| | | b.Property<string>("RealFailMessage") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("RealStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | |
| | | b.Property<int>("Status") |
| | | .HasColumnType("int") |
| | | .HasComment("状态"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | |
| | | b.Property<int>("Type") |
| | | .HasColumnType("int") |
| | | .HasComment("用户类型"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | |
| | | b.Property<Guid>("UserAuthId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("用户Id"); |
| | | |
| | | b.Property<int?>("Weight") |
| | | .HasColumnType("int") |
| | | .HasComment("体重"); |
| | | |
| | | b.Property<string>("WorkExperience") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("工作经验"); |
| | | |
| | | b.Property<string>("WorkSeniority") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("工作资历"); |
| | | |
| | | b.Property<string>("WxmpOpenId") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("微信开放Id"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("CityId"); |
| | | |
| | | b.HasIndex("EducationalBackgroundId"); |
| | | |
| | | b.HasIndex("EnterpriseId"); |
| | | |
| | | b.HasIndex("PersonalIdentityId"); |
| | | |
| | | b.HasIndex("UserAuthId"); |
| | | |
| | | b.ToTable("UserInfo", t => |
| | | { |
| | | t.HasComment("用户信息"); |
| | | }); |
| | | |
| | | b.HasData( |
| | | new |
| | | { |
| | | Id = new Guid("11111111-1111-1111-1111-111111111112"), |
| | | CreatedTime = new DateTimeOffset(new DateTime(2000, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), |
| | | IsDeleted = false, |
| | | Level = 999, |
| | | Sort = 0, |
| | | Status = 0, |
| | | Type = 100, |
| | | UserAuthId = new Guid("11111111-1111-1111-1111-111111111111") |
| | | }); |
| | | b.ToTable("UserAuth"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfoBankCard", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.UserBankCard", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Bank") |
| | | .IsRequired() |
| | | .HasMaxLength(128) |
| | | .HasColumnType("nvarchar(128)") |
| | | .HasComment("开户行"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("BankBranch") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Code") |
| | | .IsRequired() |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("银行卡号"); |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Identity") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("Name") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("PhoneNumber") |
| | | .IsRequired() |
| | | .HasMaxLength(11) |
| | | .HasColumnType("nvarchar(11)") |
| | | .HasComment("银行预留手机号"); |
| | | .HasColumnType("nvarchar(11)"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("UserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("用户信息Id"); |
| | | b.Property<Guid>("UserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("UserInfoId"); |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("UserInfoBankCard", t => |
| | | { |
| | | t.HasComment("用户银行卡信息"); |
| | | }); |
| | | b.ToTable("UserBankCard"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfoCredential", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.UserCredential", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("BackImgId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("证书反面照片Id"); |
| | | b.Property<string>("BackImg") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Code") |
| | | .IsRequired() |
| | | .HasMaxLength(128) |
| | | .HasColumnType("nvarchar(128)") |
| | | .HasComment("证书编号"); |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | |
| | | b.Property<DateTime>("EndDate") |
| | | .HasColumnType("datetime2") |
| | | .HasComment("结束日期"); |
| | | |
| | | b.Property<Guid>("ImgId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("证书正面照片Id"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | |
| | | b.Property<bool>("IsForever") |
| | | .HasColumnType("bit") |
| | | .HasComment("永久证书"); |
| | | |
| | | b.Property<string>("IssueUnit") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("发证单位"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | |
| | | b.Property<DateTime>("StartDate") |
| | | .HasColumnType("datetime2") |
| | | .HasComment("开始日期"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | |
| | | b.Property<Guid?>("TypeId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("证书类型Id"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | |
| | | b.Property<Guid>("UserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("用户信息Id"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("BackImgId"); |
| | | |
| | | b.HasIndex("ImgId"); |
| | | |
| | | b.HasIndex("TypeId"); |
| | | |
| | | b.HasIndex("UserInfoId"); |
| | | |
| | | b.ToTable("UserInfoCredential", t => |
| | | { |
| | | t.HasComment("用户信息资格证书"); |
| | | }); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfoDepartment", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("DepartmentId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("部门Id"); |
| | | b.Property<DateTime?>("EndDate") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<string>("Img") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsForever") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("IssueUnit") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("StartDate") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("TypeCode") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("UserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("用户信息Id"); |
| | | b.Property<Guid>("UserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("TypeCode"); |
| | | |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("UserCredential"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserDepartment", 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>("DepartmentId") |
| | | .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("DepartmentId"); |
| | | |
| | | b.HasIndex("UserInfoId"); |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("UserInfoDepartment", t => |
| | | { |
| | | t.HasComment("用户信息部门"); |
| | | }); |
| | | b.ToTable("UserDepartment"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfoExpectJob", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.UserExpectJob", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("ExpectJobCode") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | |
| | | b.Property<Guid>("PersonalIdentityId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("期望岗位Id"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("UserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("用户信息Id"); |
| | | b.Property<Guid>("UserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("PersonalIdentityId"); |
| | | b.HasIndex("ExpectJobCode"); |
| | | |
| | | b.HasIndex("UserInfoId"); |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("UserInfoExpectJob", t => |
| | | { |
| | | t.HasComment("用户信息期望岗位"); |
| | | }); |
| | | b.ToTable("UserExpectJob"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfoPhoto", b => |
| | | 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?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("ImgId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("照片Id"); |
| | | b.Property<Guid>("IndustrialParkId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("UserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("用户信息Id"); |
| | | b.Property<Guid>("UserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("ImgId"); |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.HasIndex("UserInfoId"); |
| | | |
| | | b.ToTable("UserInfoPhoto", t => |
| | | { |
| | | t.HasComment("用户信息生活照"); |
| | | }); |
| | | b.ToTable("UserManageIndustrialPark"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfoRole", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.UserPhoto", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Img") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .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("UserPhoto"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserRole", 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>("RoleId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("角色Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("UserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("用户信息Id"); |
| | | b.Property<Guid>("UserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("RoleId"); |
| | | |
| | | b.HasIndex("UserInfoId"); |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("UserInfoRole", t => |
| | | { |
| | | t.HasComment("用户信息角色"); |
| | | }); |
| | | b.ToTable("UserRole"); |
| | | }); |
| | | |
| | | 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 => |
| | |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Enterprise", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.FileVirtualPath", "IdentityBackImg") |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "City") |
| | | .WithMany() |
| | | .HasForeignKey("IdentityBackImgId"); |
| | | .HasForeignKey("CityCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict); |
| | | |
| | | b.HasOne("FlexJobApi.Core.FileVirtualPath", "IdentityImg") |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "IndustryType") |
| | | .WithMany() |
| | | .HasForeignKey("IdentityImgId"); |
| | | .HasForeignKey("IndustryTypeCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict); |
| | | |
| | | b.HasOne("FlexJobApi.Core.FileVirtualPath", "LicenseImage") |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "Province") |
| | | .WithMany() |
| | | .HasForeignKey("LicenseImageId"); |
| | | .HasForeignKey("ProvinceCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict); |
| | | |
| | | b.Navigation("IdentityBackImg"); |
| | | b.Navigation("City"); |
| | | |
| | | b.Navigation("IdentityImg"); |
| | | b.Navigation("IndustryType"); |
| | | |
| | | b.Navigation("LicenseImage"); |
| | | b.Navigation("Province"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.FileVirtualPath", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseAuth", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.FileStore", "Store") |
| | | .WithMany() |
| | | .HasForeignKey("StoreId") |
| | | b.HasOne("FlexJobApi.Core.Enterprise", "Enterprise") |
| | | .WithOne("EnterpriseAuth") |
| | | .HasForeignKey("FlexJobApi.Core.EnterpriseAuth", "Id") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("Store"); |
| | | 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.EnterpriseWallet", "Wallet") |
| | | .WithMany() |
| | | .HasForeignKey("WalletId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("Wallet"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Menu", b => |
| | |
| | | { |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "City") |
| | | .WithMany() |
| | | .HasForeignKey("CityId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | .HasForeignKey("CityCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict); |
| | | |
| | | b.HasOne("FlexJobApi.Core.Enterprise", "Enterprise") |
| | | .WithMany() |
| | |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "Province") |
| | | .WithMany() |
| | | .HasForeignKey("ProvinceCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict); |
| | | |
| | | b.Navigation("City"); |
| | | |
| | | b.Navigation("Enterprise"); |
| | | |
| | | b.Navigation("Province"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoBenefit", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.TaskInfo", "TaskInfo") |
| | | .WithMany("Benefits") |
| | | .HasForeignKey("BenefitId") |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "Benefit") |
| | | .WithMany() |
| | | .HasForeignKey("BenefitCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict) |
| | | .IsRequired(); |
| | | |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "Benefit") |
| | | .WithMany() |
| | | .HasForeignKey("BenefitId1") |
| | | b.HasOne("FlexJobApi.Core.TaskInfo", "TaskInfo") |
| | | .WithMany("Benefits") |
| | | .HasForeignKey("TaskInfoId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | |
| | | |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "Type") |
| | | .WithMany() |
| | | .HasForeignKey("TypeId"); |
| | | .HasForeignKey("TypeCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("TaskInfo"); |
| | | |
| | |
| | | |
| | | 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() |
| | | .WithMany("TaskInfoUsers") |
| | | .HasForeignKey("TaskInfoId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.HasOne("FlexJobApi.Core.UserInfo", "UserInfo") |
| | | 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() |
| | | .HasForeignKey("UserInfoId") |
| | | .HasForeignKey("UserId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("TaskInfo"); |
| | | |
| | | b.Navigation("UserInfo"); |
| | | b.Navigation("User"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserAuth", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.FileVirtualPath", "Avatar") |
| | | .WithMany() |
| | | .HasForeignKey("AvatarId"); |
| | | |
| | | b.HasOne("FlexJobApi.Core.FileVirtualPath", "BankCardImg") |
| | | .WithMany() |
| | | .HasForeignKey("BankCardImgId"); |
| | | |
| | | b.HasOne("FlexJobApi.Core.FileVirtualPath", "IdentityBackImg") |
| | | .WithMany() |
| | | .HasForeignKey("IdentityBackImgId"); |
| | | |
| | | b.HasOne("FlexJobApi.Core.FileVirtualPath", "IdentityImg") |
| | | .WithMany() |
| | | .HasForeignKey("IdentityImgId"); |
| | | |
| | | b.Navigation("Avatar"); |
| | | |
| | | b.Navigation("BankCardImg"); |
| | | |
| | | b.Navigation("IdentityBackImg"); |
| | | |
| | | b.Navigation("IdentityImg"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfo", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.User", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "City") |
| | | .WithMany() |
| | | .HasForeignKey("CityId"); |
| | | .HasForeignKey("CityCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict); |
| | | |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "EducationalBackground") |
| | | .WithMany() |
| | | .HasForeignKey("EducationalBackgroundId"); |
| | | .HasForeignKey("EducationalBackgroundCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict); |
| | | |
| | | b.HasOne("FlexJobApi.Core.Enterprise", "Enterprise") |
| | | .WithMany("UserInfos") |
| | | .WithMany("Users") |
| | | .HasForeignKey("EnterpriseId"); |
| | | |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "PersonalIdentity") |
| | | .WithMany() |
| | | .HasForeignKey("PersonalIdentityId"); |
| | | .HasForeignKey("PersonalIdentityCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict); |
| | | |
| | | b.HasOne("FlexJobApi.Core.UserAuth", "UserAuth") |
| | | .WithMany("UserInfos") |
| | | .HasForeignKey("UserAuthId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "Province") |
| | | .WithMany() |
| | | .HasForeignKey("ProvinceCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict); |
| | | |
| | | b.Navigation("City"); |
| | | |
| | |
| | | |
| | | b.Navigation("PersonalIdentity"); |
| | | |
| | | b.Navigation("UserAuth"); |
| | | b.Navigation("Province"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfoBankCard", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.UserAuth", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.UserInfo", "UserInfo") |
| | | .WithMany() |
| | | .HasForeignKey("UserInfoId") |
| | | b.HasOne("FlexJobApi.Core.User", "User") |
| | | .WithOne("UserAuth") |
| | | .HasForeignKey("FlexJobApi.Core.UserAuth", "Id") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("UserInfo"); |
| | | b.Navigation("User"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfoCredential", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.UserBankCard", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.FileVirtualPath", "BackImg") |
| | | .WithMany() |
| | | .HasForeignKey("BackImgId"); |
| | | |
| | | b.HasOne("FlexJobApi.Core.FileVirtualPath", "Img") |
| | | .WithMany() |
| | | .HasForeignKey("ImgId") |
| | | b.HasOne("FlexJobApi.Core.User", "User") |
| | | .WithMany("BankCards") |
| | | .HasForeignKey("UserId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("User"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserCredential", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "Type") |
| | | .WithMany() |
| | | .HasForeignKey("TypeId"); |
| | | |
| | | b.HasOne("FlexJobApi.Core.UserInfo", "UserInfo") |
| | | .WithMany("UserInfoCredentials") |
| | | .HasForeignKey("UserInfoId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .HasForeignKey("TypeCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("BackImg"); |
| | | |
| | | b.Navigation("Img"); |
| | | b.HasOne("FlexJobApi.Core.User", "User") |
| | | .WithMany("UserCredentials") |
| | | .HasForeignKey("UserId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("Type"); |
| | | |
| | | b.Navigation("UserInfo"); |
| | | b.Navigation("User"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfoDepartment", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.UserDepartment", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.Department", "Department") |
| | | .WithMany() |
| | |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.HasOne("FlexJobApi.Core.UserInfo", "UserInfo") |
| | | .WithMany("UserInfoDepartments") |
| | | .HasForeignKey("UserInfoId") |
| | | b.HasOne("FlexJobApi.Core.User", "User") |
| | | .WithMany("UserDepartments") |
| | | .HasForeignKey("UserId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("Department"); |
| | | |
| | | b.Navigation("UserInfo"); |
| | | b.Navigation("User"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfoExpectJob", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.UserExpectJob", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "PersonalIdentity") |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "ExpectJob") |
| | | .WithMany() |
| | | .HasForeignKey("PersonalIdentityId") |
| | | .HasForeignKey("ExpectJobCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict) |
| | | .IsRequired(); |
| | | |
| | | b.HasOne("FlexJobApi.Core.User", "User") |
| | | .WithMany("UserExpectJobs") |
| | | .HasForeignKey("UserId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.HasOne("FlexJobApi.Core.UserInfo", "UserInfo") |
| | | .WithMany("UserInfoExpectJobs") |
| | | .HasForeignKey("UserInfoId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | b.Navigation("ExpectJob"); |
| | | |
| | | b.Navigation("PersonalIdentity"); |
| | | |
| | | b.Navigation("UserInfo"); |
| | | b.Navigation("User"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfoPhoto", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.UserManageIndustrialPark", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.FileVirtualPath", "Img") |
| | | .WithMany() |
| | | .HasForeignKey("ImgId") |
| | | b.HasOne("FlexJobApi.Core.User", "User") |
| | | .WithMany("UserManageIndustrialParks") |
| | | .HasForeignKey("UserId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.HasOne("FlexJobApi.Core.UserInfo", "UserInfo") |
| | | .WithMany() |
| | | .HasForeignKey("UserInfoId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("Img"); |
| | | |
| | | b.Navigation("UserInfo"); |
| | | b.Navigation("User"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfoRole", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.UserPhoto", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.User", "User") |
| | | .WithMany("Photos") |
| | | .HasForeignKey("UserId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("User"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserRole", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.Role", "Role") |
| | | .WithMany("UserInfoRoles") |
| | | .WithMany("UserRoles") |
| | | .HasForeignKey("RoleId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.HasOne("FlexJobApi.Core.UserInfo", "UserInfo") |
| | | .WithMany("UserInfoRoles") |
| | | .HasForeignKey("UserInfoId") |
| | | b.HasOne("FlexJobApi.Core.User", "User") |
| | | .WithMany("UserRoles") |
| | | .HasForeignKey("UserId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("Role"); |
| | | |
| | | b.Navigation("UserInfo"); |
| | | b.Navigation("User"); |
| | | }); |
| | | |
| | | 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("UserInfos"); |
| | | 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("RoleResources"); |
| | | |
| | | b.Navigation("UserInfoRoles"); |
| | | b.Navigation("UserRoles"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfo", b => |
| | |
| | | b.Navigation("Benefits"); |
| | | |
| | | b.Navigation("CredentialLimits"); |
| | | |
| | | b.Navigation("TaskInfoUsers"); |
| | | |
| | | b.Navigation("TaskUserCollects"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserAuth", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoUser", b => |
| | | { |
| | | b.Navigation("UserInfos"); |
| | | b.Navigation("Submits"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfo", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmit", b => |
| | | { |
| | | b.Navigation("UserInfoCredentials"); |
| | | b.Navigation("Files"); |
| | | }); |
| | | |
| | | b.Navigation("UserInfoDepartments"); |
| | | modelBuilder.Entity("FlexJobApi.Core.User", b => |
| | | { |
| | | b.Navigation("BankCards"); |
| | | |
| | | b.Navigation("UserInfoExpectJobs"); |
| | | b.Navigation("EnterpriseEmployees"); |
| | | |
| | | b.Navigation("UserInfoRoles"); |
| | | b.Navigation("EnterpriseUserCollects"); |
| | | |
| | | b.Navigation("Photos"); |
| | | |
| | | b.Navigation("UserAuth"); |
| | | |
| | | b.Navigation("UserCredentials"); |
| | | |
| | | b.Navigation("UserDepartments"); |
| | | |
| | | b.Navigation("UserExpectJobs"); |
| | | |
| | | b.Navigation("UserManageIndustrialParks"); |
| | | |
| | | b.Navigation("UserRoles"); |
| | | }); |
| | | #pragma warning restore 612, 618 |
| | | } |