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

namespace Dilon.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="d0ead3dc-5096-4e15-bc6d-f640be5301ec", SysPosId="269236c4-d74e-4e54-9d50-f6f61580a197" },
                new SysEmpPos{SysEmpId="d0ead3dc-5096-4e15-bc6d-f640be5301ec", SysPosId="46c68a62-f119-4ff7-b621-0bbd77504538" },
                new SysEmpPos{SysEmpId="5398fb9a-2209-4ce7-a2c1-b6a983e502b5", SysPosId="5bd8c466-2bca-4386-a551-daac78e3cee8" },
                new SysEmpPos{SysEmpId="16a74726-e156-499f-9942-0e0e24ad0c3f", SysPosId="269236c4-d74e-4e54-9d50-f6f61580a197" }
            };
        }
    }
}
