shoc-backend/Data.SeaHavenIndustries/Models/DispatchUpliftRequest.cs

33 lines
948 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Data.SeaHavenIndustries
{
public class DispatchUpliftRequest : FullAuditEntity
{
public int DispatchId { get; set; }
[ForeignKey(nameof(DispatchId))]
public virtual Dispatch? Dispatch { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal? CurrentNTE { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal RequestedNTE { get; set; }
public string? VendorReason { get; set; }
[Required]
[MaxLength(20)]
public string Status { get; set; } = "Pending";
public int RequiredTier { get; set; }
public string? RequestedByVendorName { get; set; }
public DateTime? DecidedAt { get; set; }
public string? DecidedByUserId { get; set; }
public string? DecisionNote { get; set; }
}
}