Files
raven/server/AyaNova/models/FormUserOptions.cs
2021-09-22 18:45:39 +00:00

25 lines
732 B
C#

using System.ComponentModel.DataAnnotations;
namespace AyaNova.Models
{
/*
## NOTE: this is for PERSONAL form settings such as schedule, for globally applicable form settings and customization see formcustom.cs
*/
public class FormUserOptions
{
public long Id { get; set; }
public uint Concurrency { get; set; }
[Required, MaxLength(255)]
public string FormKey { get; set; }//max 255 characters ascii set
[Required]
public string Options { get; set; }//JSON fragment of form customization template, top level is array.
//this is set from logged in user id, not provided
public long UserId { get; set; }
}
}