using SIGCM.Domain.Entities;

namespace SIGCM.Domain.Models;

public class ListingDetail
{
    public required Listing Listing { get; set; }
    public required IEnumerable<ListingAttributeValueWithName> Attributes { get; set; }
    public required IEnumerable<ListingImage> Images { get; set; }
    public required IEnumerable<Payment> Payments { get; set; }
}

public class ListingAttributeValueWithName : ListingAttributeValue
{
    public required string AttributeName { get; set; }
}