Saving to DB is done, Reading from DB to UI is done. Loading at startup is still missing...
18 lines
462 B
C#
18 lines
462 B
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Oqtane.Models;
|
|
|
|
namespace SZUAbsolventenverein.Module.AdminModules.Models
|
|
{
|
|
[Table("SZUAbsolventenvereinAdminSettings")]
|
|
public class AdminSetting
|
|
{
|
|
[Key]
|
|
public int AdminSettingsId { get; set; }
|
|
[NotMapped]
|
|
public int ModuleId { get; set; }
|
|
public int TokenLifetime { get; set; }
|
|
}
|
|
}
|