API для работы с файлами, индексация файлов и результатов распощнавания
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
from sqlalchemy import Column, UUID, String, Integer
|
||||
from sqlalchemy.orm import relationship
|
||||
from apiApp.database import Base
|
||||
import uuid
|
||||
|
||||
|
||||
class Operator(Base):
|
||||
__tablename__ = "operator"
|
||||
|
||||
id = Column(UUID(as_uuid=True), primary_key=True, default=uuid.uuid4)
|
||||
fio = Column(String(100))
|
||||
num = Column(Integer)
|
||||
|
||||
calls = relationship("Call", back_populates="operator")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user