WIP Estimate
This commit is contained in:
parent
5604ae3a54
commit
9293ee4ec9
27 changed files with 1308 additions and 76 deletions
|
|
@ -1,9 +0,0 @@
|
|||
using Yavsc.Models.Market;
|
||||
|
||||
namespace Yavsc.Models.Billing
|
||||
{
|
||||
|
||||
public class Command<P> where P:BaseProduct {
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -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")]
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
||||
|
|
|
|||
12
Yavsc/Model/Billing/Query.cs
Normal file
12
Yavsc/Model/Billing/Query.cs
Normal 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; }
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue