feat(rbac): 为字典种子数据添加列表样式类

This commit is contained in:
wcg
2026-01-04 10:43:19 +08:00
parent 5a212d7949
commit 38463fc477

View File

@@ -32,7 +32,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100, OrderNum = 100,
Remark = "性别男", Remark = "性别男",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "default"
}; };
entities.Add(dictInfo1); entities.Add(dictInfo1);
@@ -46,7 +47,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 99, OrderNum = 99,
Remark = "性别女", Remark = "性别女",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "default"
}; };
entities.Add(dictInfo2); entities.Add(dictInfo2);
@@ -59,7 +61,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 98, OrderNum = 98,
Remark = "性别未知", Remark = "性别未知",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "default"
}; };
entities.Add(dictInfo3); entities.Add(dictInfo3);
@@ -74,7 +77,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100, OrderNum = 100,
Remark = "显示菜单", Remark = "显示菜单",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "success"
}; };
entities.Add(dictInfo4); entities.Add(dictInfo4);
@@ -87,7 +91,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 99, OrderNum = 99,
Remark = "隐藏菜单", Remark = "隐藏菜单",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "info"
}; };
entities.Add(dictInfo5); entities.Add(dictInfo5);
@@ -102,7 +107,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100, OrderNum = 100,
Remark = "正常状态", Remark = "正常状态",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "success"
}; };
entities.Add(dictInfo6); entities.Add(dictInfo6);
DictionaryEntity dictInfo7 = new DictionaryEntity() DictionaryEntity dictInfo7 = new DictionaryEntity()
@@ -130,7 +136,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100, OrderNum = 100,
Remark = "正常状态", Remark = "正常状态",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "success"
}; };
entities.Add(dictInfo8); entities.Add(dictInfo8);
DictionaryEntity dictInfo9 = new DictionaryEntity() DictionaryEntity dictInfo9 = new DictionaryEntity()
@@ -159,7 +166,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100, OrderNum = 100,
Remark = "默认分组", Remark = "默认分组",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "default"
}; };
entities.Add(dictInfo10); entities.Add(dictInfo10);
DictionaryEntity dictInfo11 = new DictionaryEntity() DictionaryEntity dictInfo11 = new DictionaryEntity()
@@ -171,7 +179,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 99, OrderNum = 99,
Remark = "系统分组", Remark = "系统分组",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "primary"
}; };
entities.Add(dictInfo11); entities.Add(dictInfo11);
@@ -186,7 +195,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100, OrderNum = 100,
Remark = "系统默认是", Remark = "系统默认是",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "success"
}; };
entities.Add(dictInfo12); entities.Add(dictInfo12);
DictionaryEntity dictInfo13 = new DictionaryEntity() DictionaryEntity dictInfo13 = new DictionaryEntity()
@@ -214,7 +224,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100, OrderNum = 100,
Remark = "通知", Remark = "通知",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "info"
}; };
entities.Add(dictInfo14); entities.Add(dictInfo14);
DictionaryEntity dictInfo15 = new DictionaryEntity() DictionaryEntity dictInfo15 = new DictionaryEntity()
@@ -226,7 +237,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 99, OrderNum = 99,
Remark = "公告", Remark = "公告",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "primary"
}; };
entities.Add(dictInfo15); entities.Add(dictInfo15);
@@ -239,7 +251,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100, OrderNum = 100,
Remark = "正常状态", Remark = "正常状态",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "success"
}; };
entities.Add(dictInfo16); entities.Add(dictInfo16);
DictionaryEntity dictInfo17 = new DictionaryEntity() DictionaryEntity dictInfo17 = new DictionaryEntity()
@@ -265,7 +278,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100, OrderNum = 100,
Remark = "新增操作", Remark = "新增操作",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "success"
}; };
entities.Add(dictInfo18); entities.Add(dictInfo18);
DictionaryEntity dictInfo19 = new DictionaryEntity() DictionaryEntity dictInfo19 = new DictionaryEntity()
@@ -277,7 +291,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 99, OrderNum = 99,
Remark = "修改操作", Remark = "修改操作",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "warning"
}; };
entities.Add(dictInfo19); entities.Add(dictInfo19);
DictionaryEntity dictInfo22 = new DictionaryEntity() DictionaryEntity dictInfo22 = new DictionaryEntity()
@@ -302,7 +317,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 97, OrderNum = 97,
Remark = "授权操作", Remark = "授权操作",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "primary"
}; };
entities.Add(dictInfo23); entities.Add(dictInfo23);
DictionaryEntity dictInfo24 = new DictionaryEntity() DictionaryEntity dictInfo24 = new DictionaryEntity()
@@ -314,7 +330,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 96, OrderNum = 96,
Remark = "导出操作", Remark = "导出操作",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "info"
}; };
entities.Add(dictInfo24); entities.Add(dictInfo24);
DictionaryEntity dictInfo25 = new DictionaryEntity() DictionaryEntity dictInfo25 = new DictionaryEntity()
@@ -326,7 +343,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 95, OrderNum = 95,
Remark = "导入操作", Remark = "导入操作",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "info"
}; };
entities.Add(dictInfo25); entities.Add(dictInfo25);
DictionaryEntity dictInfo26 = new DictionaryEntity() DictionaryEntity dictInfo26 = new DictionaryEntity()
@@ -338,7 +356,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 94, OrderNum = 94,
Remark = "强退操作", Remark = "强退操作",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "warning"
}; };
entities.Add(dictInfo26); entities.Add(dictInfo26);
DictionaryEntity dictInfo27 = new DictionaryEntity() DictionaryEntity dictInfo27 = new DictionaryEntity()
@@ -350,7 +369,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 93, OrderNum = 93,
Remark = "生成代码操作", Remark = "生成代码操作",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "primary"
}; };
entities.Add(dictInfo27); entities.Add(dictInfo27);
DictionaryEntity dictInfo28 = new DictionaryEntity() DictionaryEntity dictInfo28 = new DictionaryEntity()
@@ -378,7 +398,8 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
OrderNum = 100, OrderNum = 100,
Remark = "正常状态", Remark = "正常状态",
IsDeleted = false, IsDeleted = false,
State = true State = true,
ListClass = "success"
}; };
entities.Add(dictInfo20); entities.Add(dictInfo20);
DictionaryEntity dictInfo21 = new DictionaryEntity() DictionaryEntity dictInfo21 = new DictionaryEntity()