using System.ComponentModel.DataAnnotations; namespace Sockeye.Models { public class DashboardView { public DashboardView(){ View="[]";//empty view by default } public long Id { get; set; } public uint Concurrency { get; set; } [Required] public long UserId { get; set; } [Required] public string View { get; set; }//JSON Dashboard registry view object } }