using Meezi.Core.Enums;

namespace Meezi.Infrastructure.Data;

/// <summary>Demo staff for development OTP login (see data/demo-credentials.json).</summary>
public static class DemoEmployeesCatalog
{
    public const string DefaultBranchId = "branch_demo_main";

    public sealed record EmployeeSeed(
        string Id,
        string Name,
        string Phone,
        EmployeeRole Role,
        string BranchId = DefaultBranchId,
        decimal BaseSalary = 0);

    public static IReadOnlyList<EmployeeSeed> Employees { get; } =
    [
        new("emp_demo_owner", "مدیر دمو", "09121234567", EmployeeRole.Owner),
        new("emp_demo_manager", "مدیر شعبه", "09121111111", EmployeeRole.Manager),
        new("emp_demo_cashier", "صندوقدار", "09122222222", EmployeeRole.Cashier),
        new("emp_demo_waiter", "گارسون", "09123333333", EmployeeRole.Waiter),
        new("emp_demo_waiter2", "گارسون ۲", "09124444444", EmployeeRole.Waiter),
        new("emp_demo_chef", "آشپز", "09125555555", EmployeeRole.Chef),
        new("emp_demo_delivery", "پیک", "09126666666", EmployeeRole.Delivery),
    ];
}
