hotpocket/services/packages/soa/hotpocket_soa/dto/base.py
Tomek Wójcik b4338e2769
Some checks failed
CI / Checks (push) Failing after 13m2s
Release v1.0.0
2025-08-20 21:00:50 +02:00

25 lines
431 B
Python

# -*- coding: utf-8 -*-
from __future__ import annotations
import datetime
import uuid
import pydantic
class ModelOut(pydantic.BaseModel):
id: uuid.UUID
account_uuid: uuid.UUID
created_at: datetime.datetime
updated_at: datetime.datetime
deleted_at: datetime.datetime | None
is_active: bool
@property
def pk(self) -> uuid.UUID:
return self.id
class Query(pydantic.BaseModel):
pass