using Newtonsoft.Json;

namespace Sockeye.DataList
{
    public class DataListField
    {
        public object v { get; set; }//v for vvvvvvvv?
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]  //https://www.newtonsoft.com/json/help/html/JsonPropertyPropertyLevelSetting.htm
        public long? i { get; set; }//id value
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]  //https://www.newtonsoft.com/json/help/html/JsonPropertyPropertyLevelSetting.htm
        public bool? rid { get; set; } //row id for opening entire row by one field id
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]  //https://www.newtonsoft.com/json/help/html/JsonPropertyPropertyLevelSetting.htm
        public int? ot { get; set; }//openable type
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]  //https://www.newtonsoft.com/json/help/html/JsonPropertyPropertyLevelSetting.htm
        public string clr { get; set; }//color
    }
}