using Marco.Pms.Model.ViewModels.Activities;

namespace Marco.Pms.Model.ViewModels.Forum
{
    public class ForumTicketVM
    {
        public Guid Id { get; set; }
        public string Subject { get; set; } = string.Empty;
        public string Description { get; set; } = string.Empty;
        public TicketStatusVM? Status { get; set; }
        public TicketTypeVM? Type { get; set; }         // QualityIssue, HelpDesk, Feedback
        public TicketPriorityVM? Priority { get; set; }
        public BasicEmployeeVM? CreatedBy { get; set; }
        public DateTime CreatedAt { get; set; }
        public Guid? LinkedProjectId { get; set; }
        public string? ProjectName { get; set; }
        public Guid? LinkedActivityId { get; set; } // task or project ID
        public string? ActivityName { get; set; }
        public ICollection<TicketCommentVM>? Comments { get; set; } // view model
        public ICollection<TicketAttachmentVM>? Attachments { get; set; } // view model
        public ICollection<TicketTagVM>? Tags { get; set; }
    }
}
