using Features.Breweries.Dtos; using MediatR; namespace Features.Breweries.Commands.CreateBrewery; /// Location details for a brewery being created. /// Raw binary representation of the brewery's geographic coordinates. public record CreateBreweryLocation( Guid CityId, string AddressLine1, string? AddressLine2, string PostalCode, byte[]? Coordinates ); /// /// Creates a new brewery post. Bound directly from the request body of POST /api/brewery. /// public record CreateBreweryCommand( Guid PostedById, string BreweryName, string Description, CreateBreweryLocation Location ) : IRequest;