⚡ 代码生成Csharp数据类型改为配置文件
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Infrastructure
|
||||
@@ -80,7 +81,11 @@ namespace Infrastructure
|
||||
|
||||
public class Gen
|
||||
{
|
||||
public string Database { get; set; }
|
||||
public bool AutoPre { get; set; }
|
||||
public string VuePath { get; set; }
|
||||
public string Author { get; set; }
|
||||
public DbConfigs GenDbConfig { get; set; }
|
||||
public CsharpTypeArr CsharpTypeArr { get; set; }
|
||||
}
|
||||
|
||||
public class DbConfigs
|
||||
@@ -95,4 +100,15 @@ namespace Infrastructure
|
||||
public bool IsGenerateDb { get; set; }
|
||||
public string DbName { get; set; }
|
||||
}
|
||||
|
||||
public class CsharpTypeArr
|
||||
{
|
||||
public string[] String { get; set; }
|
||||
public string[] Int { get; set; }
|
||||
public string[] Long { get; set; }
|
||||
public string[] DateTime { get; set; }
|
||||
public string[] Float { get; set; }
|
||||
public string[] Decimal { get; set; }
|
||||
public string[] Bool { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user