Files
zszq-trs/YLErpDAL/BLL_System/ViewUser.cs
T

44 lines
1.2 KiB
C#

using System.ComponentModel.DataAnnotations.Schema;
namespace BaseOUDAL
{
public class ViewUser
{
public static string BaseSql = @"select id,loginname,name,state,password,email,QQ,Mobile,Tel,BondIP from systemusers u where 1=1";
public int id { get; set; }
public string Name { get; set; }
public string BondIP { get; set; }
public string Email { get; set; }
public int State { get; set; }
[NotMapped]
public string StateDesc
{
get
{
if (State == 0) return "正常";
return "禁用";
}
}
public string LoginName { get; set; }
public string Roles { get; set; }
public string Mobile { get; set; }
public string Tel { get; set; }
public string QQ { get; set; }
public string Departments { get; set; }
public int DepartmentId { get; set; }
public int RoleId { get; set; }
public string DepartmentName { get; set; }
public string RoleName { get; set; }
public string UserGroup { get; set; }
public string AccountPost { get; set; }
public string OaAccount { get; set; }
}
}