using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace OnlinRegistration.Models

{

[MetadataType(
typeof(SiteInformation))]
public partial
class EIF_Sit_Information

{

}
public
sealed
class SiteInformation

{

[Required(AllowEmptyStrings =
false, ErrorMessage =
"畢業院校不能爲空")]

[StringLength(32, ErrorMessage =
"畢業院校不能超過32個字符")]
public
string graduate_school { set; get; }

[Required(AllowEmptyStrings =
false, ErrorMessage =
"證書名稱不能爲空")]

[StringLength(32, ErrorMessage =
"證書名稱不能超過32個字符")]
public
string certificate_name { set; get; }

[Required(AllowEmptyStrings =
false, ErrorMessage =
"證書編號不能爲空")]

[StringLength(32, ErrorMessage =
"證書編號不能超過32個字符")]
public
string certificate_no { set; get; }

[Required(AllowEmptyStrings =
false, ErrorMessage =
"所學專業不能爲空")]

[StringLength(32, ErrorMessage =
"所學專業不能超過16個字符")]
public
string prefessional { set; get; }

[Required(AllowEmptyStrings =
false, ErrorMessage =
"報考專業不能爲空")]

[MaxLength(32, ErrorMessage =
"報考專業代碼不能超過32個字符")]
public
string prefessional_code { set; get; }

}

}