This commit is contained in:
@@ -8,7 +8,6 @@ namespace AyaNova.Models
|
||||
{
|
||||
public class WorkOrderItemTravel : ICoreBizObjectModel
|
||||
{
|
||||
|
||||
public long Id { get; set; }
|
||||
public uint Concurrency { get; set; }
|
||||
|
||||
@@ -26,13 +25,18 @@ namespace AyaNova.Models
|
||||
public decimal Price { get; set; }//contract adjusted price or a copy of BasePrice if no contract
|
||||
public decimal ManualDiscountPct { get; set; }// (V7 "Discount") ad-hoc / % off of the contractprice (which is always set regardless if contract or not) entered manually
|
||||
|
||||
//UTILITY FIELDS
|
||||
[NotMapped]
|
||||
public bool IsDirty { get; set; } = false;//never dirty coming from the server
|
||||
|
||||
|
||||
[Required]
|
||||
public long WorkOrderItemId { get; set; }
|
||||
[JsonIgnore]
|
||||
public WorkOrderItem WorkOrderItem { get; set; }
|
||||
|
||||
[NotMapped, JsonIgnore]
|
||||
public AyaType AyaType { get => AyaType.WorkOrderItemTravel; }
|
||||
public AyaType AyaType { get => AyaType.WorkOrderItemTravel; }
|
||||
|
||||
}//eoc
|
||||
}//eons
|
||||
|
||||
Reference in New Issue
Block a user