28 lines
		
	
	
		
			840 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			840 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System.Text.Json.Serialization;
 | |
| 
 | |
| namespace Core.Blueprint.Mongo
 | |
| {
 | |
|     /// <summary>
 | |
|     /// Represents the status of a document or entity. This enum is used to track the state of a document 
 | |
|     /// within the system. The `JsonStringEnumConverter` ensures that the enum values are serialized as strings 
 | |
|     /// in JSON format, rather than as numeric values.
 | |
|     /// </summary>
 | |
|     [JsonConverter(typeof(JsonStringEnumConverter))]
 | |
|     public enum StatusEnum
 | |
|     {
 | |
|         /// <summary>
 | |
|         /// Represents an active document or entity.
 | |
|         /// </summary>
 | |
|         Active = 0,
 | |
| 
 | |
|         /// <summary>
 | |
|         /// Represents an inactive document or entity.
 | |
|         /// </summary>
 | |
|         Inactive = 1,
 | |
| 
 | |
|         /// <summary>
 | |
|         /// Represents a deleted document or entity.
 | |
|         /// </summary>
 | |
|         Deleted = 2
 | |
|     }
 | |
| } | 
