OpenAuth.Net/OpenAuth.Domain/Model/Menu.cs

32 lines
1.1 KiB
C#
Raw Normal View History

2015-04-15 23:57:36 +08:00
using System;
using System.Collections.Generic;
2015-04-25 12:31:01 +08:00
namespace OpenAuth.Domain.Model
2015-04-15 23:57:36 +08:00
{
public partial class Menu
{
public Menu()
{
this.Buttons = new List<Button>();
2015-04-27 17:54:50 +08:00
this.Roles = new List<Role>();
2015-04-15 23:57:36 +08:00
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; }
2015-04-27 00:10:02 +08:00
public bool IsUnfold { get; set; }
public bool Enabled { get; set; }
2015-04-15 23:57:36 +08:00
public Nullable<int> SortCode { get; set; }
public virtual ICollection<Button> Buttons { get; set; }
2015-04-27 17:54:50 +08:00
public virtual ICollection<Role> Roles { get; set; }
2015-04-15 23:57:36 +08:00
public virtual ICollection<RoleMenuButton> RoleMenuButtons { get; set; }
}
}