method | description |
---|---|
[StringLength(200)] | 입력문자길이 지정 |
[DataType(DataType.Date)] | 데이타타입 지정 |
[DisplayFormat(DataFormatString = “{0:yyyy-MM-dd HH:mm}”, ApplyFormatInEditMode = false)] | 시간 형식 지정 |
[Display(Name = “작성자”)] | 레벨 명 지정 |
[DefaultValue(true)] | 디폴트 값 지정 하기, 폼있는 클래스는 다시정의 해야함, |
public decimal Amount { get; set;} | Money Type |
public System.DateTime REGI_DATE {get; set;} | datetime |
public Nullable<System.DateTime> MODI_DATE {get;set;} | Null 허용 |