Finishing translation of entity module
This commit is contained in:
@@ -36,14 +36,19 @@ class Individual(EntityType):
|
|||||||
|
|
||||||
|
|
||||||
class Employee(BaseModel):
|
class Employee(BaseModel):
|
||||||
role: Indexed(str)
|
role: Indexed(str) = Field(title='Poste')
|
||||||
entity_id: str = Field(foreignKey={
|
entity_id: str = Field(foreignKey={
|
||||||
"reference": {
|
"reference": {
|
||||||
"resource": "entity",
|
"resource": "entity",
|
||||||
"schema": "Entity",
|
"schema": "Entity",
|
||||||
"condition": "entity_data.type=individual"
|
"condition": "entity_data.type=individual"
|
||||||
}
|
}
|
||||||
})
|
},
|
||||||
|
title='Employé'
|
||||||
|
)
|
||||||
|
|
||||||
|
class Config:
|
||||||
|
title = 'Fiche Employé'
|
||||||
|
|
||||||
|
|
||||||
class Corporation(EntityType):
|
class Corporation(EntityType):
|
||||||
|
|||||||
Reference in New Issue
Block a user