Files
The_Great_Excel_Project/src/models/pydantic_models/accountant.py

13 lines
358 B
Python

from typing import Annotated
from uuid import UUID
from pydantic import Field
from src.models.pydantic_models.model import Base
class AccountantCreate(Base):
name:Annotated[str, Field(...,max_length=64,description="name of the accountant setting")]
database_key:Annotated[UUID, Field(..., description="database key from the 1C server")]