Changing role to position in comployee model

This commit is contained in:
2025-04-16 21:32:49 +02:00
parent b0c4128e01
commit 15b77ff09f

View File

@@ -38,8 +38,9 @@ class Individual(EntityType):
class Employee(BaseModel):
role: Indexed(str) = Field(title='Poste')
entity_id: str = Field(foreignKey={
position: Indexed(str) = Field(title='Poste')
entity_id: str = Field(
foreignKey={
"reference": {
"resource": "entity",
"schema": "Entity",