| | |
| | | .HasColumnType("nvarchar(128)") |
| | | .HasComment("名称"); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("备注"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | |
| | | b.Property<bool>("IsDisabled") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否禁用"); |
| | | |
| | | b.Property<Guid?>("ParentId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("上级Id"); |
| | |
| | | b.Property<Guid?>("BankCardImgId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("法人或经办人银行卡照片Id"); |
| | | |
| | | b.Property<string>("ContactNumber") |
| | | .HasMaxLength(11) |
| | | .HasColumnType("nvarchar(11)") |
| | | .HasComment("联系电话"); |
| | | |
| | | b.Property<string>("Contacts") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("联系人"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("ActionName") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("委托名称"); |
| | | |
| | | b.Property<string>("ActionSummary") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("委托摘要"); |
| | | |
| | | b.Property<bool>("AllowAnonymous") |
| | | .HasColumnType("bit") |
| | | .HasComment("忽略权限"); |
| | | |
| | | b.Property<string>("ApplicationName") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("应用名称"); |
| | | |
| | | b.Property<string>("Code") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("编号"); |
| | | |
| | | b.Property<int>("Controller") |
| | | .HasColumnType("int") |
| | | .HasComment("控制器"); |
| | | |
| | | b.Property<string>("ControllerSummary") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("控制器摘要"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | |
| | | b.Property<string>("DynamicAssemblyName") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("动态程序集名称"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("名称"); |
| | | |
| | | b.Property<string>("RequestTypeFullName") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("请求类型全名"); |
| | | |
| | | b.Property<string>("RequestTypeName") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("请求类型名称"); |
| | | |
| | | b.Property<string>("ResponseTypeFullName") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("响应类型全名"); |
| | | |
| | | b.Property<string>("ResponseTypeName") |
| | | .IsRequired() |
| | |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("路由"); |
| | | |
| | | b.Property<string>("Service") |
| | | .IsRequired() |
| | | b.Property<string>("RouteArea") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("微服务"); |
| | | .HasComment("路由区域"); |
| | | |
| | | b.Property<int>("Service") |
| | | .HasColumnType("int") |
| | | .HasComment("服务"); |
| | | |
| | | b.Property<string>("ServiceName") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("服务名称"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | |
| | | b.Property<int>("DataPower") |
| | | .HasColumnType("int") |
| | | .HasComment("数据权限"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | |
| | | b.Property<bool>("IsDisabled") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否禁用"); |
| | | |
| | | b.Property<int>("MinLevel") |
| | | .HasColumnType("int") |
| | |
| | | .HasMaxLength(128) |
| | | .HasColumnType("nvarchar(128)") |
| | | .HasComment("名称"); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("备注"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | |
| | | b.Property<int?>("DataPower") |
| | | b.Property<int>("DataPower") |
| | | .HasColumnType("int") |
| | | .HasComment("数据权限"); |
| | | |
| | |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | |
| | | b.Property<Guid>("MenuId") |
| | | b.Property<Guid>("ResourceId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("菜单Id"); |
| | | .HasComment("资源Id"); |
| | | |
| | | b.Property<Guid>("RoleId") |
| | | .HasColumnType("uniqueidentifier") |
| | |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("MenuId"); |
| | | b.HasIndex("ResourceId"); |
| | | |
| | | b.HasIndex("RoleId"); |
| | | |
| | |
| | | IsDeleted = false, |
| | | IsReal = false, |
| | | Name = "管理员", |
| | | Password = "iEYggKrMhQ3ASUGLobra1w==:fn/DsMJUbD9FGpvBvR3moMpMPptdxzZlourPVhU479I=", |
| | | Sort = 0, |
| | | UserName = "admin" |
| | | UserName = "system" |
| | | }); |
| | | }); |
| | | |
| | |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("身份Id"); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("备注"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | |
| | | b.Property<int>("Status") |
| | | .HasColumnType("int") |
| | | .HasComment("状态"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | |
| | | IsDeleted = false, |
| | | Level = 999, |
| | | Sort = 0, |
| | | Status = 0, |
| | | Type = 100, |
| | | UserAuthId = new Guid("11111111-1111-1111-1111-111111111111") |
| | | }); |
| | |
| | | .IsRequired(); |
| | | |
| | | b.HasOne("FlexJobApi.Core.Department", "Parent") |
| | | .WithMany("Childrens") |
| | | .WithMany("Children") |
| | | .HasForeignKey("ParentId"); |
| | | |
| | | b.Navigation("Enterprise"); |
| | |
| | | .IsRequired(); |
| | | |
| | | b.HasOne("FlexJobApi.Core.DictionaryData", "Parent") |
| | | .WithMany("Childrens") |
| | | .WithMany("Children") |
| | | .HasForeignKey("ParentId"); |
| | | |
| | | b.Navigation("Category"); |
| | |
| | | modelBuilder.Entity("FlexJobApi.Core.Menu", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.Menu", "Parent") |
| | | .WithMany("Childrens") |
| | | .WithMany("Children") |
| | | .HasForeignKey("ParentId"); |
| | | |
| | | b.Navigation("Parent"); |
| | |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.RoleResource", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.Menu", "Menu") |
| | | b.HasOne("FlexJobApi.Core.Resource", "Resource") |
| | | .WithMany() |
| | | .HasForeignKey("MenuId") |
| | | .HasForeignKey("ResourceId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("Menu"); |
| | | b.Navigation("Resource"); |
| | | |
| | | b.Navigation("Role"); |
| | | }); |
| | |
| | | modelBuilder.Entity("FlexJobApi.Core.UserInfoRole", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.Role", "Role") |
| | | .WithMany() |
| | | .WithMany("UserInfoRoles") |
| | | .HasForeignKey("RoleId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Department", b => |
| | | { |
| | | b.Navigation("Childrens"); |
| | | b.Navigation("Children"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.DictionaryData", b => |
| | | { |
| | | b.Navigation("Childrens"); |
| | | b.Navigation("Children"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Enterprise", b => |
| | |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Menu", b => |
| | | { |
| | | b.Navigation("Childrens"); |
| | | b.Navigation("Children"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Role", b => |
| | |
| | | b.Navigation("RoleMenus"); |
| | | |
| | | b.Navigation("RoleResources"); |
| | | |
| | | b.Navigation("UserInfoRoles"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfo", b => |