initial commit

This commit is contained in:
2023-01-09 13:03:16 +01:00
commit d0c0668fad
89 changed files with 12472 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import uuid
from datetime import datetime
from pydantic import BaseModel
from .models import Entity, EntityType
class EntityRead(Entity):
pass
class EntityCreate(BaseModel):
type: EntityType
name: str
address: str
class EntityUpdate(BaseModel):
name: str