This commit is contained in:
2021-04-01 23:39:50 +00:00
parent bacef71d48
commit f608a514fc
11 changed files with 62 additions and 17 deletions

View File

@@ -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