namespace OpenWarehouse.warehouse.api.Data;

public class ItemCategoryTag
{
    [Key]
    public Guid Id { get; set; }
    [Required]
    [MinLength(4),MaxLength(30)]
    public string? Name { get; set; }
    
    public ItemCategoryTag? ParentTag { get; set; }
    public Guid? ParentTagId { get; set; }
    
    [DeleteBehavior(DeleteBehavior.Cascade)]
    public List<ItemCategoryTag>? ListOfChildrenTag { get; set; }
    
    public List<Item>? Items { get; set; }
    
}