29 lines
961 B
C#
29 lines
961 B
C#
using Marco.Pms.Model.Employees;
|
|
using Marco.Pms.Model.Utilities;
|
|
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Marco.Pms.Model.Inventory
|
|
{
|
|
public class PurchaseOrderStatusLogs : TenantRelation
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid PreviousPurchaseStatusId { get; set; }
|
|
|
|
[ValidateNever]
|
|
[ForeignKey("PreviousPurchaseStatusId")]
|
|
public PurchaseOrderStatus? PreviousPurchaseStatus { get; set; }
|
|
public string? Comment { get; set; }
|
|
public Guid PurchaseStatusId { get; set; }
|
|
|
|
[ValidateNever]
|
|
[ForeignKey("PurchaseStatusId")]
|
|
public PurchaseOrderStatus? PurchaseStatus { get; set; }
|
|
public DateTime UpdatedAt { get; set; }
|
|
public Guid UpdatedById { get; set; }
|
|
|
|
[ValidateNever]
|
|
[ForeignKey("UpdatedById")]
|
|
public Employee? UpdatedBy { get; set; }
|
|
}
|
|
} |