mirror of
https://github.com/reconurge/flowsint.git
synced 2026-05-01 19:58:59 -05:00
19 lines
398 B
Python
19 lines
398 B
Python
from .base import ORMBase
|
|
from pydantic import UUID4, BaseModel
|
|
from typing import Optional
|
|
from datetime import datetime
|
|
|
|
|
|
class InvestigationProfileCreate(BaseModel):
|
|
investigation_id: UUID4
|
|
profile_id: UUID4
|
|
role: Optional[str] = "member"
|
|
|
|
|
|
class InvestigationProfileRead(ORMBase):
|
|
id: int
|
|
created_at: datetime
|
|
investigation_id: UUID4
|
|
profile_id: UUID4
|
|
role: str
|