48 lines
1.4 KiB
C#
Raw Normal View History

2021-09-09 18:18:37 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2021-09-23 20:54:26 +08:00
using ZR.Model.System.Generate;
2021-09-09 18:18:37 +08:00
namespace ZR.CodeGenerator.Model
{
public class GenerateDto
{
public long TableId { get; set; }
public string[] QueryColumn { get; set; }
2021-09-23 20:54:26 +08:00
2021-09-09 18:18:37 +08:00
/// <summary>
/// 要生成的文件
/// </summary>
public int[] genFiles { get; set; }
2021-09-16 17:52:31 +08:00
/// <summary>
/// 如果目标文件存在是否覆盖。默认为false
/// </summary>
2021-09-09 18:18:37 +08:00
public bool coverd { get; set; } = true;
2021-09-23 20:54:26 +08:00
public GenTable GenTable { get; set; }
#region
//public string ModelPath { get; set; }
//public string ServicePath { get; set; }
//public string RepositoryPath { get; set; }
//public string ApiPath { get; set; }
//public string VuePath { get; set; }
//public string VueApiPath { 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
2021-09-09 18:18:37 +08:00
}
}