18 lines
516 B
C#
18 lines
516 B
C#
using FlexitimeAPI.Interfaces;
|
|
using Infrastructure.Functions;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace FlexitimeAPI.Models
|
|
{
|
|
public class AppSettings:IApplicationSettings
|
|
{
|
|
|
|
[JsonProperty(Required = Required.Always)]
|
|
[JsonConverter(typeof(NonEmptyStringConverter))]
|
|
public string Secret { get; set; }
|
|
|
|
[JsonProperty(Required = Required.Always)]
|
|
[JsonConverter(typeof(NonEmptyStringConverter))]
|
|
public string ConnectionString { get; set; }
|
|
}
|
|
} |