fix: model
This commit is contained in:
@@ -3,7 +3,7 @@ from typing import Dict, Any
|
||||
from datetime import datetime
|
||||
from enum import Enum
|
||||
|
||||
from api.schemas.base import BaseModel
|
||||
from api.schemas.base import Base
|
||||
|
||||
|
||||
class State(Enum):
|
||||
@@ -17,7 +17,7 @@ class Status(Enum):
|
||||
DELETED = "Deleted"
|
||||
|
||||
|
||||
class ListEvent(BaseModel):
|
||||
class ListEvent(Base):
|
||||
id: int
|
||||
name: str = Field(..., max_length=40)
|
||||
title: str = Field(..., max_length=64)
|
||||
|
Reference in New Issue
Block a user