0.1.4 models update
This commit is contained in:
9
src/models/pydantic_models/accountant.py
Normal file
9
src/models/pydantic_models/accountant.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from typing import Annotated
|
||||
from src.models.pydantic_models.model import Base
|
||||
from pydantic import Field
|
||||
from uuid import UUID
|
||||
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")]
|
||||
|
||||
Reference in New Issue
Block a user