using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace Tiobon.Core.Model.Models
{
///
///
///
[SugarTable("WeChatConfig")]
public class WeChatConfig
{
///
/// 微信公众号唯一标识
///
[SugarColumn(IsPrimaryKey = true, Length = 100, IsNullable = false)]
public string publicAccount { get; set; }
///
/// 微信公众号名称
///
[SugarColumn(Length = 200, IsNullable = false)]
public string publicNick { get; set; }
///
/// 微信账号
///
[SugarColumn(Length = 100, IsNullable = false)]
public string weChatAccount { get; set; }
///
/// 微信名称
///
[SugarColumn(Length = 200)]
public string weChatNick { get; set; }
///
/// 应用ID
///
[SugarColumn(Length = 100)]
public string appid { get; set; }
///
/// 应用秘钥
///
[SugarColumn(Length = 100, IsNullable = false)]
public string appsecret { get; set; }
///
/// 公众号推送token
///
[SugarColumn(Length = 500, IsNullable = true)]
public string token { get; set; }
///
/// 验证秘钥(验证消息是否真实)
///
[SugarColumn(Length = 500, IsNullable = false)]
public string interactiveToken { get; set; }
///
/// 微信公众号token过期时间
///
[SugarColumn(IsNullable = true)]
public DateTime? tokenExpiration { get; set; }
///
/// 备注
///
[SugarColumn(Length = 200,IsNullable = true)]
public string remark { get; set; }
///
/// 是否激活
///
public bool Enabled { get; set; }
///
/// 创建者id
///
[SugarColumn(IsNullable = true)]
public int? CreateId { get; set; }
///
/// 创建人
///
[SugarColumn(IsNullable = true)]
public string CreateBy { get; set; }
///
/// 创建时间
///
[SugarColumn(IsNullable = true)]
public DateTime? CreateTime { get; set; }
///
/// 修改者id
///
[SugarColumn(IsNullable = true)]
public int? ModifyId { get; set; }
///
/// 修改人
///
[SugarColumn(IsNullable = true)]
public string ModifyBy { get; set; }
///
/// 修改时间
///
[SugarColumn(IsNullable = true)]
public DateTime? ModifyTime { get; set; }
}
}