schangxiang@126.com
2024-08-28 6667b0cc7e221402fd50582151457fcf9ac38622
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
 
namespace iWare.Wms.Core
{
    /// <summary>
    /// 系统员工职位表种子数据
    /// </summary>
    public class SysEmpPosSeedData : IEntitySeedData<SysEmpPos>
    {
        /// <summary>
        /// 员工种子数据
        /// </summary>
        /// <param name="dbContext"></param>
        /// <param name="dbContextLocator"></param>
        /// <returns></returns>
        public IEnumerable<SysEmpPos> HasData(DbContext dbContext, Type dbContextLocator)
        {
            return new[]
            {
                new SysEmpPos{SysEmpId=142307070910551, SysPosId=142307070910547 },
                new SysEmpPos{SysEmpId=142307070910551, SysPosId=142307070910548 },
                new SysEmpPos{SysEmpId=142307070910552, SysPosId=142307070910549 },
                new SysEmpPos{SysEmpId=142307070910553, SysPosId=142307070910547 },
                new SysEmpPos{SysEmpId=358533464608837, SysPosId=142307070910550 },
                new SysEmpPos{SysEmpId=358536045723717, SysPosId=142307070910550 },
            };
        }
    }
}