Changing role to position in comployee model
This commit is contained in:
@@ -38,8 +38,9 @@ class Individual(EntityType):
|
|||||||
|
|
||||||
|
|
||||||
class Employee(BaseModel):
|
class Employee(BaseModel):
|
||||||
role: Indexed(str) = Field(title='Poste')
|
position: 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",
|
||||||
|
|||||||
Reference in New Issue
Block a user