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