47 lines
1.4 KiB
C#
47 lines
1.4 KiB
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace YD_WeChatApplet.Commons
|
|
{
|
|
/// <summary>
|
|
/// 用户信息
|
|
/// </summary>
|
|
public class UserInfoDto
|
|
{
|
|
public string SchoolCode { get; set; }
|
|
public int User_Id { get; set; }
|
|
public string UserNo { get; set; }
|
|
public int Role_Id { get; set; }
|
|
public string RoleName { get; set; }
|
|
public string UserName { get; set; }
|
|
public string UserTrueName { get; set; }
|
|
public string PhoneNo { get; set; }
|
|
public bool Enable { get; set; }
|
|
|
|
public string Token { get; set; }
|
|
}
|
|
|
|
public class UserModelDataDto
|
|
{
|
|
public string PhoneNo { get; set; }
|
|
public string UserPwd { get; set; }
|
|
public string UserName { get; set; }
|
|
public string? UserTrueName { get; set; }
|
|
public int Gender { get; set; }
|
|
public string HeadImageUrl { get; set; }
|
|
public string Address { get; set; }
|
|
public string Email { get; set; }
|
|
public string SchoolCode { get; set; }
|
|
public string UserNo { get; set; }
|
|
public string RoleName { get; set; }
|
|
public int RoleId { get; set; }
|
|
public string OpenId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 账号关联Id
|
|
/// </summary>
|
|
public Guid RelevanceId { get; set; }
|
|
}
|
|
|
|
}
|