using Marco.Pms.Model.Entitlements; using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel; namespace Marco.Pms.Model.Forum { public class TicketComment { public Guid Id { get; set; } public Guid TicketId { get; set; } public Guid AuthorId { get; set; } public string MessageText { get; set; } = string.Empty; public DateTime SentAt { get; set; } public Guid? ParentMessageId { get; set; } // For threaded replies public ICollection? Attachments { get; set; } [DisplayName("TenantId")] public int TenantId { get; set; } [ValidateNever] [ForeignKey(nameof(TenantId))] public Tenant? Tenant { get; set; } } }