refactoring
This commit is contained in:
parent
797e4d381a
commit
8b5e50626e
40 changed files with 161 additions and 103 deletions
|
|
@ -7,7 +7,7 @@ using Newtonsoft.Json;
|
|||
|
||||
namespace Yavsc.Models.Workflow
|
||||
{
|
||||
using Market;
|
||||
using Yavsc.Models.Market;
|
||||
using YavscLib;
|
||||
|
||||
public class Activity : IBaseTrackedEntity, IActivity
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
namespace Yavsc.Models.Workflow
|
||||
{
|
||||
using YavscLib;
|
||||
|
||||
public interface IQuery: IBaseTrackedEntity
|
||||
{
|
||||
QueryStatus Status { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
|
||||
namespace Yavsc.Models
|
||||
{
|
||||
public interface IRequisition
|
||||
{
|
||||
bool Eval();
|
||||
}
|
||||
}
|
||||
|
|
@ -2,7 +2,7 @@ using System.Collections.Generic;
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Yavsc.Models.Workflow
|
||||
namespace Yavsc.Models.Workflow
|
||||
{
|
||||
using System;
|
||||
using Models.Relationship;
|
||||
|
|
@ -42,7 +42,7 @@ namespace Yavsc.Models.Workflow
|
|||
|
||||
[Display(Name="Active")]
|
||||
public bool Active { get; set; }
|
||||
|
||||
|
||||
[Obsolete("Implement and use a new specialization setting")]
|
||||
[Display(Name="Maximal Daily Cost (euro/day)"),DisplayFormat(DataFormatString="{0:C}")]
|
||||
public int? MaxDailyCost { get; set; }
|
||||
|
|
@ -58,6 +58,6 @@ namespace Yavsc.Models.Workflow
|
|||
public bool DoesBlog { get {
|
||||
return Performer?.Posts?.Count > 0 ;
|
||||
} }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ using Yavsc.Models.Market;
|
|||
namespace Yavsc.Models.Workflow
|
||||
{
|
||||
using Models.Relationship;
|
||||
|
||||
/// <summary>
|
||||
/// A date, between two persons
|
||||
/// </summary>
|
||||
|
|
@ -35,4 +36,4 @@ namespace Yavsc.Models.Workflow
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue