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