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