Book query tracking

This commit is contained in:
Paul Schneider 2017-01-20 14:19:23 +01:00
commit 32ca008d20
8 changed files with 1514 additions and 21 deletions

View file

@ -8,7 +8,7 @@ using Yavsc.Models.Workflow;
namespace Yavsc.Models.Billing
{
public class NominativeServiceCommand<T> : Query<T> where T:Service
public class NominativeServiceCommand<T> : Query<T> where T:Service
{
public string ClientId { get; set; }
@ -29,11 +29,7 @@ namespace Yavsc.Models.Billing
public DateTime? ValidationDate {get; set;}
/// <summary>
/// Command creation Date & time
/// </summary>
/// <returns></returns>
public DateTime CreationDate {get; set;}
public decimal? Previsional { get; set; }
/// <summary>

View file

@ -1,11 +1,32 @@
using System;
using Yavsc.Interfaces.Workflow;
using Yavsc.Models.Market;
namespace Yavsc.Models.Billing
{
public class Query<P> where P : BaseProduct
public class Query<P>: IBaseTrackedEntity where P : BaseProduct
{
public DateTime DateCreated
{
get; set;
}
public DateTime DateModified
{
get; set;
}
public string UserCreated
{
get; set;
}
public string UserModified
{
get; set;
}
QueryStatus Status { get; set; }
}