33 lines
812 B
C#
33 lines
812 B
C#
// ***********************************************************************
|
|
// <copyright file="StatusEnum.cs">
|
|
// Heath
|
|
// </copyright>
|
|
// ***********************************************************************
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Core.Cerberos.Adapters.Common.Enums
|
|
{
|
|
/// <summary>
|
|
/// Defines the status of an entity.
|
|
/// </summary>
|
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
|
public enum StatusEnum
|
|
{
|
|
/// <summary>
|
|
/// Indicates the entity is active.
|
|
/// </summary>
|
|
Active = 0,
|
|
|
|
/// <summary>
|
|
/// Indicates the entity is inactive.
|
|
/// </summary>
|
|
Inactive = 1,
|
|
|
|
/// <summary>
|
|
/// Indicates the entity is deleted.
|
|
/// </summary>
|
|
Deleted = 2
|
|
}
|
|
}
|