| | |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .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("最后更新操作人"); |
| | | .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<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .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)") |
| | | .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("最后更新操作人"); |
| | | .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<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | 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") |
| | | .HasComment("是否禁用"); |
| | | .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("最后更新操作人"); |
| | | .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.Enterprise", b => |
| | |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("BankBranchName") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("开户支行"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("BankCard") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("银行账户"); |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<string>("BankName") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("开户总行"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("CityId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("所在城市Id"); |
| | | b.Property<string>("CityCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<string>("ContactEmail") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("联系邮箱"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ContactPhoneNumber") |
| | | .HasMaxLength(11) |
| | | .HasColumnType("nvarchar(11)") |
| | | .HasComment("联系电话"); |
| | | .HasColumnType("nvarchar(11)"); |
| | | |
| | | b.Property<string>("Contacts") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("联系人"); |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("EnterpriseAuthId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("企业认证Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("IndustryTypeId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("所属行业Id"); |
| | | b.Property<string>("IndustryTypeCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<bool>("IsCheckedBankCard") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否已校验银行账户"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("MainBusiness") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("主营业务"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<decimal?>("MergeSignCost") |
| | | .HasColumnType("decimal(18,2)") |
| | | .HasComment("一口价"); |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<int?>("PayAccess") |
| | | .HasColumnType("int") |
| | | .HasComment("支付通道"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid?>("ProvinceId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("所在省份Id"); |
| | | b.Property<string>("ProvinceCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<int?>("RealAccess") |
| | | .HasColumnType("int") |
| | | .HasComment("实名通道"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<decimal?>("RealVerifyCost") |
| | | .HasColumnType("decimal(18,2)") |
| | | .HasComment("实名费用"); |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<decimal?>("SignCost") |
| | | .HasColumnType("decimal(18,2)") |
| | | .HasComment("签约费用"); |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<int?>("SmsAccess") |
| | | .HasColumnType("int") |
| | | .HasComment("短信通道"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<decimal>("SmsCost") |
| | | .HasColumnType("decimal(18,2)") |
| | | .HasComment("短信费用"); |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | 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("最后更新操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("CityId"); |
| | | b.HasIndex("CityCode"); |
| | | |
| | | b.HasIndex("EnterpriseAuthId"); |
| | | |
| | | b.HasIndex("IndustryTypeId"); |
| | | b.HasIndex("IndustryTypeCode"); |
| | | |
| | | b.HasIndex("ProvinceId"); |
| | | b.HasIndex("ProvinceCode"); |
| | | |
| | | b.ToTable("Enterprise", t => |
| | | { |
| | | t.HasComment("企业"); |
| | | }); |
| | | b.ToTable("Enterprise"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.EnterpriseAuth", b => |
| | |
| | | |
| | | b.Property<string>("BankCard") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("法人或经办人银行卡号"); |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<string>("BankCardImg") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("法人或经办人银行卡照片"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("EnterpriseName") |
| | | .IsRequired() |
| | | .HasMaxLength(128) |
| | | .HasColumnType("nvarchar(128)") |
| | | .HasComment("企业全称"); |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<int?>("EnterpriseRealMethod") |
| | | .HasColumnType("int") |
| | | .HasComment("企业认证方式"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("Identity") |
| | | .HasMaxLength(18) |
| | | .HasColumnType("nvarchar(18)") |
| | | .HasComment("法人或经办人身份证号"); |
| | | .HasColumnType("nvarchar(18)"); |
| | | |
| | | b.Property<string>("IdentityBackImg") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("法人或经办人身份证国徽面"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("IdentityImg") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("法人或经办人身份证人像面"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | 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)") |
| | | .HasComment("法人身份证号"); |
| | | .HasColumnType("nvarchar(18)"); |
| | | |
| | | b.Property<string>("LegalPerson") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("法人姓名"); |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<string>("LicenseImage") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("营业执照照片"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Name") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("法人或经办人姓名"); |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<int?>("PersonalRealMethod") |
| | | .HasColumnType("int") |
| | | .HasComment("法人或经办人实名方式"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("PhoneNumber") |
| | | .HasMaxLength(11) |
| | | .HasColumnType("nvarchar(11)") |
| | | .HasComment("法人或经办人手机号"); |
| | | .HasColumnType("nvarchar(11)"); |
| | | |
| | | b.Property<bool?>("Proxy") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否委托经办人"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("ProxyPowerAttorneyUrl") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("企业授权书"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | 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("最后更新操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("EnterpriseAuth", t => |
| | | { |
| | | t.HasComment("企业认证"); |
| | | }); |
| | | b.ToTable("EnterpriseAuth"); |
| | | }); |
| | | |
| | | 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<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .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("最后更新操作人"); |
| | | .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") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("委托名称"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ActionSummary") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("委托摘要"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("AllowAnonymous") |
| | | .HasColumnType("bit") |
| | | .HasComment("忽略权限"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("ApplicationName") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("应用名称"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Code") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("编号"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Controller") |
| | | .HasColumnType("int") |
| | | .HasComment("控制器"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("ControllerSummary") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("控制器摘要"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("DynamicAssemblyName") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("动态程序集名称"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsExpired") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否已过期"); |
| | | .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)") |
| | | .HasComment("路由区域"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Service") |
| | | .HasColumnType("int") |
| | | .HasComment("服务"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("ServiceName") |
| | | .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("最后更新操作人"); |
| | | .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<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .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") |
| | | .HasComment("是否禁用"); |
| | | .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("最后更新操作人"); |
| | | .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 => |
| | |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .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("最后更新操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | |
| | | |
| | | b.HasIndex("RoleId"); |
| | | |
| | | b.ToTable("RoleMenu", t => |
| | | { |
| | | t.HasComment("角色菜单"); |
| | | }); |
| | | b.ToTable("RoleMenu"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.RoleResource", b => |
| | |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .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("最后更新操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | |
| | | |
| | | b.HasIndex("RoleId"); |
| | | |
| | | b.ToTable("RoleResource", t => |
| | | { |
| | | t.HasComment("角色资源"); |
| | | }); |
| | | b.ToTable("RoleResource"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfo", b => |
| | |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Address") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("任务地点详细地址"); |
| | | .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<string>("CityCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .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<string>("Name") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("任务名称"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ProvinceCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<decimal>("ServiceFee") |
| | | .HasColumnType("decimal(18,2)") |
| | | .HasComment("服务费"); |
| | | .HasColumnType("decimal(18,2)"); |
| | | |
| | | b.Property<int>("SettlementCycle") |
| | | .HasColumnType("int") |
| | | .HasComment("结算方式"); |
| | | .HasColumnType("int"); |
| | | |
| | | 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("最后更新操作人"); |
| | | .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<Guid>("BenefitId1") |
| | | .HasColumnType("uniqueidentifier"); |
| | | b.Property<string>("BenefitCode") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .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("最后更新操作人"); |
| | | .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 => |
| | |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .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("最后更新操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("TaskInfoId"); |
| | | |
| | | b.HasIndex("TypeId"); |
| | | b.HasIndex("TypeCode"); |
| | | |
| | | b.ToTable("TaskInfoCredentialLimit"); |
| | | }); |
| | |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .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("签约状态"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("SignContractTime") |
| | | .HasColumnType("datetime2") |
| | | .HasComment("签约时间"); |
| | | .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("最后更新操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("UserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("用户信息Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | |
| | | |
| | | b.HasIndex("UserInfoId"); |
| | | |
| | | b.ToTable("TaskInfoUser", t => |
| | | { |
| | | t.HasComment("任务用户信息"); |
| | | }); |
| | | b.ToTable("TaskInfoUser"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserAuth", b => |
| | |
| | | |
| | | b.Property<string>("BankCard") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("银行卡号"); |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<string>("BankCardImg") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("银行卡照片"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Identity") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("身份证号"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("IdentityBackImg") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("身份证国徽面"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("IdentityImg") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("身份证人像面"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IsCheckPhoneNumber") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否已校验手机号"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsReal") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否实名"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("Name") |
| | | .IsRequired() |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("姓名"); |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<string>("Password") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("密码"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("PhoneNumber") |
| | | .HasMaxLength(11) |
| | | .HasColumnType("nvarchar(11)") |
| | | .HasComment("手机号"); |
| | | .HasColumnType("nvarchar(11)"); |
| | | |
| | | b.Property<int?>("RealAccess") |
| | | .HasColumnType("int") |
| | | .HasComment("实名通道"); |
| | | .HasColumnType("int"); |
| | | |
| | | 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("最后更新操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("UserName") |
| | | .IsRequired() |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("用户名"); |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("UserAuth", t => |
| | | { |
| | | t.HasComment("用户"); |
| | | }); |
| | | b.ToTable("UserAuth"); |
| | | |
| | | b.HasData( |
| | | new |
| | |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Avatar") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("头像"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<Guid?>("CityId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("常驻城市Id"); |
| | | b.Property<string>("CityCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("EducationalBackgroundId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("学历Id"); |
| | | b.Property<string>("EducationalBackgroundCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<Guid?>("EnterpriseId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("企业Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int?>("FreeTime") |
| | | .HasColumnType("int") |
| | | .HasComment("空闲时间"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<int?>("Height") |
| | | .HasColumnType("int") |
| | | .HasComment("身高"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int?>("JobSeekingStatus") |
| | | .HasColumnType("int") |
| | | .HasComment("求职状态"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<int>("Level") |
| | | .HasColumnType("int") |
| | | .HasComment("级别"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid?>("PersonalIdentityId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("身份Id"); |
| | | b.Property<string>("PersonalIdentityCode") |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<Guid?>("ProvinceId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("常驻省份Id"); |
| | | b.Property<string>("ProvinceCode") |
| | | .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<int>("Status") |
| | | .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("最后更新操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("UserAuthId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("用户Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int?>("Weight") |
| | | .HasColumnType("int") |
| | | .HasComment("体重"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("WorkExperience") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("工作经验"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("WorkSeniority") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("工作资历"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("WxmpOpenId") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("微信开放Id"); |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("CityId"); |
| | | b.HasIndex("CityCode"); |
| | | |
| | | b.HasIndex("EducationalBackgroundId"); |
| | | b.HasIndex("EducationalBackgroundCode"); |
| | | |
| | | b.HasIndex("EnterpriseId"); |
| | | |
| | | b.HasIndex("PersonalIdentityId"); |
| | | b.HasIndex("PersonalIdentityCode"); |
| | | |
| | | b.HasIndex("ProvinceId"); |
| | | b.HasIndex("ProvinceCode"); |
| | | |
| | | b.HasIndex("UserAuthId"); |
| | | |
| | | b.ToTable("UserInfo", t => |
| | | { |
| | | t.HasComment("用户信息"); |
| | | }); |
| | | b.ToTable("UserInfo"); |
| | | |
| | | b.HasData( |
| | | new |
| | |
| | | b.Property<string>("Bank") |
| | | .IsRequired() |
| | | .HasMaxLength(128) |
| | | .HasColumnType("nvarchar(128)") |
| | | .HasComment("开户行"); |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | b.Property<string>("Code") |
| | | .IsRequired() |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("银行卡号"); |
| | | .HasColumnType("nvarchar(32)"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | 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("最后更新操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("UserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("用户信息Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("UserInfoId"); |
| | | |
| | | b.ToTable("UserInfoBankCard", t => |
| | | { |
| | | t.HasComment("用户银行卡信息"); |
| | | }); |
| | | b.ToTable("UserInfoBankCard"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfoCredential", b => |
| | |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("BackImg") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("证书反面照片"); |
| | | .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("创建操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTime>("EndDate") |
| | | .HasColumnType("datetime2") |
| | | .HasComment("结束日期"); |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<string>("Img") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("证书正面照片"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<bool>("IsForever") |
| | | .HasColumnType("bit") |
| | | .HasComment("永久证书"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<string>("IssueUnit") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("发证单位"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime>("StartDate") |
| | | .HasColumnType("datetime2") |
| | | .HasComment("开始日期"); |
| | | .HasColumnType("datetime2"); |
| | | |
| | | 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("最后更新操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("UserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("用户信息Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("TypeId"); |
| | | b.HasIndex("TypeCode"); |
| | | |
| | | b.HasIndex("UserInfoId"); |
| | | |
| | | b.ToTable("UserInfoCredential", t => |
| | | { |
| | | t.HasComment("用户信息资格证书"); |
| | | }); |
| | | b.ToTable("UserInfoCredential"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfoDepartment", b => |
| | |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("DepartmentId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("部门Id"); |
| | | .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("最后更新操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("UserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("用户信息Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | |
| | | |
| | | b.HasIndex("UserInfoId"); |
| | | |
| | | b.ToTable("UserInfoDepartment", t => |
| | | { |
| | | t.HasComment("用户信息部门"); |
| | | }); |
| | | b.ToTable("UserInfoDepartment"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfoExpectJob", b => |
| | |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<Guid>("PersonalIdentityId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("期望岗位Id"); |
| | | b.Property<string>("PersonalIdentityCode") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(128)"); |
| | | |
| | | 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("最后更新操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("UserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("用户信息Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("PersonalIdentityId"); |
| | | b.HasIndex("PersonalIdentityCode"); |
| | | |
| | | b.HasIndex("UserInfoId"); |
| | | |
| | | b.ToTable("UserInfoExpectJob", t => |
| | | { |
| | | t.HasComment("用户信息期望岗位"); |
| | | }); |
| | | b.ToTable("UserInfoExpectJob"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfoPhoto", b => |
| | |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Img") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("照片"); |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | 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("最后更新操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("UserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("用户信息Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("UserInfoId"); |
| | | |
| | | b.ToTable("UserInfoPhoto", t => |
| | | { |
| | | t.HasComment("用户信息生活照"); |
| | | }); |
| | | b.ToTable("UserInfoPhoto"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfoRole", b => |
| | |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | .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("最后更新操作人"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid>("UserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("用户信息Id"); |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | |
| | | |
| | | b.HasIndex("UserInfoId"); |
| | | |
| | | b.ToTable("UserInfoRole", t => |
| | | { |
| | | t.HasComment("用户信息角色"); |
| | | }); |
| | | b.ToTable("UserInfoRole"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Department", b => |
| | |
| | | { |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "City") |
| | | .WithMany() |
| | | .HasForeignKey("CityId"); |
| | | .HasForeignKey("CityCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict); |
| | | |
| | | b.HasOne("FlexJobApi.Core.EnterpriseAuth", "EnterpriseAuth") |
| | | .WithMany() |
| | |
| | | |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "IndustryType") |
| | | .WithMany() |
| | | .HasForeignKey("IndustryTypeId"); |
| | | .HasForeignKey("IndustryTypeCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict); |
| | | |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "Province") |
| | | .WithMany() |
| | | .HasForeignKey("ProvinceId"); |
| | | .HasForeignKey("ProvinceCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict); |
| | | |
| | | b.Navigation("City"); |
| | | |
| | |
| | | { |
| | | 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") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | b.HasOne("FlexJobApi.Core.TaskInfo", "TaskInfo") |
| | | .WithMany("Benefits") |
| | | .HasForeignKey("TaskInfoId") |
| | | .OnDelete(DeleteBehavior.Restrict) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("Benefit"); |
| | |
| | | |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "Type") |
| | | .WithMany() |
| | | .HasForeignKey("TypeId"); |
| | | .HasForeignKey("TypeCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("TaskInfo"); |
| | | |
| | |
| | | { |
| | | 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") |
| | |
| | | |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "PersonalIdentity") |
| | | .WithMany() |
| | | .HasForeignKey("PersonalIdentityId"); |
| | | .HasForeignKey("PersonalIdentityCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict); |
| | | |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "Province") |
| | | .WithMany() |
| | | .HasForeignKey("ProvinceId"); |
| | | .HasForeignKey("ProvinceCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict); |
| | | |
| | | b.HasOne("FlexJobApi.Core.UserAuth", "UserAuth") |
| | | .WithMany("UserInfos") |
| | |
| | | { |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "Type") |
| | | .WithMany() |
| | | .HasForeignKey("TypeId"); |
| | | .HasForeignKey("TypeCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict) |
| | | .IsRequired(); |
| | | |
| | | b.HasOne("FlexJobApi.Core.UserInfo", "UserInfo") |
| | | .WithMany("UserInfoCredentials") |
| | |
| | | { |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "PersonalIdentity") |
| | | .WithMany() |
| | | .HasForeignKey("PersonalIdentityId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .HasForeignKey("PersonalIdentityCode") |
| | | .HasPrincipalKey("Code") |
| | | .OnDelete(DeleteBehavior.Restrict) |
| | | .IsRequired(); |
| | | |
| | | b.HasOne("FlexJobApi.Core.UserInfo", "UserInfo") |