using TakeoutSaaS.Domain.Merchants.Enums;
using TakeoutSaaS.Shared.Abstractions.Entities;

namespace TakeoutSaaS.Domain.Merchants.Entities;

/// <summary>
/// 商户入驻审核日志。
/// </summary>
public sealed class MerchantAuditLog : MultiTenantEntityBase
{
    /// <summary>
    /// 商户标识。
    /// </summary>
    public long MerchantId { get; set; }

    /// <summary>
    /// 动作类型。
    /// </summary>
    public MerchantAuditAction Action { get; set; }

    /// <summary>
    /// 标题。
    /// </summary>
    public string Title { get; set; } = string.Empty;

    /// <summary>
    /// 详情描述。
    /// </summary>
    public string? Description { get; set; }

    /// <summary>
    /// 操作人 ID。
    /// </summary>
    public long? OperatorId { get; set; }

    /// <summary>
    /// 操作人名称。
    /// </summary>
    public string? OperatorName { get; set; }
}
