renamed the base name of the model
This commit is contained in:
parent
6630876b38
commit
83ca421100
104 changed files with 0 additions and 0 deletions
|
|
@ -1,24 +0,0 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Yavsc.Model.Forms.Validation;
|
||||
|
||||
namespace Yavsc.Model.Forms
|
||||
{
|
||||
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; }
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue