This commit is contained in:
@@ -9,12 +9,11 @@ namespace AyaNova.PickList
|
||||
//also the sql displaycolumnname if identical
|
||||
public string FieldKey { get; set; }
|
||||
//CLIENT Use only for display
|
||||
public string LtKey { get; set; }
|
||||
public string TKey { get; set; }
|
||||
// Used for casting query
|
||||
public UiFieldDataType ColumnDataType { get; set; }
|
||||
public bool IsRowId { get; set; }//both indicates is row ID but also that it's required as the only required field. Not technically necessary maybe but to prevent foot shooting.
|
||||
public bool IsActiveColumn { get; set; }
|
||||
public AyaType AyaObjectType { get; set; }
|
||||
public bool IsActiveColumn { get; set; }
|
||||
[JsonIgnore]
|
||||
public string SqlIdColumnName { get; set; }
|
||||
[JsonIgnore]
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace AyaNova.PickList
|
||||
ColumnDefinitions = new List<AyaPickListFieldDefinition>();
|
||||
ColumnDefinitions.Add(new AyaPickListFieldDefinition
|
||||
{
|
||||
LtKey = "Active",
|
||||
TKey = "Active",
|
||||
FieldKey = "useractive",
|
||||
ColumnDataType = UiFieldDataType.Bool,
|
||||
SqlValueColumnName = "auser.active",
|
||||
@@ -39,7 +39,7 @@ namespace AyaNova.PickList
|
||||
});
|
||||
ColumnDefinitions.Add(new AyaPickListFieldDefinition
|
||||
{
|
||||
LtKey = "UserName",
|
||||
TKey = "UserName",
|
||||
FieldKey = "username",
|
||||
ColumnDataType = UiFieldDataType.Text,
|
||||
SqlIdColumnName = "auser.id",
|
||||
@@ -48,7 +48,7 @@ namespace AyaNova.PickList
|
||||
});
|
||||
ColumnDefinitions.Add(new AyaPickListFieldDefinition
|
||||
{
|
||||
LtKey = "UserEmployeeNumber",
|
||||
TKey = "UserEmployeeNumber",
|
||||
FieldKey = "useremployeenumber",
|
||||
ColumnDataType = UiFieldDataType.Text,
|
||||
SqlValueColumnName = "auser.employeenumber"
|
||||
@@ -56,7 +56,7 @@ namespace AyaNova.PickList
|
||||
|
||||
ColumnDefinitions.Add(new AyaPickListFieldDefinition
|
||||
{
|
||||
LtKey = "Tags",
|
||||
TKey = "Tags",
|
||||
FieldKey = "usertags",
|
||||
ColumnDataType = UiFieldDataType.Tags,
|
||||
SqlValueColumnName = "auser.tags"
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace AyaNova.PickList
|
||||
ColumnDefinitions = new List<AyaPickListFieldDefinition>();
|
||||
ColumnDefinitions.Add(new AyaPickListFieldDefinition
|
||||
{
|
||||
LtKey = "Active",
|
||||
TKey = "Active",
|
||||
FieldKey = "widgetactive",
|
||||
ColumnDataType = UiFieldDataType.Bool,
|
||||
SqlValueColumnName = "awidget.active",
|
||||
@@ -46,7 +46,7 @@ namespace AyaNova.PickList
|
||||
|
||||
ColumnDefinitions.Add(new AyaPickListFieldDefinition
|
||||
{
|
||||
LtKey = "WidgetName",
|
||||
TKey = "WidgetName",
|
||||
FieldKey = "widgetname",
|
||||
//AyaObjectType = AyaType.Widget,
|
||||
ColumnDataType = UiFieldDataType.Text,
|
||||
@@ -57,7 +57,7 @@ namespace AyaNova.PickList
|
||||
|
||||
ColumnDefinitions.Add(new AyaPickListFieldDefinition
|
||||
{
|
||||
LtKey = "WidgetSerial",
|
||||
TKey = "WidgetSerial",
|
||||
FieldKey = "widgetserial",
|
||||
ColumnDataType = UiFieldDataType.Integer,
|
||||
SqlValueColumnName = "awidget.serial"
|
||||
@@ -66,7 +66,7 @@ namespace AyaNova.PickList
|
||||
ColumnDefinitions.Add(new AyaPickListFieldDefinition
|
||||
{
|
||||
FieldKey = "username",
|
||||
LtKey = "User",
|
||||
TKey = "User",
|
||||
ColumnDataType = UiFieldDataType.Text,
|
||||
SqlIdColumnName = "auser.id",
|
||||
SqlValueColumnName = "auser.name"
|
||||
@@ -74,7 +74,7 @@ namespace AyaNova.PickList
|
||||
|
||||
ColumnDefinitions.Add(new AyaPickListFieldDefinition
|
||||
{
|
||||
LtKey = "Tags",
|
||||
TKey = "Tags",
|
||||
FieldKey = "widgettags",
|
||||
ColumnDataType = UiFieldDataType.Tags,
|
||||
SqlValueColumnName = "awidget.tags"
|
||||
|
||||
Reference in New Issue
Block a user