增加撤销与启动,详见:#I3ILBG

调整工程结构,采用模块化机制
This commit is contained in:
yubaolee
2021-04-15 00:40:30 +08:00
parent 484daa48f0
commit cf23d0025f
86 changed files with 3032 additions and 2819 deletions

View File

@@ -0,0 +1,146 @@
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a CodeSmith Template.
//
// DO NOT MODIFY contents of this file. Changes to this
// file will be lost if the code is regenerated.
// Author:Yubao Li
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using OpenAuth.Repository.Core;
namespace OpenAuth.App.Request
{
/// <summary>
/// 代码生成器的字段信息
/// </summary>
[Table("BuilderTableColumn")]
public partial class AddOrUpdateBuilderTableColumnReq
{
/// <summary>
/// 编号
/// </summary>
public string Id { get; set; }
/// <summary>
/// 归属表编号
/// </summary>
public string TableId { get; set; }
/// <summary>
/// 表名称
/// </summary>
public string TableName { get; set; }
/// <summary>
/// 列名称
/// </summary>
public string ColumnName { get; set; }
/// <summary>
/// 列描述
/// </summary>
public string Comment { get; set; }
/// <summary>
/// 列类型
/// </summary>
public string ColumnType { get; set; }
/// <summary>
/// 实体类型
/// </summary>
public string EntityType { get; set; }
/// <summary>
/// 实体名称
/// </summary>
public string EntityName { get; set; }
/// <summary>
/// 是否主键
/// </summary>
public bool IsKey { get; set; }
/// <summary>
/// 是否自增
/// </summary>
public bool IsIncrement { get; set; }
/// <summary>
/// 是否必填
/// </summary>
public bool IsRequired { get; set; }
/// <summary>
/// 是否为插入字段
/// </summary>
public bool IsInsert { get; set; }
/// <summary>
/// 是否编辑字段
/// </summary>
public bool IsEdit { get; set; }
/// <summary>
/// 是否列表字段
/// </summary>
public bool IsList { get; set; }
/// <summary>
/// 是否查询字段
/// </summary>
public bool IsQuery { get; set; }
/// <summary>
/// 查询方式(等于、不等于、大于、小于、范围)
/// </summary>
public string QueryType { get; set; }
/// <summary>
/// 显示类型(文本框、文本域、下拉框、复选框、单选框、日期控件)
/// </summary>
public string HtmlType { get; set; }
/// <summary>
/// 编辑类型(文本框、文本域、下拉框、复选框、单选框、日期控件)
/// </summary>
public string EditType { get; set; }
/// <summary>
/// 排序
/// </summary>
public int Sort { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
public string CreateUserId { get; set; }
/// <summary>
/// 修改时间
/// </summary>
public System.DateTime? UpdateTime { get; set; }
/// <summary>
/// 修改人ID
/// </summary>
public string UpdateUserId { get; set; }
/// <summary>
/// 修改时的行位置
/// </summary>
public int? EditRow { get; set; }
/// <summary>
/// 修改时的列位置
/// </summary>
public int? EditCol { get; set; }
/// <summary>
/// 修改人姓名
/// </summary>
public string UpdateUserName { get; set; }
/// <summary>
/// 创建人姓名
/// </summary>
public string CreateUserName { get; set; }
/// <summary>
/// 最大长度
/// </summary>
public int? MaxLength { get; set; }
/// <summary>
/// 数据源(用于下拉框、复选框等取值)
/// </summary>
public string DataSource { get; set; }
//todo:添加自己的请求字段
}
}

View File

@@ -0,0 +1,78 @@
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a CodeSmith Template.
//
// DO NOT MODIFY contents of this file. Changes to this
// file will be lost if the code is regenerated.
// Author:Yubao Li
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using OpenAuth.Repository.Core;
namespace OpenAuth.App.Request
{
/// <summary>
/// 代码生成器的表信息
/// </summary>
public partial class AddOrUpdateBuilderTableReq
{
/// <summary>
/// Id为空则为添加
/// </summary>
public string Id { get; set; }
/// <summary>
/// 表英文全称
/// </summary>
public string TableName { get; set; }
/// <summary>
/// 表描述、中文名称
/// </summary>
public string Comment { get; set; }
/// <summary>
/// 子表英文全称
/// </summary>
public string DetailTableName { get; set; }
/// <summary>
/// 子表描述、中文名称
/// </summary>
public string DetailComment { get; set; }
/// <summary>
/// 实体类名称
/// </summary>
public string ClassName { get; set; }
/// <summary>
/// 命名空间
/// </summary>
public string Namespace { get; set; }
/// <summary>
/// 模块标识
/// </summary>
public string ModuleCode { get; set; }
/// <summary>
/// 模块名称
/// </summary>
public string ModuleName { get; set; }
/// <summary>
/// 代码相对文件夹路径
/// </summary>
public string Folder { get; set; }
/// <summary>
/// 其它生成选项
/// </summary>
public string Options { get; set; }
/// <summary>
/// 分类ID
/// </summary>
public string TypeId { get; set; }
/// <summary>
/// 分类名称
/// </summary>
public string TypeName { get; set; }
}
}

View File

@@ -0,0 +1,29 @@
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a CodeSmith Template.
//
// DO NOT MODIFY contents of this file. Changes to this
// file will be lost if the code is regenerated.
// Author:Yubao Li
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using OpenAuth.Repository.Core;
namespace OpenAuth.App.Request
{
/// <summary>
/// 代码生成器的表信息
/// </summary>
public class CreateBusiReq
{
/// <summary>
/// 代码生成模版Id
/// </summary>
public string Id { get; set; }
}
}

View File

@@ -0,0 +1,29 @@
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a CodeSmith Template.
//
// DO NOT MODIFY contents of this file. Changes to this
// file will be lost if the code is regenerated.
// Author:Yubao Li
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using OpenAuth.Repository.Core;
namespace OpenAuth.App.Request
{
/// <summary>
/// 代码生成器的表信息
/// </summary>
public class CreateEntityReq
{
/// <summary>
/// 代码生成模版Id
/// </summary>
public string Id { get; set; }
}
}

View File

@@ -0,0 +1,33 @@
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a CodeSmith Template.
//
// DO NOT MODIFY contents of this file. Changes to this
// file will be lost if the code is regenerated.
// Author:Yubao Li
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using OpenAuth.Repository.Core;
namespace OpenAuth.App.Request
{
/// <summary>
/// 代码生成器的表信息
/// </summary>
public class CreateVueReq
{
/// <summary>
/// 代码生成模版Id
/// </summary>
public string Id { get; set; }
/// <summary>
/// vue项目所在的根目录D:\OpenAuth.Pro\Client
/// </summary>
public string VueProjRootPath { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
namespace OpenAuth.App.Request
{
public class QueryBuilderTableColumnListReq : PageReq
{
/// <summary>
/// 头表ID
/// </summary>
public string BuilderTableId { get; set; }
}
}

View File

@@ -0,0 +1,7 @@
namespace OpenAuth.App.Request
{
public class QueryBuilderTableListReq : PageReq
{
//todo:添加自己的请求字段
}
}