An activity related form reference
This commit is contained in:
parent
6fdc4508e4
commit
14016c842a
1 changed files with 16 additions and 0 deletions
16
Yavsc/Models/Workflow/CommandForm.cs
Normal file
16
Yavsc/Models/Workflow/CommandForm.cs
Normal file
|
|
@ -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…
Add table
Add a link
Reference in a new issue