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

    [MetadataType(typeof(EDU_WZXT_TPXT_TPYS_metadata))]
    public partial class EDU_WZXT_TPXT_TPYS
    {
        public EDU_WZXT_TPXT_TPYS()
        {
            NAME = "";
        }
        public class EDU_WZXT_TPXT_TPYS_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 WEBID { get; set; }


            [Required(ErrorMessage = "±ØÌî",AllowEmptyStrings = true)]
            [Display(Name = "ÑùÊ½Ãû")]
            [StringLength(50)]
            [DisplayFormat(ConvertEmptyStringToNull = false)]
            public String NAME { get; set; }


            [Display(Name = "Ð§¹ûÍ¼")]
            [StringLength(500)]
            [DisplayFormat(ConvertEmptyStringToNull = false)]
            public String SHOWIMG { get; set; }


        }
    }
}
