添加项目文件。

This commit is contained in:
zel
2025-03-05 19:42:01 +08:00
parent 659f1a2ad9
commit 47dcdeb55d
582 changed files with 242004 additions and 0 deletions

View File

@@ -0,0 +1,121 @@
/*******************************************************************************
* Copyright © 2020 WaterCloud.Framework 版权所有
* Author: WaterCloud
* Description: WaterCloud快速开发平台
* Website
*********************************************************************************/
using SqlSugar;
using System;
using System.ComponentModel.DataAnnotations;
namespace WaterCloud.Domain.SystemManage
{
[SugarTable("sys_area")]
public class AreaEntity : IEntity<AreaEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
{
/// <summary>
/// 主键Id
/// </summary>
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
public string F_Id { get; set; }
/// <summary>
/// 父级Id
/// </summary>
[Required(ErrorMessage = "父级不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_ParentId", ColumnDataType = "nvarchar(50)", ColumnDescription = "父级Id")]
public string F_ParentId { get; set; }
/// <summary>
/// 层级
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "层级")]
public int? F_Layers { get; set; }
/// <summary>
/// 编号
/// </summary>
[Required(ErrorMessage = "编号不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_EnCode", ColumnDataType = "nvarchar(50)", ColumnDescription = "编号", UniqueGroupNameList = new string[] { "sys_area" })]
public string F_EnCode { get; set; }
/// <summary>
/// 名称
/// </summary>
[Required(ErrorMessage = "名称不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_FullName", ColumnDataType = "nvarchar(50)", ColumnDescription = "名称")]
public string F_FullName { get; set; }
/// <summary>
/// 简拼
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_SimpleSpelling", ColumnDataType = "nvarchar(50)", ColumnDescription = "简拼")]
public string F_SimpleSpelling { get; set; }
/// <summary>
/// 排序
/// </summary>
[Required(ErrorMessage = "排序不能为空")]
[Range(0, 999999999999, ErrorMessage = "排序大小必须介于1~999999999999之间")]
[SugarColumn(IsNullable = true, ColumnDescription = "排序")]
public long? F_SortCode { get; set; }
/// <summary>
/// 删除标记
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "删除标记")]
public bool? F_DeleteMark { get; set; }
/// <summary>
/// 有效标记
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "有效标记")]
public bool? F_EnabledMark { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "longtext", ColumnDescription = "备注")]
public string F_Description { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
public DateTime? F_CreatorTime { get; set; }
/// <summary>
/// 创建人Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人Id")]
public string F_CreatorUserId { get; set; }
/// <summary>
/// 修改时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
public DateTime? F_LastModifyTime { get; set; }
/// <summary>
/// 修改人Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "修改人Id")]
public string F_LastModifyUserId { get; set; }
/// <summary>
/// 删除时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "删除时间")]
public DateTime? F_DeleteTime { get; set; }
/// <summary>
/// 删除人Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_DeleteUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "删除人Id")]
public string F_DeleteUserId { get; set; }
[SugarColumn(IsIgnore = true)]
public bool haveChild { get; set; }
}
}

View File

@@ -0,0 +1,48 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace WaterCloud.Domain.SystemManage
{
/// <summary>
/// 单据规则模型
/// </summary>
public class CodeRuleFormatEntity
{
/// <summary>
/// 编码前缀类型 1-固定参数 2-日期 3-年 4-月 5-日 6-周别 7-周几 8-小时 9-上午下午 10-班别 11-流水号 12-自定义 13-通配符
/// </summary>
[Range(1, 15)]
public int FormatType { get; set; }
/// <summary>
/// 格式化字符串
/// </summary>
public string FormatString { get; set; }
/// <summary>
/// 自定义日,月,周别,周几,班别,上午下午
/// </summary>
public string[] DiyDate { get; set; }
/// <summary>
/// 流水号初始值默认1
/// </summary>
public int? InitValue { get; set; } = 1;
/// <summary>
/// 流水号最大值
/// </summary>
public int? MaxValue { get; set; }
/// <summary>
/// 步长
/// </summary>
public decimal? Increment { get; set; } = 1;
/// <summary>
/// 进制
/// </summary>
[Range(2, 36)]
public int ToBase { get; set; } = 10;
}
}

View File

@@ -0,0 +1,95 @@
using System;
using SqlSugar;
namespace WaterCloud.Domain.SystemManage
{
/// <summary>
/// 创 建:超级管理员
/// 日 期2022-10-06 14:18
/// 描 述:条码生成记录实体类
/// </summary>
[SugarTable("sys_codegeneratelog")]
public class CodegeneratelogEntity : IEntity<CodegeneratelogEntity>,ICreationAudited,IModificationAudited,IDeleteAudited
{
/// <summary>
/// 主键
/// </summary>
[SugarColumn(ColumnName="F_Id", ColumnDescription = "主键",IsPrimaryKey = true)]
public string F_Id { get; set; }
/// <summary>
/// 条码
/// </summary>
[SugarColumn(ColumnName="F_Code", ColumnDescription = "条码",ColumnDataType = "nvarchar(50)")]
public string F_Code { get; set; }
/// <summary>
/// 规则id
/// </summary>
[SugarColumn(ColumnName="F_RuleId", ColumnDescription = "规则id",ColumnDataType = "nvarchar(50)")]
public string F_RuleId { get; set; }
/// <summary>
/// 规则名称
/// </summary>
[SugarColumn(ColumnName="F_RuleName", ColumnDescription = "规则名称",ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string F_RuleName { get; set; }
/// <summary>
/// 打印Json
/// </summary>
[SugarColumn(ColumnName="F_PrintJson", ColumnDescription = "打印Json",ColumnDataType = "longtext", IsNullable = true)]
public string F_PrintJson { get; set; }
/// <summary>
/// 打印次数
/// </summary>
[SugarColumn(ColumnName="F_PrintCount", ColumnDescription = "打印次数", IsNullable = true)]
public int? F_PrintCount { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_DeleteMark", IsNullable = true)]
public bool? F_DeleteMark { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_EnabledMark", IsNullable = true)]
public bool? F_EnabledMark { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_Description",ColumnDataType = "longtext", IsNullable = true)]
public string F_Description { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_CreatorTime", IsNullable = true)]
public DateTime? F_CreatorTime { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_CreatorUserId", ColumnDescription = "",ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string F_CreatorUserId { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_CreatorUserName", ColumnDescription = "",ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string F_CreatorUserName { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_LastModifyTime", IsNullable = true)]
public DateTime? F_LastModifyTime { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_LastModifyUserId", ColumnDescription = "",ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string F_LastModifyUserId { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_DeleteTime", IsNullable = true)]
public DateTime? F_DeleteTime { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_DeleteUserId", ColumnDescription = "",ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string F_DeleteUserId { get; set; }
}
}

View File

@@ -0,0 +1,105 @@
using System;
using SqlSugar;
namespace WaterCloud.Domain.SystemManage
{
/// <summary>
/// 创 建:超级管理员
/// 日 期2022-10-06 11:25
/// 描 述:条码规则实体类
/// </summary>
[SugarTable("sys_coderule")]
public class CoderuleEntity : IEntity<CoderuleEntity>,ICreationAudited,IModificationAudited,IDeleteAudited
{
/// <summary>
/// 主键
/// </summary>
[SugarColumn(ColumnName="F_Id", ColumnDescription = "主键",IsPrimaryKey = true)]
public string F_Id { get; set; }
/// <summary>
/// 规则名称
/// </summary>
[SugarColumn(ColumnName="F_RuleName", ColumnDescription = "规则名称",ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string F_RuleName { get; set; }
/// <summary>
/// 规则内容
/// </summary>
[SugarColumn(ColumnName="F_RuleJson", ColumnDescription = "规则内容",ColumnDataType = "longtext")]
public string F_RuleJson { get; set; }
/// <summary>
/// 重设机制
/// </summary>
[SugarColumn(ColumnName="F_Reset", ColumnDescription = "重设机制",ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string F_Reset { get; set; }
/// <summary>
/// 打印模板Id
/// </summary>
[SugarColumn(ColumnName = "F_TemplateId", ColumnDescription = "模板Id", ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string F_TemplateId { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_DeleteMark", IsNullable = true)]
public bool? F_DeleteMark { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_EnabledMark", IsNullable = true)]
public bool? F_EnabledMark { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_Description",ColumnDataType = "longtext", IsNullable = true)]
public string F_Description { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_CreatorTime", IsNullable = true)]
public DateTime? F_CreatorTime { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_CreatorUserId", ColumnDescription = "",ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string F_CreatorUserId { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_CreatorUserName", ColumnDescription = "",ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string F_CreatorUserName { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_LastModifyTime", IsNullable = true)]
public DateTime? F_LastModifyTime { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_LastModifyUserId", ColumnDescription = "",ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string F_LastModifyUserId { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_DeleteTime", IsNullable = true)]
public DateTime? F_DeleteTime { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_DeleteUserId", ColumnDescription = "",ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string F_DeleteUserId { get; set; }
/// <summary>
/// 打印模板
/// </summary>
[SugarColumn(IsIgnore = true)]
public string F_TemplateName { get; set; }
/// <summary>
/// 打印方式
/// </summary>
[SugarColumn(IsIgnore = true)]
public int? F_PrintType { get; set; }
/// <summary>
/// 是否批量
/// </summary>
[SugarColumn(IsIgnore = true)]
public bool? F_Batch { get; set; }
}
}

View File

@@ -0,0 +1,41 @@
using System;
using System.ComponentModel.DataAnnotations;
using SqlSugar;
namespace WaterCloud.Domain.SystemManage
{
/// <summary>
/// 创 建:超级管理员
/// 日 期2022-10-08 16:20
/// 描 述:条码规则计数实体类
/// </summary>
[SugarTable("sys_coderulelog")]
public class CoderulelogEntity
{
/// <summary>
/// 主键
/// </summary>
[SugarColumn(ColumnName="F_Id", ColumnDescription = "主键",ColumnDataType = "nvarchar(50)",IsPrimaryKey = true)]
public string F_Id { get; set; }
/// <summary>
/// 规则Id
/// </summary>
[SugarColumn(ColumnName="F_RuleId", ColumnDescription = "规则Id",ColumnDataType = "nvarchar(50)")]
public string F_RuleId { get; set; }
/// <summary>
/// key
/// </summary>
[SugarColumn(ColumnName="F_Key", ColumnDescription = "key",ColumnDataType = "nvarchar(100)")]
public string F_Key { get; set; }
/// <summary>
/// value
/// </summary>
[SugarColumn(ColumnName="F_Value", ColumnDescription = "value",ColumnDataType = "nvarchar(100)", IsNullable = true)]
public string F_Value { get; set; }
/// <summary>
/// 计数
/// </summary>
[SugarColumn(ColumnName="F_Score", ColumnDescription = "计数", IsNullable = true)]
public int? F_Score { get; set; }
}
}

View File

@@ -0,0 +1,32 @@
namespace WaterCloud.Domain.SystemManage
{
public class FlowschemeExtend : FlowschemeEntity
{
/// 用户显示
/// </summary>
public string F_WebId { get; set; }
public string F_FrmContentData { get; set; }
public string F_FrmContent { get; set; }
/// <summary>
/// 如果下个执行节点是运行时指定执行者。需要传指定的类型
/// <para>取值为RUNTIME_SPECIAL_ROLE、RUNTIME_SPECIAL_USER</para>
/// </summary>
public string NextNodeDesignateType { get; set; }
/// <summary>
/// 如果下个执行节点是运行时指定执行者。该值表示具体的执行者
/// <para>如果NodeDesignateType为RUNTIME_SPECIAL_ROLE则该值为指定的角色</para>
/// <para>如果NodeDesignateType为RUNTIME_SPECIAL_USER则该值为指定的用户</para>
/// </summary>
public string[] NextNodeDesignates { get; set; }
public string NextMakerName { get; set; }
/// <summary>
/// 可写的表单项
/// </summary>
public string[] CanWriteFormItems { get; set; }
}
}

View File

@@ -0,0 +1,23 @@
//-----------------------------------------------------------------------
// <copyright file=" QuickModule.cs" company="WaterCloud">
// * Copyright (C) WaterCloud.Framework All Rights Reserved
// * version : 1.0
// * author : WaterCloud.Framework
// * FileName: QuickModule.cs
// * history : Created by T4 04/13/2020 16:51:14
// </copyright>
//-----------------------------------------------------------------------
namespace WaterCloud.Domain.SystemManage
{
/// <summary>
/// QuickModule Entity Model
/// </summary>
public class QuickModuleExtend
{
public string id { get; set; }
public string title { get; set; }
public string href { get; set; }
public string icon { get; set; }
}
}

View File

@@ -0,0 +1,183 @@
using SqlSugar;
using System;
using System.ComponentModel.DataAnnotations;
namespace WaterCloud.Domain.SystemManage
{
/// <summary>
/// 创 建:超级管理员
/// 日 期2020-07-10 08:49
/// 描 述:流程设计实体类
/// </summary>
[SugarTable("sys_flowscheme")]
public class FlowschemeEntity : IEntity<FlowschemeEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
{
/// <summary>
/// 主键Id
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
public string F_Id { get; set; }
/// <summary>
/// 流程编号
/// </summary>
/// <returns></returns>
[Required(ErrorMessage = "流程编号不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_SchemeCode", ColumnDataType = "nvarchar(50)", ColumnDescription = "流程编号", UniqueGroupNameList = new string[] { "sys_flowscheme" })]
public string F_SchemeCode { get; set; }
/// <summary>
/// 流程名称
/// </summary>
/// <returns></returns>
[Required(ErrorMessage = "流程名称不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_SchemeName", ColumnDataType = "nvarchar(200)", ColumnDescription = "流程名称")]
public string F_SchemeName { get; set; }
/// <summary>
/// 流程分类
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_SchemeType", ColumnDataType = "nvarchar(50)", ColumnDescription = "流程分类")]
public string F_SchemeType { get; set; }
/// <summary>
/// 流程内容版本
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_SchemeVersion", ColumnDataType = "nvarchar(50)", ColumnDescription = "流程内容版本")]
public string F_SchemeVersion { get; set; }
/// <summary>
/// 流程模板使用者
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_SchemeCanUser", ColumnDataType = "longtext", ColumnDescription = "流程模板使用者")]
public string F_SchemeCanUser { get; set; }
/// <summary>
/// 流程内容
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_SchemeContent", ColumnDataType = "longtext", ColumnDescription = "流程内容")]
public string F_SchemeContent { get; set; }
/// <summary>
/// 表单ID
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_FrmId", ColumnDataType = "nvarchar(50)", ColumnDescription = "表单ID")]
public string F_FrmId { get; set; }
/// <summary>
/// 表单类型
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = false, ColumnDescription = "表单类型")]
public int F_FrmType { get; set; }
/// <summary>
/// 模板权限类型0完全公开,1指定部门/人员
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = false, ColumnDescription = "模板权限类型0完全公开,1指定部门/人员")]
public int F_AuthorizeType { get; set; }
/// <summary>
/// 排序码
/// </summary>
/// <returns></returns>
[Required(ErrorMessage = "排序不能为空")]
[Range(0, 99999999, ErrorMessage = "排序大小必须介于1~99999999之间")]
[SugarColumn(IsNullable = true, ColumnDescription = "排序码")]
public int? F_SortCode { get; set; }
/// <summary>
/// 删除标记
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "删除标记")]
public bool? F_DeleteMark { get; set; }
/// <summary>
/// 有效
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "有效")]
public bool? F_EnabledMark { get; set; }
/// <summary>
/// 备注
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "nvarchar(200)", ColumnDescription = "备注")]
public string F_Description { get; set; }
/// <summary>
/// 创建时间
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
public DateTime? F_CreatorTime { get; set; }
/// <summary>
/// 创建用户主键
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建用户主键")]
public string F_CreatorUserId { get; set; }
/// <summary>
/// 创建用户
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserName", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建用户")]
public string F_CreatorUserName { get; set; }
/// <summary>
/// 修改时间
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
public DateTime? F_LastModifyTime { get; set; }
/// <summary>
/// 修改用户主键
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "修改用户主键")]
public string F_LastModifyUserId { get; set; }
/// <summary>
/// 修改用户
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserName", ColumnDataType = "nvarchar(50)", ColumnDescription = "修改用户")]
public string F_LastModifyUserName { get; set; }
/// <summary>
/// 所属部门
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_OrganizeId", ColumnDataType = "nvarchar(50)", ColumnDescription = "所属部门")]
public string F_OrganizeId { get; set; }
/// <summary>
/// 删除时间
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "删除时间")]
public DateTime? F_DeleteTime { get; set; }
/// <summary>
/// 删除人
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_DeleteUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "删除人")]
public string F_DeleteUserId { get; set; }
[SugarColumn(IsIgnore = true)]
public string F_ParentId { get; set; }
}
}

View File

@@ -0,0 +1,162 @@
using SqlSugar;
using System;
using System.ComponentModel.DataAnnotations;
namespace WaterCloud.Domain.SystemManage
{
/// <summary>
/// 创 建:超级管理员
/// 日 期2020-07-08 14:33
/// 描 述:表单设计实体类
/// </summary>
[SugarTable("sys_form")]
public class FormEntity : IEntity<FormEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
{
/// <summary>
/// 表单模板Id
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
public string F_Id { get; set; }
/// <summary>
/// 表单名称
/// </summary>
/// <returns></returns>
[Required(ErrorMessage = "表单名称不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_Name", ColumnDataType = "nvarchar(200)", ColumnDescription = "表单名称", UniqueGroupNameList = new string[] { "sys_form" })]
public string F_Name { get; set; }
/// <summary>
/// 表单类型0默认动态表单1Web自定义表单
/// </summary>
/// <returns></returns>
[Required(ErrorMessage = "表单类型不能为空")]
[SugarColumn(IsNullable = true, ColumnDescription = "表单类型0默认动态表单1Web自定义表单")]
public int? F_FrmType { get; set; }
/// <summary>
/// 系统页面标识当表单类型为用Web自定义的表单时需要标识加载哪个页面
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_WebId", ColumnDataType = "nvarchar(50)", ColumnDescription = "系统页面标识")]
public string F_WebId { get; set; }
/// <summary>
/// 字段个数
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "字段个数")]
public int? F_Fields { get; set; }
/// <summary>
/// 表单中的字段
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_ContentData", ColumnDataType = "longtext", ColumnDescription = "表单中的字段")]
public string F_ContentData { get; set; }
/// <summary>
/// 表单参数(冗余)
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_ContentParse", ColumnDataType = "longtext", ColumnDescription = "表单参数")]
public string F_ContentParse { get; set; }
/// <summary>
/// 表单参数Json
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_Content", ColumnDataType = "longtext", ColumnDescription = "表单参数Json")]
public string F_Content { get; set; }
/// <summary>
/// 排序码
/// </summary>
/// <returns></returns>
[Required(ErrorMessage = "排序不能为空")]
[Range(0, 99999999, ErrorMessage = "排序大小必须介于1~99999999之间")]
[SugarColumn(IsNullable = true, ColumnDescription = "排序码")]
public int? F_SortCode { get; set; }
/// <summary>
/// 是否启用
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "是否启用")]
public bool? F_EnabledMark { get; set; }
/// <summary>
/// 逻辑删除标志
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "逻辑删除标志")]
public bool? F_DeleteMark { get; set; }
/// <summary>
/// 创建时间
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
public DateTime? F_CreatorTime { get; set; }
/// <summary>
/// 创建人
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人")]
public string F_CreatorUserId { get; set; }
/// <summary>
/// 最后修改时间
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "最后修改时间")]
public DateTime? F_LastModifyTime { get; set; }
/// <summary>
/// 最后修改人
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "最后修改人")]
public string F_LastModifyUserId { get; set; }
/// <summary>
/// 删除时间
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "删除时间")]
public DateTime? F_DeleteTime { get; set; }
/// <summary>
/// 删除人
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_DeleteUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "删除人")]
public string F_DeleteUserId { get; set; }
/// <summary>
/// 内容
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "longtext", ColumnDescription = "内容")]
public string F_Description { get; set; }
/// <summary>
/// 所属组织
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_OrganizeId", ColumnDataType = "nvarchar(50)", ColumnDescription = "所属组织")]
public string F_OrganizeId { get; set; }
/// <summary>
/// 数据库名称
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_DbName", ColumnDataType = "nvarchar(50)", ColumnDescription = "数据库名称")]
public string F_DbName { get; set; }
[SugarColumn(IsIgnore = true)]
public string F_OrganizeName { get; set; }
}
}

View File

@@ -0,0 +1,130 @@
/*******************************************************************************
* Copyright © 2020 WaterCloud.Framework 版权所有
* Author: WaterCloud
* Description: WaterCloud快速开发平台
* Website
*********************************************************************************/
using SqlSugar;
using System;
using System.ComponentModel.DataAnnotations;
namespace WaterCloud.Domain.SystemManage
{
[SugarTable("sys_itemsdetail")]
public class ItemsDetailEntity : IEntity<ItemsDetailEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
{
/// <summary>
/// 主键Id
/// </summary>
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
public string F_Id { get; set; }
/// <summary>
/// 分类Id
/// </summary>
[Required(ErrorMessage = "分类不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_ItemId", ColumnDataType = "nvarchar(50)", ColumnDescription = "分类Id", UniqueGroupNameList = new string[] { "sys_itemsdetail" })]
public string F_ItemId { get; set; }
/// <summary>
/// 父级Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_ParentId", ColumnDataType = "nvarchar(50)", ColumnDescription = "父级Id", UniqueGroupNameList = new string[] { "sys_itemsdetail" })]
public string F_ParentId { get; set; }
/// <summary>
/// 编号
/// </summary>
[Required(ErrorMessage = "编号不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_ItemCode", ColumnDataType = "nvarchar(50)", ColumnDescription = "编号", UniqueGroupNameList = new string[] { "sys_itemsdetail" })]
public string F_ItemCode { get; set; }
/// <summary>
/// 名称
/// </summary>
[Required(ErrorMessage = "名称不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_ItemName", ColumnDataType = "nvarchar(50)", ColumnDescription = "名称")]
public string F_ItemName { get; set; }
/// <summary>
/// 简拼
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_SimpleSpelling", ColumnDataType = "longtext", ColumnDescription = "简拼")]
public string F_SimpleSpelling { get; set; }
/// <summary>
/// 是否默认
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "是否默认")]
public bool? F_IsDefault { get; set; }
/// <summary>
/// 层级
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "层级")]
public int? F_Layers { get; set; }
/// <summary>
/// 排序码
/// </summary>
[Required(ErrorMessage = "排序不能为空")]
[Range(0, 99999999, ErrorMessage = "排序大小必须介于1~99999999之间")]
[SugarColumn(IsNullable = true, ColumnDescription = "排序码")]
public int? F_SortCode { get; set; }
/// <summary>
/// 删除标记
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "删除标记")]
public bool? F_DeleteMark { get; set; }
/// <summary>
/// 有效标记
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "有效标记")]
public bool? F_EnabledMark { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "longtext", ColumnDescription = "备注")]
public string F_Description { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
public DateTime? F_CreatorTime { get; set; }
/// <summary>
/// 创建人Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人Id")]
public string F_CreatorUserId { get; set; }
/// <summary>
/// 修改时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
public DateTime? F_LastModifyTime { get; set; }
/// <summary>
/// 修改人Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "修改人Id")]
public string F_LastModifyUserId { get; set; }
/// <summary>
/// 删除时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "删除时间")]
public DateTime? F_DeleteTime { get; set; }
/// <summary>
/// 删除人Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_DeleteUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "删除人Id")]
public string F_DeleteUserId { get; set; }
}
}

View File

@@ -0,0 +1,118 @@
/*******************************************************************************
* Copyright © 2020 WaterCloud.Framework 版权所有
* Author: WaterCloud
* Description: WaterCloud快速开发平台
* Website
*********************************************************************************/
using SqlSugar;
using System;
using System.ComponentModel.DataAnnotations;
namespace WaterCloud.Domain.SystemManage
{
[SugarTable("sys_items")]
public class ItemsEntity : IEntity<ItemsEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
{
/// <summary>
/// 主键Id
/// </summary>
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
public string F_Id { get; set; }
/// <summary>
/// 父级Id
/// </summary>
[Required(ErrorMessage = "父级不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_ParentId", ColumnDataType = "nvarchar(50)", ColumnDescription = "父级Id")]
public string F_ParentId { get; set; }
/// <summary>
/// 编号
/// </summary>
[Required(ErrorMessage = "编号不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_EnCode", ColumnDataType = "nvarchar(50)", ColumnDescription = "编号", UniqueGroupNameList = new string[] { "sys_items" })]
public string F_EnCode { get; set; }
/// <summary>
/// 名称
/// </summary>
[Required(ErrorMessage = "名称不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_FullName", ColumnDataType = "nvarchar(50)", ColumnDescription = "名称")]
public string F_FullName { get; set; }
/// <summary>
/// 是否是树
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "是否是树")]
public bool? F_IsTree { get; set; }
/// <summary>
/// 层级
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "层级")]
public int? F_Layers { get; set; }
/// <summary>
/// 排序码
/// </summary>
[Required(ErrorMessage = "排序不能为空")]
[Range(0, 99999999, ErrorMessage = "排序大小必须介于1~99999999之间")]
[SugarColumn(IsNullable = true, ColumnDescription = "排序码")]
public int? F_SortCode { get; set; }
/// <summary>
/// 删除标记
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "删除标记")]
public bool? F_DeleteMark { get; set; }
/// <summary>
/// 有效标记
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "有效标记")]
public bool? F_EnabledMark { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "longtext", ColumnDescription = "备注")]
public string F_Description { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
public DateTime? F_CreatorTime { get; set; }
/// <summary>
/// 创建人Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人Id")]
public string F_CreatorUserId { get; set; }
/// <summary>
/// 修改时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
public DateTime? F_LastModifyTime { get; set; }
/// <summary>
/// 修改人Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "修改人Id")]
public string F_LastModifyUserId { get; set; }
/// <summary>
/// 删除时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "删除时间")]
public DateTime? F_DeleteTime { get; set; }
/// <summary>
/// 删除人Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_DeleteUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "删除人Id")]
public string F_DeleteUserId { get; set; }
}
}

View File

@@ -0,0 +1,174 @@
/*******************************************************************************
* Copyright © 2020 WaterCloud.Framework 版权所有
* Author: WaterCloud
* Description: WaterCloud快速开发平台
* Website
*********************************************************************************/
using SqlSugar;
using System;
using System.ComponentModel.DataAnnotations;
namespace WaterCloud.Domain.SystemManage
{
[SugarTable("sys_modulebutton")]
public class ModuleButtonEntity : IEntity<ModuleButtonEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
{
/// <summary>
/// 主键Id
/// </summary>
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
public string F_Id { get; set; }
/// <summary>
/// 模块Id
/// </summary>
[Required(ErrorMessage = "模块不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_ModuleId", ColumnDataType = "nvarchar(50)", ColumnDescription = "模块Id", UniqueGroupNameList = new string[] { "sys_modulebutton" })]
public string F_ModuleId { get; set; }
/// <summary>
/// 父级Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_ParentId", ColumnDataType = "nvarchar(50)", ColumnDescription = "父级", UniqueGroupNameList = new string[] { "sys_modulebutton" })]
public string F_ParentId { get; set; }
/// <summary>
/// 层级
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "层级")]
public int? F_Layers { get; set; }
/// <summary>
/// 编号
/// </summary>
[Required(ErrorMessage = "编号不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_EnCode", ColumnDataType = "nvarchar(50)", ColumnDescription = "编号", UniqueGroupNameList = new string[] { "sys_modulebutton" })]
public string F_EnCode { get; set; }
/// <summary>
/// 名称
/// </summary>
[Required(ErrorMessage = "名称不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_FullName", ColumnDataType = "nvarchar(50)", ColumnDescription = "名称")]
public string F_FullName { get; set; }
/// <summary>
/// 图标
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_Icon", ColumnDataType = "nvarchar(50)", ColumnDescription = "图标")]
public string F_Icon { get; set; }
/// <summary>
/// 位置
/// </summary>
[Required(ErrorMessage = "位置不能为空")]
[SugarColumn(IsNullable = true, ColumnDescription = "位置")]
public int? F_Location { get; set; }
/// <summary>
/// 事件
/// </summary>
[Required(ErrorMessage = "事件不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_JsEvent", ColumnDataType = "nvarchar(50)", ColumnDescription = "事件")]
public string F_JsEvent { get; set; }
/// <summary>
/// Url地址
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_UrlAddress", ColumnDataType = "longtext", ColumnDescription = "Url地址")]
public string F_UrlAddress { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(IsNullable = true)]
public bool? F_Split { get; set; }
/// <summary>
/// 是否公共
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "是否公共")]
public bool? F_IsPublic { get; set; }
/// <summary>
/// 是否允许修改
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "是否允许修改")]
public bool? F_AllowEdit { get; set; }
/// <summary>
/// 是否允许删除
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "是否允许删除")]
public bool? F_AllowDelete { get; set; }
/// <summary>
/// 排序码
/// </summary>
[Required(ErrorMessage = "排序不能为空")]
[Range(0, 99999999, ErrorMessage = "排序大小必须介于1~99999999之间")]
[SugarColumn(IsNullable = true, ColumnDescription = "排序码")]
public int? F_SortCode { get; set; }
/// <summary>
/// 删除标记
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "删除标记")]
public bool? F_DeleteMark { get; set; }
/// <summary>
/// 有效标记
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "有效标记")]
public bool? F_EnabledMark { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "longtext", ColumnDescription = "备注")]
public string F_Description { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
public DateTime? F_CreatorTime { get; set; }
/// <summary>
/// 创建人Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人Id")]
public string F_CreatorUserId { get; set; }
/// <summary>
/// 修改时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
public DateTime? F_LastModifyTime { get; set; }
/// <summary>
/// 修改人Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "修改人Id")]
public string F_LastModifyUserId { get; set; }
/// <summary>
/// 删除时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "删除时间")]
public DateTime? F_DeleteTime { get; set; }
/// <summary>
/// 删除人Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_DeleteUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "删除人Id")]
public string F_DeleteUserId { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_Authorize", ColumnDataType = "nvarchar(200)", ColumnDescription = "权限标识")]
public string F_Authorize { get; set; }
}
}

View File

@@ -0,0 +1,173 @@
/*******************************************************************************
* Copyright © 2020 WaterCloud.Framework 版权所有
* Author: WaterCloud
* Description: WaterCloud快速开发平台
* Website
*********************************************************************************/
using SqlSugar;
using System;
using System.ComponentModel.DataAnnotations;
namespace WaterCloud.Domain.SystemManage
{
[SugarTable("sys_module")]
public class ModuleEntity : IEntity<ModuleEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
{
/// <summary>
/// 主键Id
/// </summary>
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
public string F_Id { get; set; }
/// <summary>
/// 父级Id
/// </summary>
[Required(ErrorMessage = "上级不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_ParentId", ColumnDataType = "nvarchar(50)", ColumnDescription = "父级Id")]
public string F_ParentId { get; set; }
/// <summary>
/// 层级
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "层级")]
public int? F_Layers { get; set; }
/// <summary>
/// 编号
/// </summary>
[Required(ErrorMessage = "编号不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_EnCode", ColumnDataType = "nvarchar(50)", ColumnDescription = "编号", UniqueGroupNameList = new string[] { "sys_module" })]
public string F_EnCode { get; set; }
/// <summary>
/// 名称
/// </summary>
[Required(ErrorMessage = "名称不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_FullName", ColumnDataType = "nvarchar(50)", ColumnDescription = "删除人Id")]
public string F_FullName { get; set; }
/// <summary>
/// 图标
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_Icon", ColumnDataType = "nvarchar(50)", ColumnDescription = "图标")]
public string F_Icon { get; set; }
/// <summary>
/// Url地址
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_UrlAddress", ColumnDataType = "longtext", ColumnDescription = "Url地址")]
public string F_UrlAddress { get; set; }
/// <summary>
/// 目标
/// </summary>
[Required(ErrorMessage = "目标不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_Target", ColumnDataType = "nvarchar(50)", ColumnDescription = "目标")]
public string F_Target { get; set; }
/// <summary>
/// 是否是菜单
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "是否是菜单")]
public bool? F_IsMenu { get; set; }
/// <summary>
/// 是否展开
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "是否展开")]
public bool? F_IsExpand { get; set; }
/// <summary>
/// 是否公共
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "是否公共")]
public bool? F_IsPublic { get; set; }
/// <summary>
/// 是否字段
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "是否字段")]
public bool? F_IsFields { get; set; }
/// <summary>
/// 允许修改
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "允许修改")]
public bool? F_AllowEdit { get; set; }
/// <summary>
/// 允许删除
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "允许删除")]
public bool? F_AllowDelete { get; set; }
/// <summary>
/// 排序码
/// </summary>
[Required(ErrorMessage = "排序不能为空")]
[Range(0, 99999999, ErrorMessage = "排序大小必须介于1~99999999之间")]
[SugarColumn(IsNullable = true, ColumnDescription = "排序码")]
public int? F_SortCode { get; set; }
/// <summary>
/// 删除标记
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "删除标记")]
public bool? F_DeleteMark { get; set; }
/// <summary>
/// 有效标记
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "有效标记")]
public bool? F_EnabledMark { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "longtext", ColumnDescription = "备注")]
public string F_Description { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
public DateTime? F_CreatorTime { get; set; }
/// <summary>
/// 创建人Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人Id")]
public string F_CreatorUserId { get; set; }
/// <summary>
/// 修改时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
public DateTime? F_LastModifyTime { get; set; }
/// <summary>
/// 修改人Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "修改人Id")]
public string F_LastModifyUserId { get; set; }
/// <summary>
/// 删除时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "删除时间")]
public DateTime? F_DeleteTime { get; set; }
/// <summary>
/// 删除人Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_DeleteUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "删除人Id")]
public string F_DeleteUserId { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_Authorize", ColumnDataType = "nvarchar(100)")]
public string F_Authorize { get; set; }
}
}

View File

@@ -0,0 +1,115 @@
using SqlSugar;
using System;
using System.ComponentModel.DataAnnotations;
namespace WaterCloud.Domain.SystemManage
{
/// <summary>
/// 创 建:超级管理员
/// 日 期2020-05-21 14:38
/// 描 述:字段管理实体类
/// </summary>
[SugarTable("sys_modulefields")]
public class ModuleFieldsEntity : IEntity<ModuleFieldsEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
{
/// <summary>
/// 主键Id
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
public string F_Id { get; set; }
/// <summary>
/// 模块Id
/// </summary>
/// <returns></returns>
[Required(ErrorMessage = "模块不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_ModuleId", ColumnDataType = "nvarchar(50)", ColumnDescription = "模块Id", UniqueGroupNameList = new string[] { "sys_modulefields" })]
public string F_ModuleId { get; set; }
/// <summary>
/// 编号
/// </summary>
/// <returns></returns>
[Required(ErrorMessage = "编号不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_EnCode", ColumnDataType = "nvarchar(50)", ColumnDescription = "编号", UniqueGroupNameList = new string[] { "sys_modulefields" })]
public string F_EnCode { get; set; }
/// <summary>
/// 名称
/// </summary>
/// <returns></returns>
[Required(ErrorMessage = "名称不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_FullName", ColumnDataType = "nvarchar(50)", ColumnDescription = "名称")]
public string F_FullName { get; set; }
/// <summary>
/// 删除标记
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "删除标记")]
public bool? F_DeleteMark { get; set; }
/// <summary>
/// 有效标记
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "有效标记")]
public bool? F_EnabledMark { get; set; }
/// <summary>
/// 备注
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "longtext", ColumnDescription = "备注")]
public string F_Description { get; set; }
/// <summary>
/// 创建时间
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
public DateTime? F_CreatorTime { get; set; }
/// <summary>
/// 创建人Id
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人Id")]
public string F_CreatorUserId { get; set; }
/// <summary>
/// 修改时间
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
public DateTime? F_LastModifyTime { get; set; }
/// <summary>
/// 修改人Id
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "修改人Id")]
public string F_LastModifyUserId { get; set; }
/// <summary>
/// 删除时间
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "删除时间")]
public DateTime? F_DeleteTime { get; set; }
/// <summary>
/// 删除人Id
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_DeleteUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "删除人Id")]
public string F_DeleteUserId { get; set; }
/// <summary>
/// 是否公共
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "是否公共")]
public bool? F_IsPublic { get; set; }
}
}

View File

@@ -0,0 +1,87 @@
//-----------------------------------------------------------------------
// <copyright file=" QuickModule.cs" company="WaterCloud">
// * Copyright (C) WaterCloud.Framework All Rights Reserved
// * version : 1.0
// * author : WaterCloud.Framework
// * FileName: QuickModule.cs
// * history : Created by T4 04/13/2020 16:51:14
// </copyright>
//-----------------------------------------------------------------------
using SqlSugar;
using System;
namespace WaterCloud.Domain.SystemManage
{
/// <summary>
/// QuickModule Entity Model
/// </summary>
[SugarTable("sys_quickmodule")]
public class QuickModuleEntity : IEntity<QuickModuleEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
{
/// <summary>
/// 主键Id
/// </summary>
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
public string F_Id { get; set; }
/// <summary>
/// 模块Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_ModuleId", ColumnDataType = "nvarchar(50)", ColumnDescription = "模块Id", UniqueGroupNameList = new string[] { "sys_quickmodule" })]
public string F_ModuleId { get; set; }
/// <summary>
/// 删除标记
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "删除标记")]
public Boolean? F_DeleteMark { get; set; }
/// <summary>
/// 有效标记
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "有效标记")]
public Boolean? F_EnabledMark { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "longtext", ColumnDescription = "备注")]
public string F_Description { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
public DateTime? F_CreatorTime { get; set; }
/// <summary>
/// 创建人Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人Id", UniqueGroupNameList = new string[] { "sys_quickmodule" })]
public string F_CreatorUserId { get; set; }
/// <summary>
/// 修改时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
public DateTime? F_LastModifyTime { get; set; }
/// <summary>
/// 修改人Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "修改人Id")]
public string F_LastModifyUserId { get; set; }
/// <summary>
/// 删除时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "删除时间")]
public DateTime? F_DeleteTime { get; set; }
/// <summary>
/// 删除人Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_DeleteUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "删除人Id")]
public string F_DeleteUserId { get; set; }
}
}

View File

@@ -0,0 +1,105 @@
using System;
using SqlSugar;
namespace WaterCloud.Domain.SystemManage
{
/// <summary>
/// 创 建:超级管理员
/// 日 期2022-10-06 14:11
/// 描 述:打印模板实体类
/// </summary>
[SugarTable("sys_template")]
public class TemplateEntity : IEntity<TemplateEntity>,ICreationAudited,IModificationAudited,IDeleteAudited
{
/// <summary>
/// 主键
/// </summary>
[SugarColumn(ColumnName="F_Id", ColumnDescription = "主键",IsPrimaryKey = true)]
public string F_Id { get; set; }
/// <summary>
/// 模板名称
/// </summary>
[SugarColumn(ColumnName="F_TemplateName", ColumnDescription = "模板名称",ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string F_TemplateName { get; set; }
/// <summary>
/// 模板文件
/// </summary>
[SugarColumn(ColumnName="F_TemplateFile", ColumnDescription = "模板文件",ColumnDataType = "nvarchar(100)")]
public string F_TemplateFile { get; set; }
/// <summary>
/// 模板执行库
/// </summary>
[SugarColumn(ColumnName="F_TemplateDBProvider", ColumnDescription = "模板执行库",ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string F_TemplateDBProvider { get; set; }
/// <summary>
/// 模板执行sql
/// </summary>
[SugarColumn(ColumnName="F_TemplateSql", ColumnDescription = "模板执行sql",ColumnDataType = "longtext", IsNullable = true)]
public string F_TemplateSql { get; set; }
/// <summary>
/// 模板执行参数
/// </summary>
[SugarColumn(ColumnName="F_TemplateSqlParm", ColumnDescription = "模板执行参数",ColumnDataType = "longtext", IsNullable = true)]
public string F_TemplateSqlParm { get; set; }
/// <summary>
/// 打印方式(1.Fastreport,2.水晶报表,3.html,4.pdf,5.图片,6.bartender)
/// </summary>
[SugarColumn(ColumnName="F_PrintType", ColumnDescription = "打印方式",ColumnDataType = "int", IsNullable = true)]
public int? F_PrintType { get; set; }
/// <summary>
/// 是否批量
/// </summary>
[SugarColumn(ColumnName = "F_Batch", ColumnDescription = "是否批量", IsNullable = true)]
public bool? F_Batch { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_DeleteMark", ColumnDescription = "", IsNullable = true)]
public bool? F_DeleteMark { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_EnabledMark", ColumnDescription = "", IsNullable = true)]
public bool? F_EnabledMark { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_Description", ColumnDescription = "",ColumnDataType = "longtext", IsNullable = true)]
public string F_Description { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_CreatorTime", ColumnDescription = "", IsNullable = true)]
public DateTime? F_CreatorTime { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_CreatorUserId", ColumnDescription = "",ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string F_CreatorUserId { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_CreatorUserName", ColumnDescription = "",ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string F_CreatorUserName { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_LastModifyTime", ColumnDescription = "", IsNullable = true)]
public DateTime? F_LastModifyTime { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_LastModifyUserId", ColumnDescription = "",ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string F_LastModifyUserId { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_DeleteTime", ColumnDescription = "", IsNullable = true)]
public DateTime? F_DeleteTime { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName="F_DeleteUserId", ColumnDescription = "",ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string F_DeleteUserId { get; set; }
}
}