feat(api): .NET 10 multi-tenant REST API

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>
This commit is contained in:
soroush.asadi
2026-05-27 21:33:48 +03:30
parent 03376b3ea1
commit ef15fd6247
472 changed files with 120358 additions and 0 deletions
@@ -0,0 +1,28 @@
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),
];
}