using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Fitness_core_BE.Models { public class TicketMessage { [Key] public Guid MessageId { get; set; } public bool IsSentByAdmin { get; set; } public string Message { get; set; } public string? AttachmentURL { get; set; } public int? FKDocumentId { get; set; } [ForeignKey("FKDocumentId")] public virtual UserDocument UserDocument { get; set; } public Guid FKTicketId { get; set; } [ForeignKey("FKTicketId")] public virtual Ticket Ticket { get; set; } public bool IsActive { get; set; } = true; public DateTime CreateDate { get; set; } = DateTime.UtcNow; } }