using PSTW_CentralSystem.Models; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace PSTW_CentralSystem.Areas.Inventory.Models { [Table("request")] public class RequestModel { [Key] public int requestId { get; set; } public int ProductId { get; set; } [ForeignKey("ProductId")] public virtual ProductModel? Product { get; set; } public int? StationId { get; set; } [ForeignKey("StationId")] public virtual StationModel? Station { get; set; } public int UserId { get; set; } [ForeignKey("UserId")] public virtual UserModel? User { get; set; } public string? ProductCategory { get; set; } public string? remarkUser { get; set; } public string? remarkMasterInv { get; set; } public string? status { get; set; } public DateTime requestDate { get; set; } public DateTime? approvalDate { get; set; } public int? RequestQuantity { get; set; } public string? Document { get; set; } } }