mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-15 10:04:44 +00:00
Add BeerStyle entity and related properties; refactor BreweryDto to remove BeerPosts
This commit is contained in:
@@ -16,8 +16,6 @@ public record BreweryLocationDto(
|
||||
byte[]? Coordinates
|
||||
);
|
||||
|
||||
public record BeerPreviewDto(Guid BeerPostId, string Name, decimal ABV, int IBU);
|
||||
|
||||
/// <summary>A brewery post, as returned by the API.</summary>
|
||||
/// <param name="UpdatedAt">The date and time of the last edit, or <see langword="null"/> if never edited.</param>
|
||||
/// <param name="RowVersion">The row-version/concurrency token used to detect conflicting concurrent updates.</param>
|
||||
@@ -30,6 +28,5 @@ public record BreweryDto(
|
||||
DateTime CreatedAt,
|
||||
DateTime? UpdatedAt,
|
||||
byte[]? RowVersion,
|
||||
BreweryLocationDto? Location,
|
||||
List<BeerPreviewDto> BeerPosts
|
||||
BreweryLocationDto? Location
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user