Merge
This commit is contained in:
commit
c0f3edfdda
18 changed files with 142 additions and 28 deletions
|
|
@ -53,7 +53,6 @@ namespace Yavsc.Models
|
|||
/// </summary>
|
||||
[Range(0,100)]
|
||||
public int Rate { get; set; }
|
||||
|
||||
[DisplayAttribute(Name="SettingsClass")]
|
||||
public string SettingsClassName { get; set; }
|
||||
}
|
||||
|
|
|
|||
15
Yavsc/Models/Workflow/Specialization.cs
Normal file
15
Yavsc/Models/Workflow/Specialization.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Yavsc.Models.Workflow
|
||||
{
|
||||
public abstract class SpecializationSettings
|
||||
{
|
||||
[Key]
|
||||
public long UserActivityId { get; set; }
|
||||
|
||||
[ForeignKey("UserActivityId")]
|
||||
public virtual UserActivity Context { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -19,6 +19,5 @@ namespace Yavsc.Models.Workflow
|
|||
|
||||
[Range(0,100)]
|
||||
public int Weight { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue