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,18 @@
using Claim = System.Security.Claims.Claim;
namespace OpenWarehouse.warehouse.api.Data;
public class ItemClaims() : ClaimBase
{
public ItemClaims(Item item, Claim claim) : this()
{
Item = item;
ClaimType = claim.Type;
ClaimValue = claim.Value;
}
[Key]
public Guid Id { get; set; }
[Required, MaxLength(30)]
public Guid? ItemId { get; set; }
public Item? Item { get; set; }
}