添加项目文件。

This commit is contained in:
JianWeie
2021-12-20 21:27:32 +08:00
parent 747486f5cb
commit 82d825b7a5
3514 changed files with 887941 additions and 0 deletions

View File

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

View File

@@ -0,0 +1,59 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:59
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 微信订阅消息存储表
/// </summary>
[SugarTable("CoreCmsUserWeChatMsgSubscription",TableDescription = "微信订阅消息存储表")]
public partial class CoreCmsUserWeChatMsgSubscription
{
/// <summary>
/// 微信订阅消息存储表
/// </summary>
public CoreCmsUserWeChatMsgSubscription()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 模板Id
/// </summary>
[Display(Name = "模板Id")]
[SugarColumn(ColumnDescription = "模板Id")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String templateId { get; set; }
/// <summary>
/// 用户Id
/// </summary>
[Display(Name = "用户Id")]
[SugarColumn(ColumnDescription = "用户Id")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 userId { get; set; }
/// <summary>
/// 订阅类型
/// </summary>
[Display(Name = "订阅类型")]
[SugarColumn(ColumnDescription = "订阅类型")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String type { get; set; }
}
}

View File

@@ -0,0 +1,50 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:59
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 用户订阅提醒状态
/// </summary>
[SugarTable("CoreCmsUserWeChatMsgSubscriptionSwitch",TableDescription = "用户订阅提醒状态")]
public partial class CoreCmsUserWeChatMsgSubscriptionSwitch
{
/// <summary>
/// 用户订阅提醒状态
/// </summary>
public CoreCmsUserWeChatMsgSubscriptionSwitch()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 用户Id
/// </summary>
[Display(Name = "用户Id")]
[SugarColumn(ColumnDescription = "用户Id")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 userId { get; set; }
/// <summary>
/// 是否关闭
/// </summary>
[Display(Name = "是否关闭")]
[SugarColumn(ColumnDescription = "是否关闭")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isSwitch { get; set; }
}
}

View File

@@ -0,0 +1,106 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:59
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 微信小程序消息模板
/// </summary>
[SugarTable("CoreCmsUserWeChatMsgTemplate",TableDescription = "微信小程序消息模板")]
public partial class CoreCmsUserWeChatMsgTemplate
{
/// <summary>
/// 微信小程序消息模板
/// </summary>
public CoreCmsUserWeChatMsgTemplate()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 模板名称
/// </summary>
[Display(Name = "模板名称")]
[SugarColumn(ColumnDescription = "模板名称", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String templateTitle { get; set; }
/// <summary>
/// 模板说明
/// </summary>
[Display(Name = "模板说明")]
[SugarColumn(ColumnDescription = "模板说明", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String templateDes { get; set; }
/// <summary>
/// 模板Id
/// </summary>
[Display(Name = "模板Id")]
[SugarColumn(ColumnDescription = "模板Id", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String templateId { get; set; }
/// <summary>
/// 字段1
/// </summary>
[Display(Name = "字段1")]
[SugarColumn(ColumnDescription = "字段1", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String data01 { get; set; }
/// <summary>
/// 字段2
/// </summary>
[Display(Name = "字段2")]
[SugarColumn(ColumnDescription = "字段2", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String data02 { get; set; }
/// <summary>
/// 字段3
/// </summary>
[Display(Name = "字段3")]
[SugarColumn(ColumnDescription = "字段3", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String data03 { get; set; }
/// <summary>
/// 字段4
/// </summary>
[Display(Name = "字段4")]
[SugarColumn(ColumnDescription = "字段4", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String data04 { get; set; }
/// <summary>
/// 字段5
/// </summary>
[Display(Name = "字段5")]
[SugarColumn(ColumnDescription = "字段5", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String data05 { get; set; }
/// <summary>
/// 描述
/// </summary>
[Display(Name = "描述")]
[SugarColumn(ColumnDescription = "描述", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String description { get; set; }
/// <summary>
/// 排序
/// </summary>
[Display(Name = "排序")]
[SugarColumn(ColumnDescription = "排序")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 sortId { get; set; }
}
}

View File

@@ -0,0 +1,26 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/1/31 21:45:10
* Description: 暂无
***********************************************************************/
using SqlSugar;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 微信小程序消息模板
/// </summary>
public partial class CoreCmsUserWeChatMsgTemplate
{
/// <summary>
/// 是否订阅
/// </summary>
[SugarColumn(IsIgnore = true)]
public bool @is { get; set; }
}
}

View File

@@ -0,0 +1,173 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:59
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 获取授权方的帐号基本信息表
/// </summary>
[SugarTable("CoreCmsWeixinAuthor",TableDescription = "获取授权方的帐号基本信息表")]
public partial class CoreCmsWeixinAuthor
{
/// <summary>
/// 获取授权方的帐号基本信息表
/// </summary>
public CoreCmsWeixinAuthor()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 授权方昵称
/// </summary>
[Display(Name = "授权方昵称")]
[SugarColumn(ColumnDescription = "授权方昵称", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String nickName { get; set; }
/// <summary>
/// 授权方头像
/// </summary>
[Display(Name = "授权方头像")]
[SugarColumn(ColumnDescription = "授权方头像", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String headImg { get; set; }
/// <summary>
/// 默认为0
/// </summary>
[Display(Name = "默认为0")]
[SugarColumn(ColumnDescription = "默认为0", IsNullable = true)]
[StringLength(10, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String serviceTypeInfo { get; set; }
/// <summary>
/// 授权方认证类型
/// </summary>
[Display(Name = "授权方认证类型")]
[SugarColumn(ColumnDescription = "授权方认证类型", IsNullable = true)]
public System.Int32? verifyTypeInfo { get; set; }
/// <summary>
/// 小程序的原始ID
/// </summary>
[Display(Name = "小程序的原始ID")]
[SugarColumn(ColumnDescription = "小程序的原始ID", IsNullable = true)]
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String userName { get; set; }
/// <summary>
/// 帐号介绍
/// </summary>
[Display(Name = "帐号介绍")]
[SugarColumn(ColumnDescription = "帐号介绍", IsNullable = true)]
public System.String signature { get; set; }
/// <summary>
/// 小程序的主体名称
/// </summary>
[Display(Name = "小程序的主体名称")]
[SugarColumn(ColumnDescription = "小程序的主体名称", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String principalName { get; set; }
/// <summary>
/// 功能的开通状况0代表未开通1代表已开通 open_store:是否开通微信门店功能 open_scan:是否开通微信扫商品功能 open_pay:是否开通微信支付功能 open_card:是否开通微信卡券功能 open_shake:是否开通微信摇一摇功能
/// </summary>
[Display(Name = "功能的开通状况0代表未开通1代表已开通 open_store:是否开通微信门店功能 open_scan:是否开通微信扫商品功能 open_pay:是否开通微信支付功能 open_card:是否开通微信卡券功能 open_shake:是否开通微信摇一摇功能")]
[SugarColumn(ColumnDescription = "功能的开通状况0代表未开通1代表已开通 open_store:是否开通微信门店功能 open_scan:是否开通微信扫商品功能 open_pay:是否开通微信支付功能 open_card:是否开通微信卡券功能 open_shake:是否开通微信摇一摇功能", IsNullable = true)]
public System.String businessInfo { get; set; }
/// <summary>
/// 二维码图片的URL
/// </summary>
[Display(Name = "二维码图片的URL")]
[SugarColumn(ColumnDescription = "二维码图片的URL", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String qrcodeUrl { get; set; }
/// <summary>
/// 授权信息
/// </summary>
[Display(Name = "授权信息")]
[SugarColumn(ColumnDescription = "授权信息", IsNullable = true)]
public System.String authorizationInfo { get; set; }
/// <summary>
/// 授权方appid
/// </summary>
[Display(Name = "授权方appid")]
[SugarColumn(ColumnDescription = "授权方appid", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String appId { get; set; }
/// <summary>
/// 授权方AppSecret
/// </summary>
[Display(Name = "授权方AppSecret")]
[SugarColumn(ColumnDescription = "授权方AppSecret", IsNullable = true)]
[StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String appSecret { get; set; }
/// <summary>
/// 可根据这个字段判断是否为小程序类型授权,有值为小程序
/// </summary>
[Display(Name = "可根据这个字段判断是否为小程序类型授权,有值为小程序")]
[SugarColumn(ColumnDescription = "可根据这个字段判断是否为小程序类型授权,有值为小程序", IsNullable = true)]
public System.String miniprograminfo { get; set; }
/// <summary>
/// 小程序授权给开发者的权限集列表ID为17到19时分别代表 17.帐号管理权限 18.开发管理权限 19.客服消息管理权限 请注意: 1该字段的返回不会考虑小程序是否具备该权限集的权限因为可能部分具备
/// </summary>
[Display(Name = "小程序授权给开发者的权限集列表ID为17到19时分别代表 17.帐号管理权限 18.开发管理权限 19.客服消息管理权限 请注意: 1该字段的返回不会考虑小程序是否具备该权限集的权限因为可能部分具备")]
[SugarColumn(ColumnDescription = "小程序授权给开发者的权限集列表ID为17到19时分别代表 17.帐号管理权限 18.开发管理权限 19.客服消息管理权限 请注意: 1该字段的返回不会考虑小程序是否具备该权限集的权限因为可能部分具备", IsNullable = true)]
public System.String funcInfo { get; set; }
/// <summary>
/// 刷新token
/// </summary>
[Display(Name = "刷新token")]
[SugarColumn(ColumnDescription = "刷新token", IsNullable = true)]
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String authorizerRefreshToken { get; set; }
/// <summary>
/// token
/// </summary>
[Display(Name = "token")]
[SugarColumn(ColumnDescription = "token", IsNullable = true)]
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String authorizerAccessToken { get; set; }
/// <summary>
/// 绑定类型1为第三方授权绑定2为自助绑定
/// </summary>
[Display(Name = "绑定类型1为第三方授权绑定2为自助绑定")]
[SugarColumn(ColumnDescription = "绑定类型1为第三方授权绑定2为自助绑定", IsNullable = true)]
public System.Int32? bindType { get; set; }
/// <summary>
/// 授权类型默认b2c
/// </summary>
[Display(Name = "授权类型默认b2c")]
[SugarColumn(ColumnDescription = "授权类型默认b2c", IsNullable = true)]
[StringLength(10, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String authorType { get; set; }
/// <summary>
/// 绑定授权到期时间
/// </summary>
[Display(Name = "绑定授权到期时间")]
[SugarColumn(ColumnDescription = "绑定授权到期时间", IsNullable = true)]
public System.Int32? expiresIn { get; set; }
/// <summary>
/// 小程序授权时间
/// </summary>
[Display(Name = "小程序授权时间")]
[SugarColumn(ColumnDescription = "小程序授权时间", IsNullable = true)]
public System.DateTime? createTime { get; set; }
/// <summary>
/// 小程序更新时间
/// </summary>
[Display(Name = "小程序更新时间")]
[SugarColumn(ColumnDescription = "小程序更新时间", IsNullable = true)]
public System.DateTime? updateTime { get; set; }
}
}

View File

@@ -0,0 +1,89 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:59
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 微信图文消息表
/// </summary>
[SugarTable("CoreCmsWeixinMediaMessage",TableDescription = "微信图文消息表")]
public partial class CoreCmsWeixinMediaMessage
{
/// <summary>
/// 微信图文消息表
/// </summary>
public CoreCmsWeixinMediaMessage()
{
}
/// <summary>
///
/// </summary>
[Display(Name = "")]
[SugarColumn(ColumnDescription = "", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 标题
/// </summary>
[Display(Name = "标题")]
[SugarColumn(ColumnDescription = "标题", IsNullable = true)]
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String title { get; set; }
/// <summary>
/// 作者
/// </summary>
[Display(Name = "作者")]
[SugarColumn(ColumnDescription = "作者", IsNullable = true)]
[StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String author { get; set; }
/// <summary>
/// 摘要
/// </summary>
[Display(Name = "摘要")]
[SugarColumn(ColumnDescription = "摘要", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String brief { get; set; }
/// <summary>
/// 封面
/// </summary>
[Display(Name = "封面")]
[SugarColumn(ColumnDescription = "封面", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String imageUrl { get; set; }
/// <summary>
/// 文章详情
/// </summary>
[Display(Name = "文章详情")]
[SugarColumn(ColumnDescription = "文章详情", IsNullable = true)]
public System.String contentBody { get; set; }
/// <summary>
/// 原文地址
/// </summary>
[Display(Name = "原文地址")]
[SugarColumn(ColumnDescription = "原文地址", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String url { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[SugarColumn(ColumnDescription = "创建时间", IsNullable = true)]
public System.DateTime? createTime { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[Display(Name = "更新时间")]
[SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
public System.DateTime? updateTime { get; set; }
}
}

View File

@@ -0,0 +1,73 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:59
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 微信公众号菜单表
/// </summary>
[SugarTable("CoreCmsWeixinMenu",TableDescription = "微信公众号菜单表")]
public partial class CoreCmsWeixinMenu
{
/// <summary>
/// 微信公众号菜单表
/// </summary>
public CoreCmsWeixinMenu()
{
}
/// <summary>
///
/// </summary>
[Display(Name = "")]
[SugarColumn(ColumnDescription = "", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 菜单id
/// </summary>
[Display(Name = "菜单id")]
[SugarColumn(ColumnDescription = "菜单id")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 menuId { get; set; }
/// <summary>
/// 父级菜单
/// </summary>
[Display(Name = "父级菜单")]
[SugarColumn(ColumnDescription = "父级菜单")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 parentId { get; set; }
/// <summary>
/// 菜单名称
/// </summary>
[Display(Name = "菜单名称")]
[SugarColumn(ColumnDescription = "菜单名称")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String name { get; set; }
/// <summary>
/// 菜单类型
/// </summary>
[Display(Name = "菜单类型")]
[SugarColumn(ColumnDescription = "菜单类型")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(11, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String type { get; set; }
/// <summary>
/// 菜单参数
/// </summary>
[Display(Name = "菜单参数")]
[SugarColumn(ColumnDescription = "菜单参数")]
[Required(ErrorMessage = "请输入{0}")]
public System.String parameters { get; set; }
}
}

View File

@@ -0,0 +1,85 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:59
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 微信消息表
/// </summary>
[SugarTable("CoreCmsWeixinMessage",TableDescription = "微信消息表")]
public partial class CoreCmsWeixinMessage
{
/// <summary>
/// 微信消息表
/// </summary>
public CoreCmsWeixinMessage()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 消息名称
/// </summary>
[Display(Name = "消息名称")]
[SugarColumn(ColumnDescription = "消息名称", IsNullable = true)]
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String name { get; set; }
/// <summary>
/// 消息类型
/// </summary>
[Display(Name = "消息类型")]
[SugarColumn(ColumnDescription = "消息类型", IsNullable = true)]
public System.Int32? type { get; set; }
/// <summary>
/// 消息参数
/// </summary>
[Display(Name = "消息参数")]
[SugarColumn(ColumnDescription = "消息参数", IsNullable = true)]
public System.String parameters { get; set; }
/// <summary>
/// 是否关注回复
/// </summary>
[Display(Name = "是否关注回复")]
[SugarColumn(ColumnDescription = "是否关注回复", IsNullable = true)]
public System.Boolean? isAttention { get; set; }
/// <summary>
/// 是否默认回复
/// </summary>
[Display(Name = "是否默认回复")]
[SugarColumn(ColumnDescription = "是否默认回复", IsNullable = true)]
public System.Boolean? isDefault { get; set; }
/// <summary>
/// 是否启用
/// </summary>
[Display(Name = "是否启用")]
[SugarColumn(ColumnDescription = "是否启用", IsNullable = true)]
public System.Boolean? isEnable { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[SugarColumn(ColumnDescription = "创建时间", IsNullable = true)]
public System.DateTime? createTime { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[Display(Name = "更新时间")]
[SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
public System.DateTime? updateTime { get; set; }
}
}

View File

@@ -0,0 +1,73 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/7/29 1:54:48
* Description: 暂无
***********************************************************************/
using System.ComponentModel.DataAnnotations;
using SqlSugar;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 微信授权交互
/// </summary>
public class WeChatAccessToken
{
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public int id { get; set; }
/// <summary>
/// 类型1小程序2公众号
/// </summary>
[Display(Name = "类型1小程序2公众号")]
[Required(ErrorMessage = "请输入{0}")]
public int appType { get; set; }
/// <summary>
/// 微信appId
/// </summary>
[Display(Name = "微信appId")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(50, ErrorMessage = "{0}不能超过{1}字")]
public string appId { get; set; }
/// <summary>
/// 微信accessToken
/// </summary>
[Display(Name = "微信accessToken")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(250, ErrorMessage = "{0}不能超过{1}字")]
public string accessToken { get; set; }
/// <summary>
/// 截止时间
/// </summary>
[Display(Name = "截止时间")]
[Required(ErrorMessage = "请输入{0}")]
public long expireTimestamp { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[Display(Name = "更新时间")]
[Required(ErrorMessage = "请输入{0}")]
public long updateTimestamp { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[Required(ErrorMessage = "请输入{0}")]
public long createTimestamp { get; set; }
}
}