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 PatientGroupSeeder
{
public static async Task GenerateDataAsync(AppDbContext context)
{
if (await context.PatientGroup.AnyAsync()) return;
var patientGroups = new List<PatientGroup>
{
new PatientGroup { Name = "Self-Pay / General Patients" },
new PatientGroup { Name = "Private Health Insurance" },
new PatientGroup { Name = "Government Insurance / BPJS" },
new PatientGroup { Name = "Corporate Partner Employees" },
new PatientGroup { Name = "Pediatric & Child Care" },
new PatientGroup { Name = "Maternity & Women's Health" },
new PatientGroup { Name = "Geriatric & Senior Care" },
new PatientGroup { Name = "Chronic Disease Management" },
new PatientGroup { Name = "External Clinic Referrals" },
new PatientGroup { Name = "VIP / Premium Care Members" }
};
foreach (var group in patientGroups)
{
await context.PatientGroup.AddAsync(group);
}
await context.SaveChangesAsync();
}
}