Skip to content

Commit

Permalink
Make InspectionType required again
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadUsama-afk-equinor authored and UsamaEquinorAFK committed Jan 30, 2024
1 parent 546b07e commit f4ffeb5
Show file tree
Hide file tree
Showing 4 changed files with 1,446 additions and 2 deletions.
3 changes: 2 additions & 1 deletion backend/api/Database/Models/Inspection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ public Inspection(Inspection copy, InspectionStatus? inspectionStatus = null)
// ReSharper disable once AutoPropertyCanBeMadeGetOnly.Local
public string IsarStepId { get; private set; } = Guid.NewGuid().ToString();

public Position? InspectionTarget { get; set; }
[Required]
public Position InspectionTarget { get; set; }

[Required]
public InspectionStatus Status
Expand Down
Loading

0 comments on commit f4ffeb5

Please sign in to comment.