using System;

namespace WebApplication1.Models
{
    public class RequestItemDto
    {
        public int Id { get; set; }

        // "Contact" or "Opinion"
        public string ItemType { get; set; }

        public string StudentId { get; set; }
        public string StudentName { get; set; }

        // contact: SubjectName, opinion: first part of Content or blank
        public string Subject { get; set; }

        // contact-specific:
        public string ProjectType { get; set; }
        public int? TeamSize { get; set; }

        // common textual payload:
        public string Message { get; set; }

        public DateTime Timestamp { get; set; }

        // optionally include statuses
        public ContactStatus? ContactStatus { get; set; }
        public OpinionStatus? OpinionStatus { get; set; }
    }
}
