This commit is contained in:
2017-01-23 09:47:55 +01:00
parent 22e6951ec9
commit 9c50577360
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; }
}
}