namespace LittleShop.Client.Models;

public class CustomerMessage
{
    public Guid Id { get; set; }
    public Guid CustomerId { get; set; }
    public long TelegramUserId { get; set; }
    public string Subject { get; set; } = string.Empty;
    public string Content { get; set; } = string.Empty;
    public MessageType Type { get; set; }
    public bool IsUrgent { get; set; }
    public string? OrderReference { get; set; }
    public DateTime CreatedAt { get; set; }
    public int Direction { get; set; } // 0 = AdminToCustomer, 1 = CustomerToAdmin
}

public enum MessageType
{
    OrderUpdate = 0,
    PaymentReminder = 1,
    ShippingInfo = 2,
    CustomerService = 3,
    Marketing = 4,
    SystemAlert = 5
}