inventory_mobile/pstw_centralizesystem/Areas/IT/Models/ItRequestHardware.cs
2025-12-15 15:35:35 +08:00

27 lines
732 B
C#

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; }
}
}