using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace PSTW_CentralSystem.Areas.IT.Models
{
    [Table("it_request_hardware")]
    public class ItRequestHardware
    {
        [Key]
        public int Id { get; set; }

        public int ItRequestId { get; set; }
        [ForeignKey("ItRequestId")]
        public ItRequest? Request { get; set; }

        [MaxLength(100)]
        public string Category { get; set; } = "";  // Notebook, Desktop, etc.

        [MaxLength(100)]
        public string? Purpose { get; set; }    // New / Replacement / Additional

        public string? Justification { get; set; }

        public string? OtherDescription { get; set; }
    }
}
