shoc-backend/Data.SeaHavenIndustries/Models/DispatchUpliftRequestDocument.cs
Arthur Bassi 2f4b783615 fix(uplifts): open evidence by work-order access and keep every file
Auto-approved evidence was hidden because download checked the approval tier. Viewers of the work order can open it, and a request can store more than one scanned document.
2026-09-28 16:24:26 -03:00

15 lines
477 B
C#

using System.ComponentModel.DataAnnotations.Schema;
namespace Data.SeaHavenIndustries
{
public class DispatchUpliftRequestDocument
{
public int UpliftRequestId { get; set; }
[ForeignKey(nameof(UpliftRequestId))]
public virtual DispatchUpliftRequest? UpliftRequest { get; set; }
public int DocumentId { get; set; }
[ForeignKey(nameof(DocumentId))]
public virtual VendorCompletionDocument? Document { get; set; }
}
}