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

namespace YBEE.EQM.Core.SeedData;

/// <summary>
/// 机构种子数据
/// </summary>
public class SysOrgSeedData : IEntitySeedData<SysOrg>
{
    public IEnumerable<SysOrg> HasData(DbContext dbContext, Type dbContextLocator)
    {
        return new[]
        {
            new SysOrg { Id = 1, Pid = 0, Pids = "[0],", OrgType = OrgType.CENTER, OrgFundSource = OrgFundSource.NONE, EducationStage = EducationStage.NONE, UrbanRuralType = UrbanRuralType.NONE, Code = "000", UniqueCode = "A000", FullName = "渝北区教育委员会", Name = "区教委", ShortName = "区教委", ShortName2 = "区教委", TqesId = 0, TqesCode = "", Sort = 10, Status = CommonStatus.ENABLE, CreateSysUserId = 1, CreateTime = DateTime.Now },
        };
    }
}
