/***********************************************************************
* Project: baifenBinfa
* ProjectName: 百分兵法管理系统
* Web: http://chuanyin.com
* Author:
* Email: 34161541@qq.com
* CreateTime: 2024-03-01 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
///
/// 消息配置表
///
[SugarTable("CoreCmsMessageCenter",TableDescription = "消息配置表")]
public partial class CoreCmsMessageCenter
{
///
/// 消息配置表
///
public CoreCmsMessageCenter()
{
}
///
/// 序列
///
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
///
/// 编码
///
[Display(Name = "编码")]
[SugarColumn(ColumnDescription = "编码")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String code { get; set; }
///
/// 描述
///
[Display(Name = "描述")]
[SugarColumn(ColumnDescription = "描述", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String description { get; set; }
///
/// 启用短信
///
[Display(Name = "启用短信")]
[SugarColumn(ColumnDescription = "启用短信")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isSms { get; set; }
///
/// 启用站内消息
///
[Display(Name = "启用站内消息")]
[SugarColumn(ColumnDescription = "启用站内消息")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isMessage { get; set; }
///
/// 启用微信模板消息
///
[Display(Name = "启用微信模板消息")]
[SugarColumn(ColumnDescription = "启用微信模板消息")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isWxTempletMessage { get; set; }
}
}