You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
4.2 KiB

using FreeSql.DataAnnotations;
namespace Znyc.CloudCar.Model.Entities
{
/// <summary>
/// 云平台统一用户表用户表
/// </summary>
[Table(Name = "wxunifyuser")]
public class WxUnifyUserEntity : EntityBase
{
/// <summary>
/// UnionId
/// </summary>
[Column(StringLength = 32)]
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“UnionId”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string UnionId { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“UnionId”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
/// <summary>
/// 用户昵称
/// </summary>
[Column(StringLength = 25)]
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“NickName”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string NickName { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“NickName”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
/// <summary>
/// 用户头像
/// </summary>
[Column(StringLength = 100)]
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“AvatarUrl”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string AvatarUrl { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“AvatarUrl”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
/// <summary>
/// 手机号
/// </summary>
[Column(StringLength = 11)]
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“Phone”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string Phone { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“Phone”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
/// <summary>
/// 性别(0-男/1-女)
/// </summary>
public int Gender { get; set; }
/// <summary>
/// 国家
/// </summary>
[Column(StringLength = 20)]
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“Country”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string Country { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“Country”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
/// <summary>
/// 省份
/// </summary>
[Column(StringLength = 20)]
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“Province”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string Province { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“Province”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
/// <summary>
/// 城市
/// </summary>
[Column(StringLength = 20)]
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“City”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string City { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“City”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
/// <summary>
/// 语种
/// </summary>
[Column(StringLength = 20)]
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“Language”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string Language { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“Language”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
}
}