An activity related form reference

vnext
Paul Schneider 8 years ago
parent 49acc97574
commit 8d995b2ec5
1 changed files with 16 additions and 0 deletions

@ -0,0 +1,16 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Yavsc.Models.Workflow
{
public class CommandForm : Forms.Form
{
public string Title { get; set; }
[Required]
public string ActivityCode { get; set; }
[ForeignKey("ActivityCode")]
public virtual Activity Context { get; set; }
}
}
Loading…