This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using AyaNova.Util;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
@@ -20,9 +17,10 @@ namespace AyaNova.Models
|
||||
public virtual DbSet<OpsJobLog> OpsJobLog { get; set; }
|
||||
public virtual DbSet<Locale> Locale { get; set; }
|
||||
public virtual DbSet<LocaleItem> LocaleItem { get; set; }
|
||||
public virtual DbSet<DataFilter> DataFilter { get; set; }
|
||||
public virtual DbSet<DataListFilter> DataListFilter { get; set; }
|
||||
public virtual DbSet<Tag> Tag { get; set; }
|
||||
public virtual DbSet<FormCustom> FormCustom { get; set; }
|
||||
public virtual DbSet<DataListTemplate> DataListTemplate { get; set; }
|
||||
|
||||
//Note: had to add this constructor to work with the code in startup.cs that gets the connection string from the appsettings.json file
|
||||
//and commented out the above on configuring
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public partial class DataFilter
|
||||
public partial class DataListFilter
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
16
server/AyaNova/models/DataListTemplate.cs
Normal file
16
server/AyaNova/models/DataListTemplate.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public partial class DataListTemplate
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
[Required]
|
||||
public string DataListKey { get; set; }
|
||||
public string Template { get; set; }//JSON fragment template
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user