Skip to content

Instantly share code, notes, and snippets.

@davidsonsousa
Created July 15, 2019 21:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidsonsousa/d2e3a66ace70f35f2de4daef5a4a5280 to your computer and use it in GitHub Desktop.
Save davidsonsousa/d2e3a66ace70f35f2de4daef5a4a5280 to your computer and use it in GitHub Desktop.
using Newtonsoft.Json;
using System.Collections.Generic;
namespace ReportsWeb.Models.DataTable
{
public class TableViewModel
{
[JsonProperty(PropertyName = "draw")]
public int Draw { get; set; }
[JsonProperty(PropertyName = "recordsTotal")]
public int RecordsTotal { get; set; }
[JsonProperty(PropertyName = "recordsFiltered")]
public int RecordsFiltered { get; set; }
[JsonProperty(PropertyName = "data")]
public List<List<string>> Data { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment