/***********************************************************************
* 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("CoreCmsPagesItems",TableDescription = "单页内容")]
public partial class CoreCmsPagesItems
{
///
/// 单页内容
///
public CoreCmsPagesItems()
{
}
///
///
///
[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 widgetCode { get; set; }
///
/// 页面编码
///
[Display(Name = "页面编码")]
[SugarColumn(ColumnDescription = "页面编码")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String pageCode { get; set; }
///
/// 布局位置
///
[Display(Name = "布局位置")]
[SugarColumn(ColumnDescription = "布局位置")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 positionId { get; set; }
///
/// 排序,越小越靠前
///
[Display(Name = "排序,越小越靠前")]
[SugarColumn(ColumnDescription = "排序,越小越靠前")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 sort { get; set; }
///
/// 组件配置内容
///
[Display(Name = "组件配置内容")]
[SugarColumn(ColumnDescription = "组件配置内容", IsNullable = true)]
public System.String parameters { get; set; }
}
}