update 区域管理名称修改等

This commit is contained in:
2021-04-29 18:21:13 +08:00
parent 5f7dae2380
commit 98c992bc89
26 changed files with 388 additions and 331 deletions

View File

@@ -0,0 +1,23 @@
using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ewide.Core
{
public class SysAreaCodeData : IEntitySeedData<SysAreaCode>
{
public IEnumerable<SysAreaCode> HasData(DbContext dbContext, Type dbContextLocator)
{
return new[]
{
new SysAreaCode{Code="3302",ShowCode="3302",Name="XX市",Note="XX市",LevelType=1,Sort=0 },
new SysAreaCode{Code="330266",ShowCode="330266",Name="测试区",Note="测试区",LevelType=2,Sort=100 },
new SysAreaCode{Code="330266001",ShowCode="330266001",Name="测试街道",Note="测试街道",LevelType=3,Sort=0},
};
}
}
}