OpenAuth.Net/OpenAuth.Domain/Model/Menu.cs
2015-04-27 17:54:50 +08:00

32 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
namespace OpenAuth.Domain.Model
{
public partial class Menu
{
public Menu()
{
this.Buttons = new List<Button>();
this.Roles = new List<Role>();
this.RoleMenuButtons = new List<RoleMenuButton>();
}
public string MenuId { get; set; }
public string ParentId { get; set; }
public string FullName { get; set; }
public string Description { get; set; }
public string Img { get; set; }
public Nullable<int> Category { get; set; }
public string NavigateUrl { get; set; }
public string FormName { get; set; }
public string Target { get; set; }
public bool IsUnfold { get; set; }
public bool Enabled { get; set; }
public Nullable<int> SortCode { get; set; }
public virtual ICollection<Button> Buttons { get; set; }
public virtual ICollection<Role> Roles { get; set; }
public virtual ICollection<RoleMenuButton> RoleMenuButtons { get; set; }
}
}