Files
plantillas-proyectos/backend/api/v1/modules/a76/rule_octave/country/dto.py

22 lines
353 B
Python

"""
DTOs for CountryRuleOct.
"""
from pydantic import BaseModel
class CountryRuleOctBaseDTO(BaseModel):
permission: str
line: int
fraction: str
country_code: str
class CountryRuleOctCreateDTO(CountryRuleOctBaseDTO):
pass
class CountryRuleOctResponseDTO(CountryRuleOctBaseDTO):
class Config:
from_attributes = True