dmdb/model/Configuration.cs

22 lines
904 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace dezentrale.model
{
public class Configuration : XmlData
{
[XmlElement] public ConfigSmtp Smtp { get; set; } = new ConfigSmtp();
[XmlElement] public ConfigVSMail VS { get; set; } = new ConfigVSMail();
[XmlElement] public string MemberDirectory { get; set; } = "member-data";
[XmlElement] public uint RegularPaymentAmount { get; set; } = 3200; //cents
[XmlElement] public string LocalUser { get; set; } = "";
[XmlElement] public string KeylockCombination { get; set; } = "0000";
[XmlElement] public string ImportExportFile { get; set; } = "fnord.fnord";
[XmlElement] public string ImportExportPassword { get; set; } = null;
}
}