add login service

This commit is contained in:
yubaolee
2015-04-25 12:31:01 +08:00
parent 7707c6a1e2
commit 370b390c7c
28 changed files with 236 additions and 16 deletions

View File

@@ -1,24 +0,0 @@
using System;
using System.Collections.Generic;
namespace OpenAuth.Domain
{
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 Nullable<int> Enabled { get; set; }
public Nullable<int> DeleteMark { get; set; }
public virtual ICollection<Department> Departments { get; set; }
public virtual ICollection<Role> Roles { get; set; }
}
}