Correcting bug caused y Entity name collision
This commit is contained in:
1 parent
52ea9dfb63
commit
0d484209f6
1 file changed
+3
-3
@@ -38,7 +38,7 @@ class ContractDraftUpdate(ContractDraftCreate):
|
||||
pass
|
||||
|
||||
|
||||
class EntityRead(BaseModel):
|
||||
class ForeignEntityRead(BaseModel):
|
||||
label: str
|
||||
|
||||
|
||||
@@ -46,12 +46,12 @@ class PartyRead(BaseModel):
|
||||
signature_affixed: bool
|
||||
signature_uuid: str = Field(format="signature-link")
|
||||
part: str
|
||||
entity: EntityRead
|
||||
entity: ForeignEntityRead
|
||||
|
||||
|
||||
class ContractRead(Contract):
|
||||
parties: List[PartyRead]
|
||||
lawyer: EntityRead
|
||||
lawyer: ForeignEntityRead
|
||||
|
||||
|
||||
class ContractCreate(Writer):
|
||||
|
||||
Reference in new issue
Block a user