mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-01 08:43:15 +00:00
33 lines
948 B
C#
33 lines
948 B
C#
|
|
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; }
|
||
|
|
}
|
||
|
|
}
|