cleaning
This commit is contained in:
@ -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; }
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user