using Meezi.Core.Enums;

namespace Meezi.Core.Entities;

public class Customer : TenantEntity
{
    public string Name { get; set; } = string.Empty;
    public string Phone { get; set; } = string.Empty;
    public string? NationalId { get; set; }
    public string? BirthDateJalali { get; set; }
    public CustomerGroup Group { get; set; } = CustomerGroup.Regular;
    public int LoyaltyPoints { get; set; }
    public string? ReferredBy { get; set; }

    public Cafe Cafe { get; set; } = null!;
    public ICollection<Order> Orders { get; set; } = [];
}
