Files
mixtape/zero.Core/Integrations/Integration.cs
T

27 lines
543 B
C#
Raw Normal View History

2020-12-16 13:22:18 +01:00
using zero.Core.Attributes;
using zero.Core.Entities;
2020-12-10 15:57:59 +01:00
namespace zero.Core.Integrations
{
2020-12-16 13:22:18 +01:00
public abstract class Integration : ZeroEntity, IIntegration
2020-12-10 15:57:59 +01:00
{
2020-12-16 13:22:18 +01:00
public Integration()
{
IsActive = true;
}
2020-12-10 15:57:59 +01:00
/// <inheritdoc />
2020-12-16 13:22:18 +01:00
public string IntegrationAlias { get; set; }
}
2020-12-10 15:57:59 +01:00
2020-12-16 13:22:18 +01:00
[Collection("Integrations")]
public interface IIntegration : IZeroEntity, IZeroDbConventions
{
/// <summary>
/// Preferred countries are displayed on top in lists
/// </summary>
string IntegrationAlias { get; set; }
2020-12-10 15:57:59 +01:00
}
}