namespace FruitBankHybrid.Shared.Tests.TestData;

// Demo entity-k a teszteléshez
public class TestOrder
{
    public int Id { get; set; }
    public int CustomerId { get; set; }
    public TestCustomer? Customer { get; set; }
    public List<TestOrderItem> OrderItems { get; set; } = new();
}

public class TestCustomer
{
    public int Id { get; set; }
    public string Name { get; set; } = "";
    public List<TestOrder> Orders { get; set; } = new();
}

public class TestOrderItem
{
    public int Id { get; set; }
    public int OrderId { get; set; }
    public TestOrder? Order { get; set; }
    public int ProductId { get; set; }
    public TestProduct? Product { get; set; }
}

public class TestProduct
{
    public int Id { get; set; }
    public string Name { get; set; } = "";
    public List<TestOrderItem> OrderItems { get; set; } = new();
}