File was renamed from FlexJobApi.Database.Migrations/Migrations/20250801052306_UpdateTreeData0801.Designer.cs |
| | |
| | | namespace FlexJobApi.Database.Migrations.Migrations |
| | | { |
| | | [DbContext(typeof(DefaultDbContext))] |
| | | [Migration("20250801052306_UpdateTreeData0801")] |
| | | partial class UpdateTreeData0801 |
| | | [Migration("20250801141922_UpdateUser0801")] |
| | | partial class UpdateUser0801 |
| | | { |
| | | /// <inheritdoc /> |
| | | protected override void BuildTargetModel(ModelBuilder modelBuilder) |
| | |
| | | .HasComment("上级Id"); |
| | | |
| | | b.Property<string>("Path") |
| | | .HasColumnType("nvarchar(max)"); |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("部门路径"); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasColumnType("nvarchar(max)") |
| | |
| | | .HasComment("上级Id"); |
| | | |
| | | b.Property<string>("Path") |
| | | .HasColumnType("nvarchar(max)"); |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("字典路径"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | |
| | | .HasColumnType("bit") |
| | | .HasComment("是否隐藏"); |
| | | |
| | | b.Property<string>("Location") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("位置(用于按钮)"); |
| | | |
| | | b.Property<string>("Name") |
| | | .IsRequired() |
| | | .HasMaxLength(128) |
| | |
| | | .HasComment("上级Id"); |
| | | |
| | | b.Property<string>("Path") |
| | | .HasColumnType("nvarchar(max)"); |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("菜单路径"); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasColumnType("nvarchar(max)") |
| | |
| | | .HasComment("访问级别"); |
| | | |
| | | b.Property<string>("Width") |
| | | .HasColumnType("nvarchar(max)"); |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("列宽(用于按钮/列/元素)"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | |
| | | { |
| | | t.HasComment("菜单"); |
| | | }); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Resource", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Code") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | |
| | | b.Property<bool>("IsExpired") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int>("Method") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("Name") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("RequestTypeName") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("ResponseTypeName") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Route") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("Service") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("Resource"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Role", b => |
| | |
| | | }); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.RoleWebApi", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.RoleResource", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | |
| | | .HasComment("创建操作人"); |
| | | |
| | | b.Property<int?>("DataPower") |
| | | .HasColumnType("int") |
| | | .HasComment("数据权限"); |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | |
| | | 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") |
| | |
| | | |
| | | b.HasIndex("RoleId"); |
| | | |
| | | b.ToTable("RoleWebApi", t => |
| | | { |
| | | t.HasComment("角色接口"); |
| | | }); |
| | | b.ToTable("RoleResource"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfo", b => |
| | |
| | | }); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.WebApi", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("Code") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("编号"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否删除"); |
| | | |
| | | b.Property<bool>("IsDisabled") |
| | | .HasColumnType("bit") |
| | | .HasComment("是否禁用"); |
| | | |
| | | b.Property<int>("Method") |
| | | .HasColumnType("int") |
| | | .HasComment("请求方式"); |
| | | |
| | | b.Property<string>("Name") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("名称"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("跟踪Id"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | |
| | | b.Property<string>("Url") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("路由地址"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("WebApi", t => |
| | | { |
| | | t.HasComment("接口"); |
| | | }); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.Department", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.Enterprise", "Enterprise") |
| | |
| | | b.Navigation("Role"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.RoleWebApi", b => |
| | | modelBuilder.Entity("FlexJobApi.Core.RoleResource", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.Menu", "Menu") |
| | | .WithMany() |