2021-09-09 18:18:37 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace ZR.CodeGenerator.Model
|
|
|
|
|
|
{
|
|
|
|
|
|
public class GenerateDto
|
|
|
|
|
|
{
|
2021-09-10 10:44:17 +08:00
|
|
|
|
public string[] queryColumn { get; set; }
|
2021-09-09 18:18:37 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
///
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string dbName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 项目命名空间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string baseSpace { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 要生成代码的表
|
|
|
|
|
|
/// </summary>
|
2021-09-10 10:44:17 +08:00
|
|
|
|
public string tableName { get; set; }
|
2021-09-09 18:18:37 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 要删除表名的字符串用
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string replaceTableNameStr { get; set; }
|
|
|
|
|
|
/// <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;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|