Files
raven/server/AyaNova/models/DataListView.cs
2020-03-18 19:56:58 +00:00

25 lines
754 B
C#

using System.ComponentModel.DataAnnotations;
namespace AyaNova.Models
{
public partial class DataListView
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
[Required]
public long UserId { get; set; }//only relevant if non-public for fetching either in list or single (public true OR userid matches)
[Required, MaxLength(255)]
public string Name { get; set; }//max 255 characters ascii set
[Required]
public bool Public { get; set; }
[Required, MaxLength(255)]
public string ListKey { get; set; }//max 255 characters ascii set
public string ListView { get; set; }//JSON ListView object
}
}