添加项目文件。

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,86 @@
/***********************************************************************
* 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("SysDictionary",TableDescription = "数据字典表")]
public partial class SysDictionary
{
/// <summary>
/// 数据字典表
/// </summary>
public SysDictionary()
{
}
/// <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 = "字典标识")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String dictCode { get; set; }
/// <summary>
/// 字典名称
/// </summary>
[Display(Name = "字典名称")]
[SugarColumn(ColumnDescription = "字典名称")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String dictName { get; set; }
/// <summary>
/// 备注
/// </summary>
[Display(Name = "备注")]
[SugarColumn(ColumnDescription = "备注", IsNullable = true)]
[StringLength(500, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String comments { get; set; }
/// <summary>
/// 排序号
/// </summary>
[Display(Name = "排序号")]
[SugarColumn(ColumnDescription = "排序号")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 sortNumber { get; set; }
/// <summary>
/// 是否删除,0否,1是
/// </summary>
[Display(Name = "是否删除,0否,1是")]
[SugarColumn(ColumnDescription = "是否删除,0否,1是")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean deleted { 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; }
}
}

View File

@@ -0,0 +1,90 @@
/***********************************************************************
* 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("SysDictionaryData",TableDescription = "数据字典项表")]
public partial class SysDictionaryData
{
/// <summary>
/// 数据字典项表
/// </summary>
public SysDictionaryData()
{
}
/// <summary>
/// 字典项id
/// </summary>
[Display(Name = "字典项id")]
[SugarColumn(ColumnDescription = "字典项id", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 字典id
/// </summary>
[Display(Name = "字典id")]
[SugarColumn(ColumnDescription = "字典id", IsNullable = true)]
public System.Int32? dictId { get; set; }
/// <summary>
/// 字典项标识
/// </summary>
[Display(Name = "字典项标识")]
[SugarColumn(ColumnDescription = "字典项标识", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String dictDataCode { get; set; }
/// <summary>
/// 字典项名称
/// </summary>
[Display(Name = "字典项名称")]
[SugarColumn(ColumnDescription = "字典项名称", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String dictDataName { get; set; }
/// <summary>
/// 备注
/// </summary>
[Display(Name = "备注")]
[SugarColumn(ColumnDescription = "备注", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String comments { get; set; }
/// <summary>
/// 排序号
/// </summary>
[Display(Name = "排序号")]
[SugarColumn(ColumnDescription = "排序号")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 sortNumber { get; set; }
/// <summary>
/// 是否删除,0否,1是
/// </summary>
[Display(Name = "是否删除,0否,1是")]
[SugarColumn(ColumnDescription = "是否删除,0否,1是")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean deleted { 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; }
}
}

View File

@@ -0,0 +1,99 @@
/***********************************************************************
* 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("SysLoginRecord",TableDescription = "登录日志表")]
public partial class SysLoginRecord
{
/// <summary>
/// 登录日志表
/// </summary>
public SysLoginRecord()
{
}
/// <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 username { get; set; }
/// <summary>
/// 操作系统
/// </summary>
[Display(Name = "操作系统")]
[SugarColumn(ColumnDescription = "操作系统", IsNullable = true)]
[StringLength(400, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String os { get; set; }
/// <summary>
/// 设备名
/// </summary>
[Display(Name = "设备名")]
[SugarColumn(ColumnDescription = "设备名", IsNullable = true)]
[StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String device { get; set; }
/// <summary>
/// 浏览器类型
/// </summary>
[Display(Name = "浏览器类型")]
[SugarColumn(ColumnDescription = "浏览器类型", IsNullable = true)]
[StringLength(400, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String browser { get; set; }
/// <summary>
/// ip地址
/// </summary>
[Display(Name = "ip地址")]
[SugarColumn(ColumnDescription = "ip地址", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String ip { get; set; }
/// <summary>
/// 操作类型
/// </summary>
[Display(Name = "操作类型")]
[SugarColumn(ColumnDescription = "操作类型")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 operType { get; set; }
/// <summary>
/// 备注
/// </summary>
[Display(Name = "备注")]
[SugarColumn(ColumnDescription = "备注", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String comments { 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; }
}
}

View File

@@ -0,0 +1,139 @@
/***********************************************************************
* 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("SysMenu",TableDescription = "菜单表")]
public partial class SysMenu
{
/// <summary>
/// 菜单表
/// </summary>
public SysMenu()
{
}
/// <summary>
/// 菜单id
/// </summary>
[Display(Name = "菜单id")]
[SugarColumn(ColumnDescription = "菜单id", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 上级id,0是顶级
/// </summary>
[Display(Name = "上级id,0是顶级")]
[SugarColumn(ColumnDescription = "上级id,0是顶级")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 parentId { get; set; }
/// <summary>
/// 英文标识符
/// </summary>
[Display(Name = "英文标识符")]
[SugarColumn(ColumnDescription = "英文标识符", IsNullable = true)]
[StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String identificationCode { get; set; }
/// <summary>
/// 菜单名称
/// </summary>
[Display(Name = "菜单名称")]
[SugarColumn(ColumnDescription = "菜单名称", IsNullable = true)]
[StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String menuName { get; set; }
/// <summary>
/// 菜单图标
/// </summary>
[Display(Name = "菜单图标")]
[SugarColumn(ColumnDescription = "菜单图标", IsNullable = true)]
[StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String menuIcon { get; set; }
/// <summary>
/// 菜单路由关键字
/// </summary>
[Display(Name = "菜单路由关键字")]
[SugarColumn(ColumnDescription = "菜单路由关键字", IsNullable = true)]
[StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String path { get; set; }
/// <summary>
/// 菜单组件地址
/// </summary>
[Display(Name = "菜单组件地址")]
[SugarColumn(ColumnDescription = "菜单组件地址", IsNullable = true)]
[StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String component { get; set; }
/// <summary>
/// 类型,0菜单,1按钮
/// </summary>
[Display(Name = "类型,0菜单,1按钮")]
[SugarColumn(ColumnDescription = "类型,0菜单,1按钮")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 menuType { get; set; }
/// <summary>
/// 排序号
/// </summary>
[Display(Name = "排序号")]
[SugarColumn(ColumnDescription = "排序号", IsNullable = true)]
public System.Int32? sortNumber { get; set; }
/// <summary>
/// 权限标识
/// </summary>
[Display(Name = "权限标识")]
[SugarColumn(ColumnDescription = "权限标识", IsNullable = true)]
[StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String authority { get; set; }
/// <summary>
/// 打开位置
/// </summary>
[Display(Name = "打开位置")]
[SugarColumn(ColumnDescription = "打开位置", IsNullable = true)]
[StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String target { get; set; }
/// <summary>
/// 菜单图标颜色
/// </summary>
[Display(Name = "菜单图标颜色")]
[SugarColumn(ColumnDescription = "菜单图标颜色", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String iconColor { get; set; }
/// <summary>
/// 是否隐藏,0否,1是
/// </summary>
[Display(Name = "是否隐藏,0否,1是")]
[SugarColumn(ColumnDescription = "是否隐藏,0否,1是")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean hide { get; set; }
/// <summary>
/// 是否删除,0否,1是
/// </summary>
[Display(Name = "是否删除,0否,1是")]
[SugarColumn(ColumnDescription = "是否删除,0否,1是")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean deleted { 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; }
}
}

View File

@@ -0,0 +1,131 @@
/***********************************************************************
* 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>
/// Nlog记录表
/// </summary>
[SugarTable("SysNLogRecords",TableDescription = "Nlog记录表")]
public partial class SysNLogRecords
{
/// <summary>
/// Nlog记录表
/// </summary>
public SysNLogRecords()
{
}
/// <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)]
public System.DateTime? LogDate { get; set; }
/// <summary>
/// 级别
/// </summary>
[Display(Name = "级别")]
[SugarColumn(ColumnDescription = "级别", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String LogLevel { get; set; }
/// <summary>
/// 事件日志上下文
/// </summary>
[Display(Name = "事件日志上下文")]
[SugarColumn(ColumnDescription = "事件日志上下文", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String LogType { get; set; }
/// <summary>
/// 事件标题
/// </summary>
[Display(Name = "事件标题")]
[SugarColumn(ColumnDescription = "事件标题", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String LogTitle { get; set; }
/// <summary>
/// 记录器名字
/// </summary>
[Display(Name = "记录器名字")]
[SugarColumn(ColumnDescription = "记录器名字", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String Logger { get; set; }
/// <summary>
/// 消息
/// </summary>
[Display(Name = "消息")]
[SugarColumn(ColumnDescription = "消息", IsNullable = true)]
public System.String Message { get; set; }
/// <summary>
/// 异常信息
/// </summary>
[Display(Name = "异常信息")]
[SugarColumn(ColumnDescription = "异常信息", IsNullable = true)]
public System.String Exception { get; set; }
/// <summary>
/// 机器名称
/// </summary>
[Display(Name = "机器名称")]
[SugarColumn(ColumnDescription = "机器名称", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String MachineName { get; set; }
/// <summary>
/// ip
/// </summary>
[Display(Name = "ip")]
[SugarColumn(ColumnDescription = "ip", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String MachineIp { get; set; }
/// <summary>
/// 请求方式
/// </summary>
[Display(Name = "请求方式")]
[SugarColumn(ColumnDescription = "请求方式", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String NetRequestMethod { get; set; }
/// <summary>
/// 请求地址
/// </summary>
[Display(Name = "请求地址")]
[SugarColumn(ColumnDescription = "请求地址", IsNullable = true)]
[StringLength(500, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String NetRequestUrl { get; set; }
/// <summary>
/// 是否授权
/// </summary>
[Display(Name = "是否授权")]
[SugarColumn(ColumnDescription = "是否授权", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String NetUserIsauthenticated { get; set; }
/// <summary>
/// 授权类型
/// </summary>
[Display(Name = "授权类型")]
[SugarColumn(ColumnDescription = "授权类型", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String NetUserAuthtype { get; set; }
/// <summary>
/// 身份认证
/// </summary>
[Display(Name = "身份认证")]
[SugarColumn(ColumnDescription = "身份认证", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String NetUserIdentity { get; set; }
}
}

View File

@@ -0,0 +1,126 @@
/***********************************************************************
* 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("SysOperRecord",TableDescription = "操作日志表")]
public partial class SysOperRecord
{
/// <summary>
/// 操作日志表
/// </summary>
public SysOperRecord()
{
}
/// <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 = "用户名", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String userName { get; set; }
/// <summary>
/// 操作模块
/// </summary>
[Display(Name = "操作模块")]
[SugarColumn(ColumnDescription = "操作模块", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String model { get; set; }
/// <summary>
/// 操作方法
/// </summary>
[Display(Name = "操作方法")]
[SugarColumn(ColumnDescription = "操作方法", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String description { 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)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String requestMethod { get; set; }
/// <summary>
/// 调用方法
/// </summary>
[Display(Name = "调用方法")]
[SugarColumn(ColumnDescription = "调用方法", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String operMethod { get; set; }
/// <summary>
/// 请求参数
/// </summary>
[Display(Name = "请求参数")]
[SugarColumn(ColumnDescription = "请求参数", IsNullable = true)]
public System.String param { get; set; }
/// <summary>
/// 返回结果
/// </summary>
[Display(Name = "返回结果")]
[SugarColumn(ColumnDescription = "返回结果", IsNullable = true)]
public System.String result { get; set; }
/// <summary>
/// ip地址
/// </summary>
[Display(Name = "ip地址")]
[SugarColumn(ColumnDescription = "ip地址", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String ip { get; set; }
/// <summary>
/// 请求耗时,单位毫秒
/// </summary>
[Display(Name = "请求耗时,单位毫秒")]
[SugarColumn(ColumnDescription = "请求耗时,单位毫秒")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String spendTime { get; set; }
/// <summary>
/// 状态,0成功,1异常
/// </summary>
[Display(Name = "状态,0成功,1异常")]
[SugarColumn(ColumnDescription = "状态,0成功,1异常")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 state { get; set; }
/// <summary>
/// 登录时间
/// </summary>
[Display(Name = "登录时间")]
[SugarColumn(ColumnDescription = "登录时间")]
[Required(ErrorMessage = "请输入{0}")]
public System.DateTime createTime { get; set; }
}
}

View File

@@ -0,0 +1,104 @@
/***********************************************************************
* 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("SysOrganization",TableDescription = "组织机构表")]
public partial class SysOrganization
{
/// <summary>
/// 组织机构表
/// </summary>
public SysOrganization()
{
}
/// <summary>
/// 机构id
/// </summary>
[Display(Name = "机构id")]
[SugarColumn(ColumnDescription = "机构id", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 上级id,0是顶级
/// </summary>
[Display(Name = "上级id,0是顶级")]
[SugarColumn(ColumnDescription = "上级id,0是顶级")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 parentId { get; set; }
/// <summary>
/// 机构名称
/// </summary>
[Display(Name = "机构名称")]
[SugarColumn(ColumnDescription = "机构名称", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String organizationName { get; set; }
/// <summary>
/// 机构名称
/// </summary>
[Display(Name = "机构名称")]
[SugarColumn(ColumnDescription = "机构名称", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String organizationFullName { get; set; }
/// <summary>
/// 机构类型
/// </summary>
[Display(Name = "机构类型")]
[SugarColumn(ColumnDescription = "机构类型")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 organizationType { get; set; }
/// <summary>
/// 负责人id
/// </summary>
[Display(Name = "负责人id")]
[SugarColumn(ColumnDescription = "负责人id", IsNullable = true)]
public System.Int32? leaderId { get; set; }
/// <summary>
/// 排序号
/// </summary>
[Display(Name = "排序号")]
[SugarColumn(ColumnDescription = "排序号")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 sortNumber { get; set; }
/// <summary>
/// 备注
/// </summary>
[Display(Name = "备注")]
[SugarColumn(ColumnDescription = "备注", IsNullable = true)]
[StringLength(500, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String comments { get; set; }
/// <summary>
/// 是否删除,0否,1是
/// </summary>
[Display(Name = "是否删除,0否,1是")]
[SugarColumn(ColumnDescription = "是否删除,0否,1是")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean deleted { 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; }
}
}

View File

@@ -0,0 +1,78 @@
/***********************************************************************
* 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("SysRole",TableDescription = "角色表")]
public partial class SysRole
{
/// <summary>
/// 角色表
/// </summary>
public SysRole()
{
}
/// <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 = "角色名称")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String roleName { get; set; }
/// <summary>
/// 角色标识
/// </summary>
[Display(Name = "角色标识")]
[SugarColumn(ColumnDescription = "角色标识", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String roleCode { get; set; }
/// <summary>
/// 备注
/// </summary>
[Display(Name = "备注")]
[SugarColumn(ColumnDescription = "备注", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String comments { get; set; }
/// <summary>
/// 是否删除,0否,1是
/// </summary>
[Display(Name = "是否删除,0否,1是")]
[SugarColumn(ColumnDescription = "是否删除,0否,1是")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean deleted { 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; }
}
}

View File

@@ -0,0 +1,63 @@
/***********************************************************************
* 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("SysRoleMenu",TableDescription = "角色菜单关联表")]
public partial class SysRoleMenu
{
/// <summary>
/// 角色菜单关联表
/// </summary>
public SysRoleMenu()
{
}
/// <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 roleId { 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.DateTime createTime { get; set; }
/// <summary>
/// 修改时间
/// </summary>
[Display(Name = "修改时间")]
[SugarColumn(ColumnDescription = "修改时间", IsNullable = true)]
public System.DateTime? updateTime { get; set; }
}
}

View File

@@ -0,0 +1,36 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/1/31 21:45:10
* Description: 暂无
***********************************************************************/
using System.ComponentModel.DataAnnotations;
using SqlSugar;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 用户权限和菜单关系表扩展
/// </summary>
public partial class SysRoleMenu
{
/// <summary>
/// 菜单
/// </summary>
[Display(Name = "菜单")]
[SugarColumn(IsIgnore = true)]
public SysMenu menu { get; set; }
/// <summary>
/// 权限
/// </summary>
[Display(Name = "权限")]
[SugarColumn(IsIgnore = true)]
public SysRole role { get; set; }
}
}

View File

@@ -0,0 +1,64 @@
/***********************************************************************
* 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("SysTaskLog",TableDescription = "定时任务日志")]
public partial class SysTaskLog
{
/// <summary>
/// 定时任务日志
/// </summary>
public SysTaskLog()
{
}
/// <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 name { get; set; }
/// <summary>
/// 完成时间
/// </summary>
[Display(Name = "完成时间")]
[SugarColumn(ColumnDescription = "完成时间")]
[Required(ErrorMessage = "请输入{0}")]
public System.DateTime createTime { get; set; }
/// <summary>
/// 是否完成
/// </summary>
[Display(Name = "是否完成")]
[SugarColumn(ColumnDescription = "是否完成")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isSuccess { get; set; }
/// <summary>
/// 其他数据
/// </summary>
[Display(Name = "其他数据")]
[SugarColumn(ColumnDescription = "其他数据", IsNullable = true)]
public System.String parameters { get; set; }
}
}

View File

@@ -0,0 +1,152 @@
/***********************************************************************
* 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("SysUser",TableDescription = "用户表")]
public partial class SysUser
{
/// <summary>
/// 用户表
/// </summary>
public SysUser()
{
}
/// <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)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String userName { get; set; }
/// <summary>
/// 密码
/// </summary>
[Display(Name = "密码")]
[SugarColumn(ColumnDescription = "密码", IsNullable = true)]
[StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String passWord { 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 = "头像", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String avatar { get; set; }
/// <summary>
/// 性别
/// </summary>
[Display(Name = "性别")]
[SugarColumn(ColumnDescription = "性别")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 sex { get; set; }
/// <summary>
/// 手机号
/// </summary>
[Display(Name = "手机号")]
[SugarColumn(ColumnDescription = "手机号", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String phone { get; set; }
/// <summary>
/// 邮箱
/// </summary>
[Display(Name = "邮箱")]
[SugarColumn(ColumnDescription = "邮箱", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String email { get; set; }
/// <summary>
/// 邮箱是否验证
/// </summary>
[Display(Name = "邮箱是否验证")]
[SugarColumn(ColumnDescription = "邮箱是否验证")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean emailVerified { get; set; }
/// <summary>
/// 真实姓名
/// </summary>
[Display(Name = "真实姓名")]
[SugarColumn(ColumnDescription = "真实姓名", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String trueName { get; set; }
/// <summary>
/// 身份证号
/// </summary>
[Display(Name = "身份证号")]
[SugarColumn(ColumnDescription = "身份证号", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String idCard { get; set; }
/// <summary>
/// 出生日期
/// </summary>
[Display(Name = "出生日期")]
[SugarColumn(ColumnDescription = "出生日期", IsNullable = true)]
public System.DateTime? birthday { get; set; }
/// <summary>
/// 个人简介
/// </summary>
[Display(Name = "个人简介")]
[SugarColumn(ColumnDescription = "个人简介", IsNullable = true)]
[StringLength(500, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String introduction { get; set; }
/// <summary>
/// 机构id
/// </summary>
[Display(Name = "机构id")]
[SugarColumn(ColumnDescription = "机构id", IsNullable = true)]
public System.Int32? organizationId { get; set; }
/// <summary>
/// 状态,0正常,1冻结
/// </summary>
[Display(Name = "状态,0正常,1冻结")]
[SugarColumn(ColumnDescription = "状态,0正常,1冻结")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 state { get; set; }
/// <summary>
/// 是否删除,0否,1是
/// </summary>
[Display(Name = "是否删除,0否,1是")]
[SugarColumn(ColumnDescription = "是否删除,0否,1是")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean deleted { 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; }
}
}

View File

@@ -0,0 +1,45 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/1/31 21:45:10
* Description: 暂无
***********************************************************************/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using SqlSugar;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 用户表扩展
/// </summary>
public partial class SysUser
{
/// <summary>
/// 权限序列
/// </summary>
[Display(Name = "权限序列")]
[SugarColumn(IsIgnore = true)]
public string roleIds { get; set; }
/// <summary>
/// 权限列表
/// </summary>
[Display(Name = "权限序列")]
[SugarColumn(IsIgnore = true)]
public List<SysRole> roles { get; set; }
/// <summary>
/// 组织机构名称
/// </summary>
[Display(Name = "组织机构名称")]
[SugarColumn(IsIgnore = true)]
public string organizationName { get; set; }
}
}

View File

@@ -0,0 +1,63 @@
/***********************************************************************
* 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("SysUserRole",TableDescription = "用户角色关联表")]
public partial class SysUserRole
{
/// <summary>
/// 用户角色关联表
/// </summary>
public SysUserRole()
{
}
/// <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>
/// 角色id
/// </summary>
[Display(Name = "角色id")]
[SugarColumn(ColumnDescription = "角色id")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 roleId { 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; }
}
}