21 lines
282 B
Python
21 lines
282 B
Python
|
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
|