diff --git a/server/AyaNova/models/WorkOrder.cs b/server/AyaNova/models/WorkOrder.cs index d1d94b7a..eb2852b1 100644 --- a/server/AyaNova/models/WorkOrder.cs +++ b/server/AyaNova/models/WorkOrder.cs @@ -98,6 +98,20 @@ namespace AyaNova.Models [NotMapped] public bool IsCompleteRecord { get; set; } = true;//indicates if some items were removed due to user role / type restrictions (i.e. woitems they are not scheduled on) + [NotMapped] + public bool UserIsRestrictedType { get; set; } + [NotMapped] + public bool UserIsTechRestricted { get; set; } + [NotMapped] + public bool UserIsSubContractorFull { get; set; } + [NotMapped] + public bool UserIsSubContractorRestricted { get; set; } + [NotMapped] + public bool UserCanViewPartCosts { get; set; } + [NotMapped] + public bool UserCanViewLaborOrTravelRateCosts { get; set; } + [NotMapped] + public bool UserCanViewLoanerCosts { get; set; } [NotMapped, JsonIgnore] public AyaType AyaType { get => AyaType.WorkOrder; }