mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-08 10:40:51 +08:00
24 lines
538 B
C#
24 lines
538 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 MenuSeed: AbstractSeed<MenuEntity>
|
|||
|
|
{
|
|||
|
|
public override List<MenuEntity> GetSeed()
|
|||
|
|
{
|
|||
|
|
MenuEntity menu = new MenuEntity()
|
|||
|
|
{
|
|||
|
|
MenuName="首页",
|
|||
|
|
PermissionCode="*:*:*"
|
|||
|
|
};
|
|||
|
|
Entitys.Add(menu);
|
|||
|
|
return Entitys;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|