修复清理vengine

This commit is contained in:
2023-09-19 10:55:14 +08:00
parent b9e9636d72
commit 0bf34fa215
31 changed files with 289 additions and 252 deletions

View File

@@ -66,5 +66,4 @@ public static class DbConsts
public static Guid RoleAdminId = Guid.Parse("39fea2c8-01a4-75cd-026f-2f0349a94098");
public static Guid EventDefaultCategoryId = Guid.Parse("39ffae5d-13d2-1e43-3f0e-98f774f71c8a");
public static Guid DefaultViewId = Guid.Parse("39fea2c1-b2dd-cfae-1c3d-89de77f94709");
}
}

View File

@@ -5,4 +5,4 @@ public class ModuleConst
public const string Tag = "Tnb";
public const string Area = "tnb";
public const string NsPrefix = "Tnb";
}
}

View File

@@ -11,41 +11,59 @@ public enum eCsType
{
[Description("string")]
String = 10,
[Description("bool")]
Bool = 12,
[Description("uuid")]
Guid = 14,
[Description("int")]
Int = 20,
[Description("short")]
Short = 22,
[Description("long")]
Long = 24,
[Description("float")]
Float = 30,
[Description("double")]
Double = 32,
[Description("decimal")]
Decimal = 34,
[Description("date")]
Date = 40,
[Description("time")]
Time = 42,
[Description("datetime")]
DateTime = 44,
[Description("timestamp")]
Timestamp = 46,
[Description("enum")]
Enum = 50,
[Description("dictionary")]
Dictionary = 52,
[Description("json")]
Json = 60,
[Description("entity")]
Entity = 70,
[Description("customer")]
Customer = 80,
}
public enum eDbType
{
MySql,
@@ -59,38 +77,51 @@ public enum eDbType
Redis,
InfluxDb
}
public enum eResourceType
{
[Description("菜单")]
Menu = 10,
[Description("页面")]
Page = 20,
[Description("按钮")]
Button = 30,
[Description("接口")]
Interface = 40,
[Description("视图")]
View = 50,
}
public enum eSearchType
{
[Description("无")]
None = 0,
[Description("精准查询")]
Exact = 1,
[Description("模糊查询")]
Fuzzy = 2,
[Description("范围查询")]
Range = 3,
}
public enum eNavigateType
{
[Description("无")]
None = 0,
[Description("一对一")]
OneToOne = 1,
[Description("一对多")]
OneToMany = 2,
[Description("多对多")]
ManyToMany = 3,
}
@@ -102,8 +133,10 @@ public enum ePropType
{
[Description("表字段")]
DbTable = 0,
[Description("计算属性")]
Calculate = 1,
[Description("导航属性")]
Navigate = 2,
}
}