ef15fd6247
Full backend implementation: - Multi-tenant cafe/restaurant management (menus, orders, tables, staff) - POS order flow with ZarinPal and Snappfood payment integration - OTP authentication via Kavenegar SMS - QR digital menu with public discover/finder endpoints - Customer loyalty, coupons, CRM - PostgreSQL via EF Core, Redis for caching/sessions - Background jobs, webhook handlers - Full migration history Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
29 lines
1.1 KiB
C#
29 lines
1.1 KiB
C#
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),
|
|
];
|
|
}
|