namespace HanRuEdu.LDAL
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;

    [MetadataType(typeof(EDU_OAXT_08_01_DADJ_metadata))]
    public partial class EDU_OAXT_08_01_DADJ
    {
        public EDU_OAXT_08_01_DADJ()
        {
            QZH = "";
            ND = "";
            MLH = "";
            AJH = "";
            TM = "";
            ZTC = "";
            QSRQ = DateTime.Now;
            JZRQ = DateTime.Now;
            BGQXM = "";
            CFWZ = "";
            DAFLM = "";
        }
        public class EDU_OAXT_08_01_DADJ_metadata
        {
            [Required(ErrorMessage = "±ØÌî")]
            [Display(Name = "±àºÅ")]
            public Int32 ID { get; set; }


            [Required(ErrorMessage = "±ØÌî")]
            [Display(Name = "Ñ§Ð£Ãû")]
            public Int32 SCHOOLID { get; set; }


            [Required(ErrorMessage = "±ØÌî",AllowEmptyStrings = true)]
            [Display(Name = "È«×ÚºÅ")]
            [StringLength(10)]
            [DisplayFormat(ConvertEmptyStringToNull = false)]
            public String QZH { get; set; }


            [Required(ErrorMessage = "±ØÌî",AllowEmptyStrings = true)]
            [Display(Name = "Äê¶È")]
            [StringLength(4)]
            [DisplayFormat(ConvertEmptyStringToNull = false)]
            public String ND { get; set; }


            [Required(ErrorMessage = "±ØÌî",AllowEmptyStrings = true)]
            [Display(Name = "Ä¿Â¼ºÅ")]
            [StringLength(5)]
            [DisplayFormat(ConvertEmptyStringToNull = false)]
            public String MLH { get; set; }


            [Required(ErrorMessage = "±ØÌî",AllowEmptyStrings = true)]
            [Display(Name = "°¸¾íºÅ")]
            [StringLength(5)]
            [DisplayFormat(ConvertEmptyStringToNull = false)]
            public String AJH { get; set; }


            [Required(ErrorMessage = "±ØÌî",AllowEmptyStrings = true)]
            [Display(Name = "ÌâÃû")]
            [StringLength(120)]
            [DisplayFormat(ConvertEmptyStringToNull = false)]
            public String TM { get; set; }


            [Required(ErrorMessage = "±ØÌî",AllowEmptyStrings = true)]
            [Display(Name = "Ö÷Ìâ´Ê")]
            [DisplayFormat(ConvertEmptyStringToNull = false)]
            public String ZTC { get; set; }


            [Display(Name = "ÆðÊ¼ÈÕÆÚ")]
            public DateTime QSRQ { get; set; }


            [Display(Name = "½ØÖ¹ÈÕÆÚ")]
            public DateTime JZRQ { get; set; }


            [Required(ErrorMessage = "±ØÌî",AllowEmptyStrings = true)]
            [Display(Name = "±£¹ÜÆÚÏÞÂë")]
            [StringLength(1)]
            [DisplayFormat(ConvertEmptyStringToNull = false)]
            public String BGQXM { get; set; }


            [Display(Name = "ÃÜ¼¶Âë")]
            [StringLength(1)]
            [DisplayFormat(ConvertEmptyStringToNull = false)]
            public String MJM { get; set; }


            [Required(ErrorMessage = "±ØÌî")]
            [Display(Name = "Ò³Êý")]
            [Range(typeof(decimal), "0", "999999")]
            public decimal YS { get; set; }


            [Required(ErrorMessage = "±ØÌî")]
            [Display(Name = "·ÝÊý")]
            [Range(typeof(decimal), "0", "99999999")]
            public decimal FS { get; set; }


            [Display(Name = "±àÖÆµ¥Î»")]
            [StringLength(60)]
            [DisplayFormat(ConvertEmptyStringToNull = false)]
            public String BZDW { get; set; }


            [Required(ErrorMessage = "±ØÌî",AllowEmptyStrings = true)]
            [Display(Name = "´æ·ÅÎ»ÖÃ")]
            [StringLength(60)]
            [DisplayFormat(ConvertEmptyStringToNull = false)]
            public String CFWZ { get; set; }


            [Required(ErrorMessage = "±ØÌî",AllowEmptyStrings = true)]
            [Display(Name = "µµ°¸·ÖÀàÂë")]
            [StringLength(2)]
            [DisplayFormat(ConvertEmptyStringToNull = false)]
            public String DAFLM { get; set; }


        }
    }
}
