Add TagType CRUD
This commit is contained in:
		| @@ -0,0 +1,36 @@ | ||||
| using MongoDB.Bson; | ||||
| using MongoDB.Bson.Serialization.Attributes; | ||||
| using System.Text.Json.Serialization; | ||||
|  | ||||
| namespace Core.Inventory.Domain.Contexts.Inventory.Request | ||||
| { | ||||
|     /// <summary> | ||||
|     /// Data transfer object (DTO) for adding TagOverride. | ||||
|     /// </summary> | ||||
|     public class TagOverrideRequest | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// Gets or sets the tenantId of the TagOverride. | ||||
|         /// </summary> | ||||
|         [BsonElement("tenantId")] | ||||
|         [BsonRepresentation(BsonType.String)] | ||||
|         [JsonPropertyName("tenantId")] | ||||
|         public string TenantId { get; set; } = null!; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Gets or sets the baseTagId of the TagOverride. | ||||
|         /// </summary> | ||||
|         [BsonElement("baseTagId")] | ||||
|         [BsonRepresentation(BsonType.String)] | ||||
|         [JsonPropertyName("baseTagId")] | ||||
|         public string BaseTagId { get; set; } = null!; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Gets or sets the overrideTagId of the TagOverride. | ||||
|         /// </summary> | ||||
|         [BsonElement("overrideTagId")] | ||||
|         [BsonRepresentation(BsonType.String)] | ||||
|         [JsonPropertyName("overrideTagId")] | ||||
|         public string OverrideTagId { get; set; } = null!; | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Oscar Morales
					Oscar Morales