Gestion des activités

This commit is contained in:
Paul Schneider 2017-01-09 16:29:34 +01:00
commit 50f7f1813c
22 changed files with 91 additions and 63 deletions

View file

@ -9,6 +9,8 @@ namespace Yavsc.Models.Billing
{
using Interfaces;
using Models.Booking;
using Yavsc.Models.Workflow;
public partial class Estimate : IEstimate
{
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
@ -61,8 +63,13 @@ namespace Yavsc.Models.Billing
[Required]
public string OwnerId { get; set; }
[ForeignKey("OwnerId")]
public virtual PerformerProfile Owner { get; set; }
[Required]
public string ClientId { get; set; }
[ForeignKey("ClientId")]
public virtual ApplicationUser Client { get; set; }
public string CommandType
{