Adding contract location/date and party reprensetative

This commit is contained in:
2023-02-17 19:43:56 +01:00
parent 61b8e3fe21
commit 6d6dc2d82b
3 changed files with 28 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
import datetime
from typing import List
from pydantic import Field
@@ -23,6 +23,8 @@ class ContractDraftCreate(Writer):
default=[],
format="dictionary",
)
location: str = ""
date: datetime.date = datetime.date(1, 1, 1)
async def validate_foreign_key(self):
return