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

    [MetadataType(typeof(EDU_OAXT_15_A05_ZCJH_metadata))]
    public partial class EDU_OAXT_15_A05_ZCJH
    {
        public EDU_OAXT_15_A05_ZCJH()
        {
            Unit = "";
            Borrower = "";
            Remark = "";
            Registdate = DateTime.Now;
        }
        public class EDU_OAXT_15_A05_ZCJH_metadata
        {
            [Required(ErrorMessage = "±ØÌî")]
            [Display(Name = "±àºÅ")]
            public Int32 ID { get; set; }


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


            [Required(ErrorMessage = "±ØÌî")]
            [Display(Name = "×Ê²úÄ¿Â¼±í")]
            public Int32 TypeID { get; set; }


            [Required(ErrorMessage = "±ØÌî")]
            [Display(Name = "×Ê²ú´óÀà±í")]
            public Int32 ClassID { get; set; }


            [Required(ErrorMessage = "±ØÌî")]
            [Display(Name = "¿â´æ±í")]
            public Int32 AID { get; set; }


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


            [Required(ErrorMessage = "±ØÌî",AllowEmptyStrings = true)]
            [Display(Name = "µ¥Î»")]
            [StringLength(10)]
            [DisplayFormat(ConvertEmptyStringToNull = false)]
            public String Unit { get; set; }


            [Required(ErrorMessage = "±ØÌî",AllowEmptyStrings = true)]
            [Display(Name = "½èÓÃ·½")]
            [StringLength(200)]
            [DisplayFormat(ConvertEmptyStringToNull = false)]
            public String Borrower { get; set; }


            [Required(ErrorMessage = "±ØÌî",AllowEmptyStrings = true)]
            [Display(Name = "±¸×¢")]
            [StringLength(100)]
            [DisplayFormat(ConvertEmptyStringToNull = false)]
            public String Remark { get; set; }


            [Required(ErrorMessage = "±ØÌî")]
            [Display(Name = "µÇ¼ÇÊ±¼ä")]
            public DateTime Registdate { get; set; }


        }
    }
}
