This commit is contained in:
2021-09-22 17:23:05 +00:00
parent f912ba547a
commit 8512819a2d
8 changed files with 47 additions and 47 deletions

View File

@@ -25,7 +25,7 @@ namespace AyaNova.Models
public virtual DbSet<DataListColumnView> DataListColumnView { get; set; }
public virtual DbSet<Tag> Tag { get; set; }
public virtual DbSet<FormCustom> FormCustom { get; set; }
public virtual DbSet<FormSetting> FormSetting { get; set; }
public virtual DbSet<FormUserOptions> FormUserOptions { get; set; }
public virtual DbSet<PickListTemplate> PickListTemplate { get; set; }
public virtual DbSet<License> License { get; set; }
public virtual DbSet<Memo> Memo { get; set; }

View File

@@ -7,7 +7,7 @@ namespace AyaNova.Models
## NOTE: there is only one formcustom per ayatype, the formkey is the ayatype enum name
This is a *GLOBAL* setting that applies to ALL users
for personal form settings (such as used by schedule form) see FormSetting.cs
for personal form settings (such as used by schedule form) see FormUserOptions.cs
- Like DataFilter, holds a JSON fragment in one field and the form key in another field
- JSON FRAGMENT holds items that differ from stock, Hide not valid for non hideable core fields

View File

@@ -8,7 +8,7 @@ namespace AyaNova.Models
*/
public class FormSetting
public class FormUserOptions
{
public long Id { get; set; }
public uint Concurrency { get; set; }
@@ -16,7 +16,7 @@ namespace AyaNova.Models
[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.
public string Options { get; set; }//JSON fragment of form customization template, top level is array.
[Required]
public long UserId {get;set;}