Adding AttachmentPointNames
This commit is contained in:
1 parent
ae50ec7049
commit
2767fb1c8e
14 files changed
+406
-3
No files matched your search
@@ -0,0 +1,18 @@
|
||||
from pydantic import BaseModel, ConfigDict
|
||||
|
||||
|
||||
class AttachmentPointNameBase(BaseModel):
|
||||
name: str
|
||||
|
||||
|
||||
class AttachmentPointNameCreate(AttachmentPointNameBase):
|
||||
pass
|
||||
|
||||
|
||||
class AttachmentPointNameUpdate(BaseModel):
|
||||
name: str | None = None
|
||||
|
||||
|
||||
class AttachmentPointNameRead(AttachmentPointNameBase):
|
||||
model_config = ConfigDict(from_attributes=True)
|
||||
id: int
|
||||
Reference in new issue
Block a user