2018-06-15 02:57:03 +02:00
|
|
|
|
namespace Teknik.Configuration
|
2015-12-16 21:46:54 +01:00
|
|
|
|
{
|
2016-01-28 08:43:41 +01:00
|
|
|
|
public class ContactConfig
|
2015-12-16 21:46:54 +01:00
|
|
|
|
{
|
2016-01-29 00:24:12 +01:00
|
|
|
|
public bool Enabled { get; set; }
|
2017-01-18 22:04:11 +01:00
|
|
|
|
public EmailAccount EmailAccount { get; set; }
|
2015-12-16 21:46:54 +01:00
|
|
|
|
|
2016-01-28 08:43:41 +01:00
|
|
|
|
public ContactConfig()
|
2015-12-16 21:46:54 +01:00
|
|
|
|
{
|
|
|
|
|
SetDefaults();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void SetDefaults()
|
|
|
|
|
{
|
2016-01-29 00:24:12 +01:00
|
|
|
|
Enabled = true;
|
2017-01-18 22:04:11 +01:00
|
|
|
|
EmailAccount = new EmailAccount();
|
2015-12-16 21:46:54 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|