代码生成增加打包压缩下载功能、其他功能优化
This commit is contained in:
@@ -72,7 +72,7 @@ namespace ZR.CodeGenerator
|
||||
public static string[] COLUMNNAME_NOT_EDIT = { "id", "create_by", "create_time", "delFlag" };
|
||||
|
||||
/** 页面不需要显示的列表字段 */
|
||||
public static string[] COLUMNNAME_NOT_LIST = { "id", "create_by", "create_time", "delFlag", "update_by",
|
||||
public static string[] COLUMNNAME_NOT_LIST = { "create_by", "create_time", "delFlag", "update_by",
|
||||
"update_time" , "password"};
|
||||
|
||||
/** 页面不需要查询字段 */
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace ZR.CodeGenerator.Model
|
||||
public class GenerateDto
|
||||
{
|
||||
public long TableId { get; set; }
|
||||
public string[] queryColumn { get; set; }
|
||||
public string[] QueryColumn { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
@@ -17,7 +17,7 @@ namespace ZR.CodeGenerator.Model
|
||||
/// <summary>
|
||||
/// 项目命名空间
|
||||
/// </summary>
|
||||
public string baseSpace { get; set; }
|
||||
//public string baseSpace { get; set; }
|
||||
/// <summary>
|
||||
/// 要生成代码的表
|
||||
/// </summary>
|
||||
@@ -43,7 +43,19 @@ namespace ZR.CodeGenerator.Model
|
||||
//public string VuePath { get; set; }
|
||||
//public string VueApiPath { get; set; }
|
||||
|
||||
public string ParentPath { get; set; } = "..";
|
||||
//public string ParentPath { get; set; } = "..";
|
||||
/// <summary>
|
||||
/// 代码生成路径
|
||||
/// </summary>
|
||||
public string GenCodePath { get; set; }
|
||||
/// <summary>
|
||||
/// 代码生成压缩包路径
|
||||
/// </summary>
|
||||
public string ZipPath { get; set; }
|
||||
/// <summary>
|
||||
/// 代码生成压缩包名称
|
||||
/// </summary>
|
||||
public string ZipFileName { get; set; }
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user