Skip to content

Commit ec0efe1

Browse files
committed
add further screening to pydantic model for application
Signed-off-by: longfight123 <[email protected]>
1 parent 9cee7fa commit ec0efe1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

backend/schemas/user_profile_job_schema.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class UserProfileJob(UserProfileJobBase):
4444
application_status_id : int
4545
application_submitted_date : date | None
4646
application_reviewed_date : date | None
47+
application_further_screening_date : date | None
4748
application_offer_sent_date : date | None
4849
application_rejected_date : date | None
4950
rejection_feedback : str | None
@@ -59,12 +60,13 @@ class Config:
5960
"job_id": 1,
6061
"application_status_id": 1,
6162
"application_submitted_date": "2023-01-01",
62-
"application_reviewed_date": None,
63-
"application_offer_sent_date": None,
63+
"application_reviewed_date": "2023-01-02",
64+
"application_further_screening_date": "2023-01-02",
65+
"application_offer_sent_date": "2023-01-03",
6466
"application_rejected_date": None,
6567
"application_status": {
6668
"id": 1,
67-
"status": "Application Submitted"
69+
"status": "SUBMITTED"
6870
},
6971
"applicant": {
7072
"user_id": 1,

0 commit comments

Comments
 (0)