diff --git a/server/AyaNova/biz/ObjectFields.cs b/server/AyaNova/biz/ObjectFields.cs index 35b164e6..69d4c006 100644 --- a/server/AyaNova/biz/ObjectFields.cs +++ b/server/AyaNova/biz/ObjectFields.cs @@ -408,25 +408,36 @@ So rename things and see what breaks I guess public class AyaField { - public string LtKey { get; set; } + + //CLIENT / SERVER Unique identifier used at BOTH client and server + //also the sql displaycolumnname if identical public string FieldName { get; set; } + + //CLIENT Use only for display + public string LtKey { get; set; } + + //CLIENT form customization public bool Hideable { get; set; } - // public bool SharedLTKey { get; set; } + + //CLIENT / SERVER - client display server validation purposes public bool IsCustomField { get; set; } + + //CLIENT / SERVER - client display server validation purposes public bool IsFilterable { get; set; } + + //CLIENT / SERVER - client display server validation purposes public bool IsSortable { get; set; } - //had this but don't know why - //if a user wants to shove a bunch of notes into a single column with other shit that's their lookout surely - //public bool MiniAvailable { get; set; } + + //CLIENT Use only for display public int UiFieldDataType { get; set; } - //If it's an enum DataType then this is the specific enum type which sb the name of the class that holds the enum in the server project + + //CLIENT Use only for display public string EnumType { get; set; } - //if field is a reference to another object (i.e. a client in a workorders list) - //then the type to open is set here + + //CLIENT / SERVER - client display and to indicate what object to open , Server for formatting return object public int AyaObjectType { get; set; } - //For query building - //This is the equivalent of the v7 SqlColumnNameAttribute + //SERVER - for building sql queries public string SqlIdColumnName { get; set; } public string SqlDisplayColumnName { get; set; }