vnext
Paul Schneider 8 years ago
parent 22e6951ec9
commit 9c50577360
2 changed files with 0 additions and 35 deletions

@ -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; }
}
}

@ -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; }
}
}
Loading…