Add project files.
This commit is contained in:
29
Core.Blueprint.SQLServer/Adapters/StatusEnum.cs
Normal file
29
Core.Blueprint.SQLServer/Adapters/StatusEnum.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user