blocking-ip/core/schemas/ip.py

21 lines
282 B
Python
Raw Normal View History

from pydantic import BaseModel
class IpBase(BaseModel):
ip: str
in_31: str
in_30: str
in_29: str
in_28: str
in_27: str
in_26: str
in_25: str
in_24: str
min_not_full: str
max_full: str
domain: str
class IpRead(IpBase):
id: int