27 lines
708 B
C#
27 lines
708 B
C#
using Admin.NET.Core;
|
|
using Admin.NET.Application.Entity;
|
|
|
|
namespace Admin.NET.Application.SeedData;
|
|
|
|
/// <summary>
|
|
/// 打印条码详情 表种子数据
|
|
/// </summary>
|
|
public class PrintCodeDetailSeedData: ISqlSugarEntitySeedData<PrintCodeDetail>
|
|
{
|
|
/// <summary>
|
|
/// 种子数据
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public IEnumerable<PrintCodeDetail> HasData()
|
|
{
|
|
string recordsJSON = @"
|
|
[]
|
|
";
|
|
List<PrintCodeDetail> records = Newtonsoft.Json.JsonConvert.DeserializeObject<List<PrintCodeDetail>>(recordsJSON);
|
|
|
|
// 后处理数据的特殊字段
|
|
//for (int i = 0; i < records.Count; i++) { }
|
|
|
|
return records;
|
|
}
|
|
} |