diff --git a/Yavsc.Server/Interfaces/INamedObject.cs b/Yavsc.Server/Interfaces/INamedObject.cs new file mode 100644 index 00000000..77b3fe44 --- /dev/null +++ b/Yavsc.Server/Interfaces/INamedObject.cs @@ -0,0 +1,7 @@ +namespace Yavsc.Server.Interfaces +{ + public interface INamedObject + { + string Name { get; set; } + } +} \ No newline at end of file diff --git a/Yavsc.Server/Models/Workflow/Process/NamedRequisition.cs b/Yavsc.Server/Models/Workflow/Process/NamedRequisition.cs index 570dbf33..5af01b4b 100644 --- a/Yavsc.Server/Models/Workflow/Process/NamedRequisition.cs +++ b/Yavsc.Server/Models/Workflow/Process/NamedRequisition.cs @@ -1,7 +1,8 @@ +using Yavsc.Server.Interfaces; namespace Yavsc.Models.Process { - public abstract class NamedRequisition : IRequisition + public abstract class NamedRequisition : IRequisition, INamedObject { public string Name { get; set; } public abstract bool Eval();