namespace OpenWarehouse.warehouse.api.Data;

public class Item
{
    [Key]
    public Guid? Id { get; set; }
    [Required, MaxLength(30), MinLength(4)]
    public string? Name { get; set; }
    public Image Image { get; set; }
    [Required]
    public Producers? Producer { get; set; }
    [Required]
    public Guid? ProducerId { get; set; }
    
    public List<ItemCategoryTag>? ItemCategoryTags { get; set; }
    
    public List<ItemClaims>? ItemClaims { get; set; }
}