部门种子数据

This commit is contained in:
橙子
2022-09-25 18:58:17 +08:00
parent 8ef2c12be1
commit b665ec5717
11 changed files with 633 additions and 4 deletions

View File

@@ -26,6 +26,20 @@ namespace Yi.Framework.Model.SeedData
{
return new DictionarySeed().GetSeed();
}
public static List<PostEntity> GetPostSeed()
{
return new PostSeed().GetSeed();
}
public static List<DictionaryInfoEntity> GetDictionaryInfoSeed()
{
return new DictionaryInfoSeed().GetSeed();
}
public static List<DeptEntity> GetDeptSeed()
{
return new DeptSeed().GetSeed();
}
public static List<UserRoleEntity> GetUserRoleSeed(List<UserEntity> users, List<RoleEntity> roles)
{
List<UserRoleEntity> userRoleEntities = new();