From 4ff56211fc609419efb1f8c15b1d684d72294ddc Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期二, 05 八月 2025 18:04:29 +0800
Subject: [PATCH] feat:角色开发

---
 FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs |   37 ++++++++++++++++++++++++++++++++++---
 1 files changed, 34 insertions(+), 3 deletions(-)

diff --git a/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs b/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
index 92d7f88..e20265a 100644
--- a/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
+++ b/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
@@ -124,6 +124,10 @@
                         .HasColumnType("nvarchar(128)")
                         .HasComment("鍚嶇О");
 
+                    b.Property<string>("Remark")
+                        .HasColumnType("nvarchar(max)")
+                        .HasComment("澶囨敞");
+
                     b.Property<int>("Sort")
                         .HasColumnType("int")
                         .HasComment("鎺掑簭");
@@ -247,6 +251,16 @@
                     b.Property<Guid?>("BankCardImgId")
                         .HasColumnType("uniqueidentifier")
                         .HasComment("娉曚汉鎴栫粡鍔炰汉閾惰鍗$収鐗嘔d");
+
+                    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");
@@ -722,11 +736,16 @@
                         .HasComment("鍒涘缓鎿嶄綔浜�");
 
                     b.Property<int>("DataPower")
-                        .HasColumnType("int");
+                        .HasColumnType("int")
+                        .HasComment("鏁版嵁鏉冮檺");
 
                     b.Property<bool>("IsDeleted")
                         .HasColumnType("bit")
                         .HasComment("鏄惁鍒犻櫎");
+
+                    b.Property<bool>("IsDisabled")
+                        .HasColumnType("bit")
+                        .HasComment("鏄惁绂佺敤");
 
                     b.Property<int>("MinLevel")
                         .HasColumnType("int")
@@ -739,7 +758,8 @@
                         .HasComment("鍚嶇О");
 
                     b.Property<string>("Remark")
-                        .HasColumnType("nvarchar(max)");
+                        .HasColumnType("nvarchar(max)")
+                        .HasComment("澶囨敞");
 
                     b.Property<int>("Sort")
                         .HasColumnType("int")
@@ -1310,9 +1330,17 @@
                         .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)")
@@ -1375,6 +1403,7 @@
                             IsDeleted = false,
                             Level = 999,
                             Sort = 0,
+                            Status = 0,
                             Type = 100,
                             UserAuthId = new Guid("11111111-1111-1111-1111-111111111111")
                         });
@@ -2089,7 +2118,7 @@
             modelBuilder.Entity("FlexJobApi.Core.UserInfoRole", b =>
                 {
                     b.HasOne("FlexJobApi.Core.Role", "Role")
-                        .WithMany()
+                        .WithMany("UserInfoRoles")
                         .HasForeignKey("RoleId")
                         .OnDelete(DeleteBehavior.Cascade)
                         .IsRequired();
@@ -2132,6 +2161,8 @@
                     b.Navigation("RoleMenus");
 
                     b.Navigation("RoleResources");
+
+                    b.Navigation("UserInfoRoles");
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.TaskInfo", b =>

--
Gitblit v1.9.1