Changing role to position in comployee model
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user