30 lines
1020 B
C#
30 lines
1020 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Core.Blueprint.SQLServer.Entities
|
|
{
|
|
/// <summary>
|
|
/// Defines the possible statuses for entities in the system.
|
|
/// Used to track the state of an entity, such as whether it is active, inactive, or deleted.
|
|
/// </summary>
|
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
|
public enum StatusEnum
|
|
{
|
|
/// <summary>
|
|
/// Indicates that the entity is currently active and operational.
|
|
/// </summary>
|
|
Active = 0,
|
|
|
|
/// <summary>
|
|
/// Indicates that the entity is currently inactive but still exists in the system.
|
|
/// Typically used for temporary deactivation or soft-offline states.
|
|
/// </summary>
|
|
Inactive = 1,
|
|
|
|
/// <summary>
|
|
/// Indicates that the entity has been deleted and is no longer accessible.
|
|
/// Often used in soft-delete scenarios where the entity is retained for archival or audit purposes.
|
|
/// </summary>
|
|
Deleted = 2
|
|
}
|
|
}
|