This commit is contained in:
28
server/biz/UiFieldDataType.cs
Normal file
28
server/biz/UiFieldDataType.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Sockeye.Biz
|
||||
{
|
||||
//DataTypes used to format display properly and for custom fields definition etc
|
||||
public enum UiFieldDataType : int
|
||||
{
|
||||
NoType = 0,
|
||||
DateTime = 1,
|
||||
Date = 2,
|
||||
Time = 3,
|
||||
Text = 4,
|
||||
Integer = 5,
|
||||
Bool = 6,
|
||||
Decimal = 7,
|
||||
Currency = 8,
|
||||
Tags = 9,
|
||||
Enum = 10,
|
||||
EmailAddress = 11,
|
||||
HTTP = 12,
|
||||
InternalId = 13,
|
||||
MemorySize = 14,//this is so client can convert what would normally be an Integer type to human readable file / ram size value
|
||||
TimeSpan=15,
|
||||
PhoneNumber=16,//this is so client can dial directly,
|
||||
Roles = 17
|
||||
// ,//for grid display (users), Percentage = 18 ? YAGNI?
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user