yavsc/Yavsc/Models/Billing/NominativeServiceCommand.cs

66 lines
1.3 KiB
C#
Raw Normal View History

2016-05-17 18:22:18 +02:00
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
2017-02-13 01:32:03 +01:00
using Yavsc.Interfaces.Workflow;
2016-06-14 03:37:57 +02:00
using Yavsc.Models.Market;
using Yavsc.Models.Workflow;
2017-02-13 01:32:03 +01:00
using YavscLib;
2016-05-17 18:22:18 +02:00
2016-06-14 03:37:57 +02:00
namespace Yavsc.Models.Billing
2016-05-17 18:22:18 +02:00
{
2017-02-13 01:32:03 +01:00
public abstract class NominativeServiceCommand : IBaseTrackedEntity, IQuery
{
2017-02-13 01:32:03 +01:00
public DateTime DateCreated
{
get; set;
}
public DateTime DateModified
{
get; set;
}
public string UserCreated
{
get; set;
}
public string UserModified
{
get; set;
}
public QueryStatus Status { get; set; }
2017-02-04 16:33:48 +01:00
[Required]
2016-05-17 18:22:18 +02:00
public string ClientId { get; set; }
/// <summary>
/// The client
/// </summary>
2017-02-04 16:33:48 +01:00
[ForeignKey("ClientId")]
2016-05-17 18:22:18 +02:00
public ApplicationUser Client { get; set; }
[Required]
public string PerformerId { get; set; }
/// <summary>
/// The performer identifier
/// </summary>
[ForeignKey("PerformerId")]
public PerformerProfile PerformerProfile { get; set; }
public DateTime? ValidationDate {get; set;}
2017-01-20 14:19:23 +01:00
2016-05-17 18:22:18 +02:00
public decimal? Previsional { get; set; }
2016-06-14 03:37:57 +02:00
/// <summary>
/// The bill
/// </summary>
/// <returns></returns>
2016-05-17 18:22:18 +02:00
2016-05-17 18:22:18 +02:00
}
}