添加Tnb.Vengine
This commit is contained in:
109
visualdev/Tnb.Vengine/Constants/VmodelEnum.cs
Normal file
109
visualdev/Tnb.Vengine/Constants/VmodelEnum.cs
Normal file
@@ -0,0 +1,109 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
// 宁波拓通e智造平台 ToTong Next Builder //
|
||||
// https://git.tuotong-tech.com/tnb/tnb.server //
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace Tnb.Vengine;
|
||||
|
||||
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,
|
||||
SqlServer,
|
||||
PostgreSQL,
|
||||
Oracle,
|
||||
Sqlite,
|
||||
MsAccess,
|
||||
Dameng,
|
||||
ClickHouse,
|
||||
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,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 模型属性类型
|
||||
/// </summary>
|
||||
public enum ePropType
|
||||
{
|
||||
[Description("表字段")]
|
||||
DbTable = 0,
|
||||
[Description("计算属性")]
|
||||
Calculate = 1,
|
||||
[Description("导航属性")]
|
||||
Navigate = 2,
|
||||
}
|
||||
Reference in New Issue
Block a user