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; }
}
}