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