refactoring: --YavscLib-- => Yavsc

This commit is contained in:
Paul Schneider 2017-05-27 16:22:58 +02:00
commit 776b7dae21
102 changed files with 216 additions and 209 deletions

View file

@ -8,7 +8,7 @@ using Newtonsoft.Json;
namespace Yavsc.Models.Workflow
{
using Yavsc.Models.Market;
using YavscLib;
using Yavsc;
public class Activity : IBaseTrackedEntity, IActivity
{

View file

@ -3,20 +3,20 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace Yavsc.Models.Workflow
{
using YavscLib;
using Yavsc;
public class CoWorking: ICoWorking
{
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id {get; set; }
public string PerformerId { get; set; }
public string WorkingForId { get; set; }
[ForeignKey("PerformerId")]
public virtual PerformerProfile Performer { get; set; }
[ForeignKey("WorkingForId")]
public virtual ApplicationUser WorkingFor { get; set; }
}
}
}

View file

@ -4,7 +4,7 @@ using Newtonsoft.Json;
namespace Yavsc.Models.Workflow
{
using YavscLib;
using Yavsc;
public class CommandForm : ICommandForm
{
[Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]
@ -12,12 +12,12 @@ namespace Yavsc.Models.Workflow
public string ActionName { get; set; }
public string Title { get; set; }
public string Title { get; set; }
[Required]
public string ActivityCode { get; set; }
[ForeignKey("ActivityCode"),JsonIgnore]
public virtual Activity Context { get; set; }
}
}
}

View file

@ -6,7 +6,7 @@ namespace Yavsc.Models.Workflow
{
using System;
using Models.Relationship;
using YavscLib.Workflow;
using Yavsc.Workflow;
public class PerformerProfile : IPerformerProfile {

View file

@ -4,11 +4,11 @@ using System.ComponentModel.DataAnnotations;
namespace Yavsc.Models.Workflow.Profiles
{
using Models.Workflow;
using YavscLib;
using Yavsc;
public class FormationSettings : ISpecializationSettings
{
public virtual List<CoWorking> CoWorking { get; set; }
[Key]
public string UserId
{
@ -16,4 +16,4 @@ namespace Yavsc.Models.Workflow.Profiles
}
}
}
}

View file

@ -7,7 +7,7 @@ namespace Yavsc.Models.Workflow
using System.Collections.Generic;
using Yavsc.Models.Billing;
using Yavsc.Models.Relationship;
using YavscLib.Billing;
using Yavsc.Billing;
/// <summary>
/// Query, for a date, with a given perfomer, at this given place.