OpenAuth.Net/OpenAuth.Domain/Model/User.cs
2015-04-27 00:10:02 +08:00

28 lines
757 B
C#

using System;
using System.Collections.Generic;
namespace OpenAuth.Domain.Model
{
public partial class User
{
public User()
{
this.Departments = new List<Department>();
this.Roles = new List<Role>();
}
public string UserId { get; set; }
public string Account { get; set; }
public string Password { get; set; }
public string RealName { get; set; }
public string RoleId { get; set; }
public bool Enabled { get; set; }
public bool DeleteMark { get; set; }
public virtual ICollection<Department> Departments { get; set; }
public virtual ICollection<Role> Roles { get; set; }
public Role DefaultRole { get; set; }
}
}