Correcting bug caused y Entity name collision
This commit is contained in:
@@ -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