This commit is contained in:
Paul Schneider 2017-01-23 09:47:55 +01:00
commit 39c1268d31
2 changed files with 0 additions and 35 deletions

View file

@ -1,24 +0,0 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Yavsc.Models.Forms
{
using Validation;
public abstract class Field
{
[Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id {  get; set; }
public abstract Method [] ValidationMethods ();
[Required]
public string Name { get; set; }
public string Label { get; set; }
public string PlaceHolder { get; set; }
[Required]
public string ValueType { get; set; }
}
}

View file

@ -1,11 +0,0 @@
using System.Collections.Generic;
namespace Yavsc.Models.Forms
{
public class FieldSet
{
public string Legend {get; set;}
public List<Field> Fields { get; set; }
}
}