mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-10 11:40:52 +08:00
30 lines
765 B
C#
30 lines
765 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
using Yi.Framework.Model.Models;
|
|||
|
|
|
|||
|
|
namespace Yi.Framework.Model.SeedData
|
|||
|
|
{
|
|||
|
|
public class SeedFactory
|
|||
|
|
{
|
|||
|
|
public static List<UserEntity> GetUserSeed()
|
|||
|
|
{
|
|||
|
|
return new UserSeed().GetSeed();
|
|||
|
|
}
|
|||
|
|
public static List<RoleEntity> GetRoleSeed()
|
|||
|
|
{
|
|||
|
|
return new RoleSeed().GetSeed();
|
|||
|
|
}
|
|||
|
|
public static List<MenuEntity> GetMenuSeed()
|
|||
|
|
{
|
|||
|
|
return new MenuSeed().GetSeed();
|
|||
|
|
}
|
|||
|
|
public static List<UserRoleEntity> GetUserRoleSeed(List<UserEntity> users,List<RoleEntity> roles)
|
|||
|
|
{
|
|||
|
|
return new List<UserRoleEntity>();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|