25 lines
741 B
C#
25 lines
741 B
C#
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace AyaNova.Models
|
|
{
|
|
|
|
public class DataListView
|
|
{
|
|
public long Id { get; set; }
|
|
public uint Concurrency { 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
|
|
|
|
|
|
}
|
|
}
|