Finishing translation of entity module

This commit is contained in:
2023-03-12 13:43:49 +01:00
parent 3390acbc82
commit 868eea79bf

View File

@@ -36,14 +36,19 @@ class Individual(EntityType):
class Employee(BaseModel):
role: Indexed(str)
role: Indexed(str) = Field(title='Poste')
entity_id: str = Field(foreignKey={
"reference": {
"resource": "entity",
"schema": "Entity",
"condition": "entity_data.type=individual"
}
})
},
title='Employé'
)
class Config:
title = 'Fiche Employé'
class Corporation(EntityType):