refactoring
This commit is contained in:
parent
e277ec0bf1
commit
bd09714a94
13 changed files with 206 additions and 185 deletions
|
|
@ -1,9 +1,9 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Yavsc.Model.Forms.Validation;
|
||||
|
||||
namespace Yavsc.Model.Forms
|
||||
namespace Yavsc.Models.Forms
|
||||
{
|
||||
using Validation;
|
||||
public abstract class Field
|
||||
{
|
||||
[Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace Yavsc.Model.Forms
|
||||
namespace Yavsc.Models.Forms
|
||||
{
|
||||
public class FieldSet
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Yavsc.Model.Forms.Validation
|
||||
namespace Yavsc.Models.Forms.Validation
|
||||
{
|
||||
public class Method
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Yavsc.Model.Forms.Validation
|
||||
namespace Yavsc.Models.Forms.Validation
|
||||
{
|
||||
public class Required : Method
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue