using System;
using Datory.Annotations;
namespace GxPress.Entity
{
///
/// 后台管理员
///
[DataTable("tede_admin")]
public class Admin : Datory.Entity
{
///
/// 账号
///
[DataColumn]
public string Account { get; set; }
///
/// 用户名
///
[DataColumn]
public string Name { get; set; }
///
/// 密码
///
[DataColumn]
public string Password { get; set; }
///
/// 后台用户菜单权限
///
[DataColumn]
public string Menus { get; set; }
///
/// 手机号码
///
[DataColumn]
public string Phone { get; set; }
///
/// 旧密码
///
///
public string OldPassword { get; set; }
///
/// 新密码
///
///
public string NewPassword { get; set; }
///
/// 电子邮箱
///
[DataColumn]
public string Email { get; set; }
///
/// 性别
///
[DataColumn]
public string Sex { get; set; }
///
/// 角色Id
///
///
[DataColumn]
public int RoleId { get; set; }
///
/// 登陆ID
///
///
[DataColumn]
public string Ip { get; set; }
///
/// 登陆时间
///
///
[DataColumn]
public DateTime LoginTime { get; set; }
}
}