Add the Sales CRM service through collaboration, sync architecture/registry docs, expose crm.torbatyar.ir, and include a production deploy script. Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
319 B
Python
19 lines
319 B
Python
"""Common schemas."""
|
|
from __future__ import annotations
|
|
|
|
from uuid import UUID
|
|
|
|
from pydantic import BaseModel, ConfigDict
|
|
|
|
|
|
class ORMBase(BaseModel):
|
|
model_config = ConfigDict(from_attributes=True)
|
|
|
|
|
|
class IdResponse(BaseModel):
|
|
id: UUID
|
|
|
|
|
|
class MessageResponse(BaseModel):
|
|
message: str
|