|
|
|
|
@ -9,6 +9,7 @@ namespace Yavsc.Models.Billing
|
|
|
|
|
{
|
|
|
|
|
using Interfaces;
|
|
|
|
|
using Models.Workflow;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
public partial class Estimate : IEstimate
|
|
|
|
|
{
|
|
|
|
|
@ -22,7 +23,7 @@ namespace Yavsc.Models.Billing
|
|
|
|
|
/// it will result in a new estimate template
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[ForeignKey("CommandId")]
|
|
|
|
|
[ForeignKey("CommandId"),JsonIgnore]
|
|
|
|
|
public BookQuery Query { get; set; }
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
@ -62,12 +63,12 @@ namespace Yavsc.Models.Billing
|
|
|
|
|
[Required]
|
|
|
|
|
public string OwnerId { get; set; }
|
|
|
|
|
|
|
|
|
|
[ForeignKey("OwnerId")]
|
|
|
|
|
[ForeignKey("OwnerId"),JsonIgnore]
|
|
|
|
|
public virtual PerformerProfile Owner { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public string ClientId { get; set; }
|
|
|
|
|
[ForeignKey("ClientId")]
|
|
|
|
|
[ForeignKey("ClientId"),JsonIgnore]
|
|
|
|
|
public virtual ApplicationUser Client { get; set; }
|
|
|
|
|
|
|
|
|
|
public string CommandType
|
|
|
|
|
|