An activity related form reference
This commit is contained in:
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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user