mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-15 01:54:43 +00:00
refactor(database): update seed pipeline to use dapper (#277)
This commit is contained in:
11
web/backend/Features/Features.Locations/Dtos/CityDto.cs
Normal file
11
web/backend/Features/Features.Locations/Dtos/CityDto.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace Features.Locations.Dtos;
|
||||
|
||||
public record CityDto(
|
||||
Guid CityId,
|
||||
string CityName,
|
||||
string StateProvinceName,
|
||||
string StateProvinceCode,
|
||||
string CountryName,
|
||||
string CountryCode,
|
||||
int BreweryCount
|
||||
);
|
||||
@@ -1,13 +0,0 @@
|
||||
namespace Features.Locations.Dtos;
|
||||
|
||||
/// <summary>
|
||||
/// Describes a city's location for resolution by <c>ILocationRepository</c>, including the
|
||||
/// state/province and country it belongs to.
|
||||
/// </summary>
|
||||
public sealed record CityLocation(
|
||||
string CityName,
|
||||
string StateProvinceName,
|
||||
string StateProvinceIsoCode,
|
||||
string CountryName,
|
||||
string CountryIsoCode
|
||||
);
|
||||
Reference in New Issue
Block a user