This commit is contained in:
@@ -36,7 +36,7 @@ namespace AyaNova.Models
|
||||
public string CustomerContactName { get; set; }
|
||||
public long? FromQuoteId { get; set; }
|
||||
public long? FromPMId { get; set; }
|
||||
|
||||
|
||||
public DateTime CreatedDate { get; set; } = DateTime.UtcNow;
|
||||
public DateTime? ServiceDate { get; set; }
|
||||
public DateTime? CompleteByDate { get; set; }
|
||||
@@ -86,7 +86,7 @@ namespace AyaNova.Models
|
||||
public string FromQuoteViz { get; set; }
|
||||
[NotMapped]
|
||||
public string FromPMViz { get; set; }
|
||||
|
||||
|
||||
|
||||
[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)
|
||||
@@ -110,7 +110,7 @@ namespace AyaNova.Models
|
||||
[NotMapped, JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
||||
public AyaTypeId GenCopyAttachmentsFrom { get; set; }//INTERNAL, USED TO SIGNIFY ATTACHMENTS NEED TO BE COPIED ON SAVE
|
||||
|
||||
|
||||
|
||||
[NotMapped, JsonIgnore]
|
||||
public AyaType AyaType { get => AyaType.WorkOrder; }
|
||||
|
||||
|
||||
@@ -26,7 +26,17 @@ namespace AyaNova.Models
|
||||
public long WorkOrderId { get; set; }
|
||||
public string TechNotes { get; set; }
|
||||
public long? WorkOrderItemStatusId { get; set; }
|
||||
[NotMapped]
|
||||
public string WorkOrderItemStatusNameViz { get; set; }
|
||||
[NotMapped]
|
||||
public string WorkOrderItemStatusColorViz { get; set; }
|
||||
|
||||
public long? WorkOrderItemPriorityId { get; set; }
|
||||
[NotMapped]
|
||||
public string WorkOrderItemPriorityNameViz { get; set; }
|
||||
[NotMapped]
|
||||
public string WorkOrderItemPriorityColorViz { get; set; }
|
||||
|
||||
public DateTime? RequestDate { get; set; }
|
||||
public bool WarrantyService { get; set; } = false;
|
||||
public int Sequence { get; set; }
|
||||
|
||||
@@ -23,6 +23,14 @@ namespace AyaNova.Models
|
||||
public long UserId { get; set; }
|
||||
[NotMapped]
|
||||
public string UserViz { get; set; }
|
||||
[NotMapped]
|
||||
public string NameViz { get; set; }
|
||||
[NotMapped]
|
||||
public string ColorViz { get; set; }
|
||||
[NotMapped]
|
||||
public bool CompletedViz { get; set; }
|
||||
[NotMapped]
|
||||
public bool LockedViz { get; set; }
|
||||
|
||||
//workaround for notification
|
||||
[NotMapped, JsonIgnore]
|
||||
|
||||
Reference in New Issue
Block a user