49 lines
2.0 KiB
49 lines
2.0 KiB
2 years ago
|
namespace Znyc.CloudCar.Model.Dtos.User
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 用户信息输出实体
|
||
|
/// </summary>
|
||
|
public class UserOutput
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Id
|
||
|
/// </summary>
|
||
|
public long Id { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 用户昵称
|
||
|
/// </summary>
|
||
|
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“UserName”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
||
|
public string UserName { get; set; }
|
||
|
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“UserName”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
||
|
|
||
|
/// <summary>
|
||
|
/// 用户头像
|
||
|
/// </summary>
|
||
|
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“AvatarUrl”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
||
|
public string AvatarUrl { get; set; }
|
||
|
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“AvatarUrl”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
||
|
|
||
|
/// <summary>
|
||
|
/// 手机号
|
||
|
/// </summary>
|
||
|
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“Phone”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
||
|
public string Phone { get; set; }
|
||
|
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“Phone”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
||
|
|
||
|
/// <summary>
|
||
|
/// 状态
|
||
|
/// </summary>
|
||
|
public int State { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 实名状态
|
||
|
/// </summary>
|
||
|
public bool IsRealAuthentication { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 优惠卡类型
|
||
|
/// </summary>
|
||
|
public long CardType { get; set; }
|
||
|
}
|
||
|
}
|