using TakeoutSaaS.Shared.Abstractions.Entities;

namespace TakeoutSaaS.Domain.Coupons.Entities;

/// <summary>
/// 新客成长记录。
/// </summary>
public sealed class NewCustomerGrowthRecord : MultiTenantEntityBase
{
    /// <summary>
    /// 门店 ID。
    /// </summary>
    public long StoreId { get; set; }

    /// <summary>
    /// 顾客业务唯一键。
    /// </summary>
    public string CustomerKey { get; set; } = string.Empty;

    /// <summary>
    /// 顾客展示名。
    /// </summary>
    public string? CustomerName { get; set; }

    /// <summary>
    /// 注册时间。
    /// </summary>
    public DateTime RegisteredAt { get; set; }

    /// <summary>
    /// 礼包领取时间。
    /// </summary>
    public DateTime? GiftClaimedAt { get; set; }

    /// <summary>
    /// 首单时间。
    /// </summary>
    public DateTime? FirstOrderAt { get; set; }

    /// <summary>
    /// 渠道来源。
    /// </summary>
    public string? SourceChannel { get; set; }
}
