namespace IWareDataAccess.EF { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class SYS_PERMISSION { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public SYS_PERMISSION() { SYS_ROLE_VS_PERMISSION = new HashSet(); } public int ID { get; set; } [StringLength(50)] public string PERMISSION { get; set; } public int? ENABLE { get; set; } [StringLength(50)] public string BUTTONNAME { get; set; } public int? FATHERPERMISSIONID { get; set; } public int? PERMISSIONLEVEL { get; set; } public int? ISBUTTON { get; set; } [StringLength(300)] public string PATH { get; set; } [StringLength(300)] public string ICON { get; set; } public int? TYPE { get; set; } [StringLength(50)] public string DEC { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection SYS_ROLE_VS_PERMISSION { get; set; } } }