Add TagType CRUD

This commit is contained in:
Oscar Morales
2025-08-05 12:29:28 -06:00
parent 827b0d8f03
commit 38f097f5e6
5 changed files with 401 additions and 0 deletions

View File

@@ -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!;
}
}