17 lines
485 B
C#
17 lines
485 B
C#
using Ardalis.SmartEnum;
|
|
|
|
namespace BelegeingangDatabase
|
|
{
|
|
public sealed class EmailStatus : SmartEnum<EmailStatus>
|
|
{
|
|
|
|
|
|
public static readonly EmailStatus Eingang = new (nameof(Eingang), 0);
|
|
public static readonly EmailStatus Importiert = new (nameof(Importiert), 1);
|
|
public static readonly EmailStatus Gelöscht = new (nameof(Gelöscht), 2);
|
|
|
|
protected EmailStatus(string name, int value) : base(name, value)
|
|
{
|
|
}
|
|
}
|
|
} |