<reponame>maggias/Python-Web-Development-with-Sanic<filename>Chapter10/graphql/application/world/blueprints/cities/models.py<gh_stars>10-100
from dataclasses import dataclass

from world.common.base_model import BaseModel


@dataclass
class City(BaseModel):
    id: int
    name: str
    countrycode: str
    district: str
    population: int

from dataclasses import dataclass

from world.common.base_model import BaseModel


@dataclass
class City(BaseModel):
    id: int
    name: str
    countrycode: str
    district: str
    population: int