Files
sockeye/server/models/FormUserOptions.cs
2022-12-16 06:01:23 +00:00

25 lines
732 B
C#

using System.ComponentModel.DataAnnotations;
namespace Sockeye.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; }
}
}