This commit is contained in:
24
server/models/FormUserOptions.cs
Normal file
24
server/models/FormUserOptions.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
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; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user