This commit is contained in:
@@ -98,6 +98,20 @@ namespace AyaNova.Models
|
|||||||
[NotMapped]
|
[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)
|
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]
|
[NotMapped, JsonIgnore]
|
||||||
public AyaType AyaType { get => AyaType.WorkOrder; }
|
public AyaType AyaType { get => AyaType.WorkOrder; }
|
||||||
|
|||||||
Reference in New Issue
Block a user