29 lines
926 B
C#
29 lines
926 B
C#
using Marco.Pms.Model.Employees;
|
|
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Marco.Pms.Model.Inventory
|
|
{
|
|
public class RequisitionStatusLogs
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid PreviousRequisitionStatusId { get; set; }
|
|
|
|
[ValidateNever]
|
|
[ForeignKey("PreviousRequisitionStatusId")]
|
|
public PurchaseOrderStatus? PreviousRequisitionStatus { get; set; }
|
|
public string? Comment { get; set; }
|
|
public Guid RequisitionStatusId { get; set; }
|
|
|
|
[ValidateNever]
|
|
[ForeignKey("RequisitionStatusId")]
|
|
public RequisitionStatus? RequisitionStatus { get; set; }
|
|
public DateTime UpdatedAt { get; set; }
|
|
public Guid UpdatedById { get; set; }
|
|
|
|
[ValidateNever]
|
|
[ForeignKey("UpdatedById")]
|
|
public Employee? UpdatedBy { get; set; }
|
|
}
|
|
}
|