/***********************************************************************
* Project: baifenBinfa
* ProjectName: 百分兵法管理系统
* Web: http://chuanyin.com
* Author:
* Email: 34161541@qq.com
* CreateTime: 2021-06-08 22:14:59
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
///
/// 用户表
///
[SugarTable("CoreCmsUserWeChatInfo",TableDescription = "用户表")]
public partial class CoreCmsUserWeChatInfo
{
///
/// 用户表
///
public CoreCmsUserWeChatInfo()
{
}
///
/// 用户ID
///
[Display(Name = "用户ID")]
[SugarColumn(ColumnDescription = "用户ID", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
///
/// 第三方登录类型
///
[Display(Name = "第三方登录类型")]
[SugarColumn(ColumnDescription = "第三方登录类型", IsNullable = true)]
public System.Int32? type { get; set; }
///
/// 关联用户表
///
[Display(Name = "关联用户表")]
[SugarColumn(ColumnDescription = "关联用户表")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 userId { get; set; }
///
/// openId
///
[Display(Name = "openId")]
[SugarColumn(ColumnDescription = "openId", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String openid { get; set; }
///
/// 缓存key
///
[Display(Name = "缓存key")]
[SugarColumn(ColumnDescription = "缓存key", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String sessionKey { get; set; }
///
/// unionid
///
[Display(Name = "unionid")]
[SugarColumn(ColumnDescription = "unionid", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String unionId { get; set; }
///
/// 头像
///
[Display(Name = "头像")]
[SugarColumn(ColumnDescription = "头像", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String avatar { get; set; }
///
/// 昵称
///
[Display(Name = "昵称")]
[SugarColumn(ColumnDescription = "昵称", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String nickName { get; set; }
///
/// 性别
///
[Display(Name = "性别")]
[SugarColumn(ColumnDescription = "性别")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 gender { get; set; }
///
/// 语言
///
[Display(Name = "语言")]
[SugarColumn(ColumnDescription = "语言", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String language { get; set; }
///
/// 城市
///
[Display(Name = "城市")]
[SugarColumn(ColumnDescription = "城市", IsNullable = true)]
[StringLength(80, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String city { get; set; }
///
/// 省
///
[Display(Name = "省")]
[SugarColumn(ColumnDescription = "省", IsNullable = true)]
[StringLength(80, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String province { get; set; }
///
/// 国家
///
[Display(Name = "国家")]
[SugarColumn(ColumnDescription = "国家", IsNullable = true)]
[StringLength(80, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String country { get; set; }
///
/// 手机号码国家编码
///
[Display(Name = "手机号码国家编码")]
[SugarColumn(ColumnDescription = "手机号码国家编码", IsNullable = true)]
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String countryCode { get; set; }
///
/// 手机号码
///
[Display(Name = "手机号码")]
[SugarColumn(ColumnDescription = "手机号码", IsNullable = true)]
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String mobile { get; set; }
///
/// 创建时间
///
[Display(Name = "创建时间")]
[SugarColumn(ColumnDescription = "创建时间", IsNullable = true)]
public System.DateTime? createTime { get; set; }
///
/// 更新时间
///
[Display(Name = "更新时间")]
[SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
public System.DateTime? updateTime { get; set; }
///
/// 是否订阅
///
[Display(Name = "是否订阅")]
[SugarColumn(ColumnDescription = "是否订阅", IsNullable = true)]
public System.Boolean isSubscribe { get; set; }
}
}