using SqlSugar;
namespace YBDevice.Entity
{
///
/// 微信公众号/小程序
///
[SugarTable("YB_OfficlaAccount", TableDescription = "微信公众号", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
public class YB_OfficlaAccount
{
///
///
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public System.Int32 Id { get; set; }
///
/// 类型,1-公众号,2-小程序
///
[SugarColumn(ColumnDescription = "类型,1-公众号,2-小程序")]
public System.Int32 type { get; set; }
///
/// 微信appid
///
[SugarColumn(ColumnDescription = "微信appid", ColumnDataType = "varchar(50)")]
public System.String authorizer_appid { get; set; }
///
/// 微信开放平台appid
///
[SugarColumn(ColumnDescription = "微信开放平台appid", ColumnDataType = "varchar(50)")]
public System.String componentappid { get; set; }
///
/// 授权token
///
[SugarColumn(ColumnDescription = "授权token", ColumnDataType = "varchar(300)")]
public System.String authorizer_access_token { get; set; }
///
/// 刷新token
///
[SugarColumn(ColumnDescription = "刷新token", ColumnDataType = "varchar(200)")]
public System.String authorizer_refresh_token { get; set; }
///
/// 头像地址
///
[SugarColumn(ColumnDescription = "头像地址", ColumnDataType = "varchar(300)")]
public System.String head_img { get; set; }
///
/// 昵称
///
[SugarColumn(ColumnDescription = "昵称", ColumnDataType = "nvarchar(50)")]
public System.String nick_name { get; set; }
///
/// 原始ID
///
[SugarColumn(ColumnDescription = "原始ID", ColumnDataType = "varchar(50)")]
public System.String user_name { get; set; }
///
/// 别名
///
[SugarColumn(ColumnDescription = "别名", ColumnDataType = "varchar(50)")]
public System.String alias { get; set; }
///
/// 公众号类型
///
[SugarColumn(ColumnDescription = "公众号类型", ColumnDataType = "nvarchar(50)")]
public System.String service_type_info { get; set; }
///
/// 认证类型
///
[SugarColumn(ColumnDescription = "认证类型", ColumnDataType = "nvarchar(50)")]
public System.String verify_type_info { get; set; }
///
/// 授权列表
///
[SugarColumn(ColumnDescription = "授权列表", ColumnDataType = "nvarchar(max)")]
public System.String func_info { get; set; }
///
/// 二维码地址
///
[SugarColumn(ColumnDescription = "二维码地址", ColumnDataType = "varchar(200)")]
public System.String qrcode_url { get; set; }
///
/// 授权状态,0-未授权,1-已授权
///
[SugarColumn(ColumnDescription = " 授权状态,0-未授权,1-已授权")]
public System.Int32 isauthorize { get; set; }
///
/// 更新时间
///
[SugarColumn(ColumnDescription = "更新时间")]
public System.DateTime lastmodifytime { get; set; }
///
/// 授权码
///
[SugarColumn(ColumnDescription = "授权码", ColumnDataType = "varchar(100)")]
public System.String authorizeationcode { get; set; }
///
/// 授权码过期时间
///
[SugarColumn(ColumnDescription = "授权码过期时间", ColumnDataType = "varchar(100)")]
public System.DateTime? authorizationcodeexpiredtime { get; set; }
///
/// 授权时间
///
[SugarColumn(ColumnDescription = "授权时间")]
public System.DateTime createtime { get; set; }
}
}