添加项目文件。
This commit is contained in:
33
QuickModeling/Models/TypeKind.cs
Normal file
33
QuickModeling/Models/TypeKind.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Converters;
|
||||
|
||||
namespace QuickModeling.Models
|
||||
{
|
||||
[JsonConverter(typeof(StringEnumConverter))]
|
||||
public enum TypeKind
|
||||
{
|
||||
[Description("布尔值")]
|
||||
Boolean = 0,
|
||||
//[Description("日期")]
|
||||
//DateTime = 1,
|
||||
/// <summary>
|
||||
/// Number,数字,支持WorkUnit
|
||||
/// </summary>
|
||||
[Description("数字")]
|
||||
Double = 2,
|
||||
[Description("整数")]
|
||||
Integer = 3,
|
||||
/// <summary>
|
||||
/// 点坐标,支持WorkUnit
|
||||
/// </summary>
|
||||
//[Description("坐标点")]
|
||||
//Point = 4,
|
||||
[Description("字符串")]
|
||||
String = 5,
|
||||
//[Description("自定义")]
|
||||
//Custom
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user