mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-03-23 16:27:20 +08:00
添加项目文件。
This commit is contained in:
83
CoreCms.Net.Model/Entities/Message/CoreCmsMessage.cs
Normal file
83
CoreCms.Net.Model/Entities/Message/CoreCmsMessage.cs
Normal file
@@ -0,0 +1,83 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021-06-08 22:14:58
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
using SqlSugar;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 消息发送表
|
||||
/// </summary>
|
||||
[SugarTable("CoreCmsMessage",TableDescription = "消息发送表")]
|
||||
public partial class CoreCmsMessage
|
||||
{
|
||||
/// <summary>
|
||||
/// 消息发送表
|
||||
/// </summary>
|
||||
public CoreCmsMessage()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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}")]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String code { 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.String contentBody { get; set; }
|
||||
/// <summary>
|
||||
/// 是否查看
|
||||
/// </summary>
|
||||
[Display(Name = "是否查看")]
|
||||
[SugarColumn(ColumnDescription = "是否查看")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean status { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Display(Name = "创建时间")]
|
||||
[SugarColumn(ColumnDescription = "创建时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.DateTime createTime { get; set; }
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[Display(Name = "更新时间")]
|
||||
[SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
|
||||
public System.DateTime? updateTime { get; set; }
|
||||
}
|
||||
}
|
||||
72
CoreCms.Net.Model/Entities/Message/CoreCmsMessageCenter.cs
Normal file
72
CoreCms.Net.Model/Entities/Message/CoreCmsMessageCenter.cs
Normal file
@@ -0,0 +1,72 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021-06-08 22:14:58
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
using SqlSugar;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 消息配置表
|
||||
/// </summary>
|
||||
[SugarTable("CoreCmsMessageCenter",TableDescription = "消息配置表")]
|
||||
public partial class CoreCmsMessageCenter
|
||||
{
|
||||
/// <summary>
|
||||
/// 消息配置表
|
||||
/// </summary>
|
||||
public CoreCmsMessageCenter()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 = "编码")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String code { 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.Boolean isSms { get; set; }
|
||||
/// <summary>
|
||||
/// 启用站内消息
|
||||
/// </summary>
|
||||
[Display(Name = "启用站内消息")]
|
||||
[SugarColumn(ColumnDescription = "启用站内消息")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isMessage { get; set; }
|
||||
/// <summary>
|
||||
/// 启用微信模板消息
|
||||
/// </summary>
|
||||
[Display(Name = "启用微信模板消息")]
|
||||
[SugarColumn(ColumnDescription = "启用微信模板消息")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isWxTempletMessage { get; set; }
|
||||
}
|
||||
}
|
||||
89
CoreCms.Net.Model/Entities/Message/CoreCmsSms.cs
Normal file
89
CoreCms.Net.Model/Entities/Message/CoreCmsSms.cs
Normal 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("CoreCmsSms",TableDescription = "短信发送日志")]
|
||||
public partial class CoreCmsSms
|
||||
{
|
||||
/// <summary>
|
||||
/// 短信发送日志
|
||||
/// </summary>
|
||||
public CoreCmsSms()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 = "手机号码")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(15, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String mobile { get; set; }
|
||||
/// <summary>
|
||||
/// 发送编码
|
||||
/// </summary>
|
||||
[Display(Name = "发送编码")]
|
||||
[SugarColumn(ColumnDescription = "发送编码")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(60, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String code { get; set; }
|
||||
/// <summary>
|
||||
/// 参数
|
||||
/// </summary>
|
||||
[Display(Name = "参数")]
|
||||
[SugarColumn(ColumnDescription = "参数")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.String parameters { get; set; }
|
||||
/// <summary>
|
||||
/// 内容
|
||||
/// </summary>
|
||||
[Display(Name = "内容")]
|
||||
[SugarColumn(ColumnDescription = "内容")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String contentBody { get; set; }
|
||||
/// <summary>
|
||||
/// ip
|
||||
/// </summary>
|
||||
[Display(Name = "ip")]
|
||||
[SugarColumn(ColumnDescription = "ip")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String ip { get; set; }
|
||||
/// <summary>
|
||||
/// 是否使用
|
||||
/// </summary>
|
||||
[Display(Name = "是否使用")]
|
||||
[SugarColumn(ColumnDescription = "是否使用")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isUsed { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Display(Name = "创建时间")]
|
||||
[SugarColumn(ColumnDescription = "创建时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.DateTime createTime { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user