Files
raven/server/AyaNova/models/FormSetting.cs
2021-09-22 17:07:42 +00:00

25 lines
690 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 FormSetting
{
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 Setting { get; set; }//JSON fragment of form customization template, top level is array.
[Required]
public long UserId {get;set;}
}
}