添加种子数据基础
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Model.SeedData
|
||||
{
|
||||
public abstract class AbstractSeed<T>
|
||||
{
|
||||
protected List<T> Entitys { get; set; } = new List<T>();
|
||||
public virtual List<T> GetSeed()
|
||||
{
|
||||
return Entitys;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user