using TakeoutSaaS.Shared.Abstractions.Entities;

namespace TakeoutSaaS.Domain.CustomerService.Entities;

/// <summary>
/// 工单评论/流转记录。
/// </summary>
public sealed class TicketComment : MultiTenantEntityBase
{
    /// <summary>
    /// 工单标识。
    /// </summary>
    public long SupportTicketId { get; set; }

    /// <summary>
    /// 评论人 ID。
    /// </summary>
    public long? AuthorUserId { get; set; }

    /// <summary>
    /// 评论内容。
    /// </summary>
    public string Content { get; set; } = string.Empty;

    /// <summary>
    /// 是否内部备注。
    /// </summary>
    public bool IsInternal { get; set; }

    /// <summary>
    /// 附件 JSON。
    /// </summary>
    public string? AttachmentsJson { get; set; }
}
