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 Department
|
|
|
|
{
|
|
|
|
public Department()
|
|
|
|
{
|
|
|
|
this.Roles = new List<Role>();
|
|
|
|
this.Users = new List<User>();
|
|
|
|
}
|
|
|
|
|
|
|
|
public string DepartmentId { get; set; }
|
|
|
|
public string ParentId { get; set; }
|
|
|
|
public string FullName { get; set; }
|
|
|
|
public string Description { get; set; }
|
2015-04-27 00:10:02 +08:00
|
|
|
public bool Enabled { get; set; }
|
2015-04-15 23:57:36 +08:00
|
|
|
public Nullable<int> SortCode { get; set; }
|
2015-04-27 00:10:02 +08:00
|
|
|
public bool DeleteMark { get; set; }
|
2015-04-15 23:57:36 +08:00
|
|
|
public virtual ICollection<Role> Roles { get; set; }
|
|
|
|
public virtual ICollection<User> Users { get; set; }
|
|
|
|
}
|
|
|
|
}
|