This commit is contained in:
@@ -9,6 +9,8 @@ namespace AyaNova.Models
|
||||
public partial class AyContext : DbContext
|
||||
{
|
||||
public virtual DbSet<Event> Event { get; set; }
|
||||
public virtual DbSet<SearchDictionary> SearchDictionary { get; set; }
|
||||
public virtual DbSet<SearchKey> SearchKey { get; set; }
|
||||
public virtual DbSet<User> User { get; set; }
|
||||
public virtual DbSet<UserOptions> UserOptions { get; set; }
|
||||
public virtual DbSet<License> License { get; set; }
|
||||
|
||||
19
server/AyaNova/models/SearchDictionary.cs
Normal file
19
server/AyaNova/models/SearchDictionary.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using AyaNova.Biz;
|
||||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public partial class SearchDictionary
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
[Required, MaxLength(255)]
|
||||
public string Word { get; set; }//max 255 characters ascii set
|
||||
|
||||
}
|
||||
}
|
||||
25
server/AyaNova/models/SearchKey.cs
Normal file
25
server/AyaNova/models/SearchKey.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using AyaNova.Biz;
|
||||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public partial class SearchKey
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
|
||||
[Required]
|
||||
public long WordId { get; set; }
|
||||
[Required]
|
||||
public long ObjectId { get; set; }
|
||||
[Required]
|
||||
public AyaType ObjectType { get; set; }
|
||||
public bool InName { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user