initial commit

This commit is contained in:
2026-07-21 13:52:43 +07:00
commit f0e6f38940
881 changed files with 66309 additions and 0 deletions
@@ -0,0 +1,33 @@
using Indotalent.Data.Entities;
using Microsoft.EntityFrameworkCore;
namespace Indotalent.Infrastructure.Database.Demo;
public static class EmployeeGroupSeeder
{
public static async Task GenerateDataAsync(AppDbContext context)
{
if (await context.EmployeeGroup.AnyAsync()) return;
var employeeGroups = new List<EmployeeGroup>
{
new EmployeeGroup { Name = "Medical Doctors & Specialists" },
new EmployeeGroup { Name = "Registered Nurses & Care Staff" },
new EmployeeGroup { Name = "Pharmacy & Dispensing Team" },
new EmployeeGroup { Name = "Laboratory & Diagnostic Technicians" },
new EmployeeGroup { Name = "Radiology & Imaging Technicians" },
new EmployeeGroup { Name = "Dental & Allied Health Professionals" },
new EmployeeGroup { Name = "Patient Reception & Front Desk" },
new EmployeeGroup { Name = "Medical Billing & Insurance" },
new EmployeeGroup { Name = "Clinic Administration & Management" },
new EmployeeGroup { Name = "Facility Maintenance & Security" }
};
foreach (var group in employeeGroups)
{
await context.EmployeeGroup.AddAsync(group);
}
await context.SaveChangesAsync();
}
}