WIP Estimate

This commit is contained in:
Paul Schneider 2016-11-04 13:55:48 +01:00
commit 9293ee4ec9
27 changed files with 1308 additions and 76 deletions

View file

@ -1,9 +0,0 @@
using Yavsc.Models.Market;
namespace Yavsc.Models.Billing
{
public class Command<P> where P:BaseProduct {
}
}

View file

@ -6,6 +6,7 @@ namespace Yavsc.Models.Billing
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using Yavsc.Interfaces;
using Yavsc.Interfaces.Workflow;
using Yavsc.Models.Booking;
public partial class Estimate : IEstimate
{
@ -22,7 +23,6 @@ namespace Yavsc.Models.Billing
[ForeignKey("CommandId")]
public BookQuery Query { get; set; }
public string Description { get; set; }
public int? Status { get; set; }
public string Title { get; set; }
[InverseProperty("Estimate")]

View file

@ -8,7 +8,7 @@ using Yavsc.Models.Workflow;
namespace Yavsc.Models.Billing
{
public class NominativeServiceCommand : Command<Service> {
public class NominativeServiceCommand : Query<Service> {
public string ClientId { get; set; }

View file

@ -0,0 +1,12 @@
using Yavsc.Interfaces.Workflow;
using Yavsc.Models.Market;
namespace Yavsc.Models.Billing
{
public class Query<P> where P : BaseProduct
{
QueryStatus Status { get; set; }
}
}