This commit is contained in:
2021-07-23 22:18:15 +00:00
parent 83618d6559
commit b7e06c1b13

View File

@@ -21,6 +21,17 @@ namespace AyaNova.Models
public string CustomFields { get; set; } public string CustomFields { get; set; }
public List<string> Tags { get; set; } = new List<string>(); public List<string> Tags { get; set; } = new List<string>();
//----
public long? PreparedById { get; set; }
public string Introduction { get; set; }
public DateTime? Requested { get; set; }
public DateTime? ValidUntil { get; set; }
public DateTime? Submitted { get; set; }
public DateTime? Approved { get; set; }
public bool CopyWiki { get; set; }
public bool CopyAttachments { get; set; }
//----
[Required] [Required]
public long CustomerId { get; set; } public long CustomerId { get; set; }
[NotMapped] [NotMapped]
@@ -37,16 +48,16 @@ namespace AyaNova.Models
public string CustomerContactName { get; set; } public string CustomerContactName { get; set; }
public DateTime CreatedDate { get; set; } = DateTime.UtcNow; public DateTime CreatedDate { get; set; } = DateTime.UtcNow;
public DateTime? ServiceDate { get; set; }
public DateTime? CompleteByDate { get; set; } //public DateTime? CompleteByDate { get; set; }
public TimeSpan DurationToCompleted { get; set; } = TimeSpan.Zero; //public TimeSpan DurationToCompleted { get; set; } = TimeSpan.Zero;
public string InvoiceNumber { get; set; } // public string InvoiceNumber { get; set; }
public string CustomerSignature { get; set; } //public string CustomerSignature { get; set; }
public string CustomerSignatureName { get; set; } // public string CustomerSignatureName { get; set; }
public DateTime? CustomerSignatureCaptured { get; set; } // public DateTime? CustomerSignatureCaptured { get; set; }
public string TechSignature { get; set; } // public string TechSignature { get; set; }
public string TechSignatureName { get; set; } // public string TechSignatureName { get; set; }
public DateTime? TechSignatureCaptured { get; set; } // public DateTime? TechSignatureCaptured { get; set; }
public bool Onsite { get; set; } public bool Onsite { get; set; }
public long? ContractId { get; set; } public long? ContractId { get; set; }
[NotMapped] [NotMapped]
@@ -81,12 +92,7 @@ namespace AyaNova.Models
public bool IsLockedAtServer { get; set; } = false;//signal to client that it came from the server in a locked state public bool IsLockedAtServer { get; set; } = false;//signal to client that it came from the server in a locked state
[NotMapped] [NotMapped]
public string AlertViz { get; set; } = null; public string AlertViz { get; set; } = null;
[NotMapped]
public string FromQuoteViz { get; set; }
[NotMapped]
public string FromPMViz { get; set; }
[NotMapped]
public string FromCSRViz { get; set; }
[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)