cleaning
This commit is contained in:
parent
402477031a
commit
39c1268d31
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…
Add table
Add a link
Reference in a new issue