using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;

namespace Dilon.Core
{
    /// <summary>
    /// 系统员工表种子数据
    /// </summary>
    public class SysEmpSeedData : IEntitySeedData<SysEmp>
    {
        /// <summary>
        /// 员工种子数据
        /// </summary>
        /// <param name="dbContext"></param>
        /// <param name="dbContextLocator"></param>
        /// <returns></returns>
        public IEnumerable<SysEmp> HasData(DbContext dbContext, Type dbContextLocator)
        {
            return new[]
            {
                new SysEmp{Id="d0ead3dc-5096-4e15-bc6d-f640be5301ec", JobNum="D1001", OrgId="12d888de-f55d-4c88-b0a0-7c3510664d97", OrgName="华夏集团" },//142307070910551
                new SysEmp{Id="5398fb9a-2209-4ce7-a2c1-b6a983e502b5", JobNum="D1002", OrgId="12d888de-f55d-4c88-b0a0-7c3510664d97", OrgName="华夏集团" },//142307070910552
                new SysEmp{Id="16a74726-e156-499f-9942-0e0e24ad0c3f", JobNum="D1003", OrgId="12d888de-f55d-4c88-b0a0-7c3510664d97", OrgName="华夏集团" }//142307070910553
            };
        }
    }
}
