#nullable enable
using Baya.Application.Models.Booking;
using Baya.Application.Models.Common;
using Mediator;

namespace Baya.Application.Features.Bookings.Commands.SubmitCareInstructions;

/// <summary>Writes/updates the 1:1 encrypted <c>booking_care_instructions</c> for a <b>confirmed</b> booking.
/// Customer-authored (or admin). The booking id comes from the route, never the body.</summary>
public record SubmitCareInstructionsCommand(
    string? CurrentConditions,
    string? Medications,
    string? Allergies,
    string? SpecialInstructions,
    string? EmergencyContactName,
    string? EmergencyContactPhone,
    long BookingId = 0) : IRequest<OperationResult<CareInstructionsDto>>;
