namespace iWareSql.MyDbContext { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class sys_menu { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public sys_menu() { sys_role = new HashSet(); } [DatabaseGenerated(DatabaseGeneratedOption.None)] public long Id { get; set; } public long Pid { get; set; } public string Pids { get; set; } [Required] [StringLength(100)] public string Name { get; set; } [Required] [StringLength(100)] public string Code { get; set; } public int Type { get; set; } [StringLength(200)] public string Icon { get; set; } [StringLength(100)] public string Router { get; set; } [StringLength(100)] public string Component { get; set; } [StringLength(100)] public string Permission { get; set; } [StringLength(50)] public string Application { get; set; } public int OpenType { get; set; } [StringLength(5)] public string Visible { get; set; } [StringLength(100)] public string Link { get; set; } [StringLength(100)] public string Redirect { get; set; } public int Weight { get; set; } public int Sort { get; set; } [StringLength(100)] public string Remark { get; set; } public int Status { get; set; } public DateTimeOffset? CreatedTime { get; set; } public DateTimeOffset? UpdatedTime { get; set; } public long? CreatedUserId { get; set; } [StringLength(50)] public string CreatedUserName { get; set; } public long? UpdatedUserId { get; set; } [StringLength(50)] public string UpdatedUserName { get; set; } public bool IsDeleted { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection sys_role { get; set; } } }