namespace GerbilManagerWebAPI.Dtos
{
    // FEAT-13: Abgabeverträge + Zuchtprofil (eigene Datei, hält ApiDtos.cs konfliktfrei).

    public record SaleContractDto(
        Guid Id,
        Guid ContactId,
        decimal Price,
        DateOnly HandoverDate,
        DateOnly ContractDate,
        string FileName,
        DateTimeOffset CreatedAt,
        IReadOnlyList<Guid> GerbilIds,
        // Download-URL der .docx ("/contracts/{id}/file").
        string Url);

    public record SaleContractInput(
        Guid ContactId,
        List<Guid> GerbilIds,
        decimal Price,
        DateOnly HandoverDate,
        DateOnly? ContractDate);

    /// <summary>Zuchtprofil — Antwort UND Request-Body von /settings/breeder-profile.</summary>
    public record BreederProfileDto(
        string ZuchtName,
        string Name,
        string Address,
        string Phone,
        string Email,
        string Homepage,
        string City);
}
