first commit

This commit is contained in:
2025-02-26 23:42:19 +01:00
commit 777ea98be1
283 changed files with 88266 additions and 0 deletions
@@ -0,0 +1,31 @@
using NJsonSchema.Annotations;
namespace OpenWarehouse.warehouse.api.Model.Item;
public class ClaimValueModel
{
public string? Value { get; set; }
public string? Issuer { get; set; }
}
public class ItemModel
{
[NotNull, MaxLength(30), Required]
public string? Id { get; set; }
[NotNull, MaxLength(30), Required]
public string? Name { get; set; }
[NotNull, MaxLength(30), Required]
public string? ProducerId { get; set; }
[NotNull, MaxLength(30), Required]
public string? ProducerName { get; set; }
[Required]
public Dictionary<string, ClaimValueModel>? Claims { get; set; }
[Required]
public List<string>? CategoryTag { get; set; }
}