using SqlSugar;
namespace YBDevice.Entity
{
///
/// 注册用户管理的微信数据
///
[SugarTable("YB_UserWX", TableDescription = "注册用户管理的微信数据", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
public class YB_UserWX
{
///
///
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public System.Int32 Id { get; set; }
///
/// 用户ID
///
[SugarColumn(ColumnDescription = "用户ID")]
public System.Int32 UserId { get; set; }
///
/// 用户openid
///
[SugarColumn(ColumnDescription = "用户openid", ColumnDataType = "varchar(50)",IndexGroupNameList =new string[] { "index_openid"})]
public System.String openid { get; set; }
///
/// 用户unionid
///
[SugarColumn(ColumnDescription = "用户unionid", ColumnDataType = "varchar(50)")]
public System.String unionid { get; set; }
///
/// 是否退出登录,1-否,0-是
///
[SugarColumn(ColumnDescription = "是否退出登录,1-否,0-是", IsNullable =true,DefaultValue ="1", IndexGroupNameList = new string[] { "index_isoutlogin" })]
public int IsOutLogin { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnDescription = "创建时间")]
public System.DateTime createtime { get; set; }
}
}