un positionnement de paramètre workflow des pros

This commit is contained in:
Paul Schneider 2017-01-13 16:31:40 +01:00
commit 96746fcc0b
322 changed files with 25893 additions and 3844 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
{

View file

@ -4,7 +4,7 @@ namespace Yavsc.Models.Billing
{
public class ExceptionSIREN {
[Key]
[Key,MinLength(9)]
public string SIREN { get; set; }
}
}

View file

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