name | property | description |
---|---|---|
id | int, pk | ์ ์ ๊ณ ์ id๊ฐ |
user_id | string | ์ ์ ์ค์ ID |
password | string | ์ ์ ๋น๋ฐ๋ฒํธ |
phone | string | ์ ์ ์ ํ๋ฒํธ |
image | file | ์ ์ ํ๋กํ ์ฌ์ง |
user_created | date | ๊ฐ์ ๋ ์ง |
user_updated | date | ์ ์ ์ ๋ณด ์์ ๋ ์ง (๋ก๊ทธ๊ธฐ๋ก) |
recruitment_id | foreignkey | ๊ตฌ์ธ ๋ด์ญ (๊ตฌ์ธ๋ฑ๋ก tbl๊ณผ 1:M์ฐ๊ฒฐ) |
application_id | foreignkey | ๊ตฌ์ง ์ ์ฒญ ๊ธฐ๋ก (์ ์ฒญ tbl๊ณผ 1:M ์ฐ๊ฒฐ) |
inquiry_id | foreignkey | ๋ฌธ์ ๋ด์ญ (๋ฌธ์ tbl๊ณผ 1:M ์ฐ๊ฒฐ) |
bookmark_id | foreignkey | ๋ถ๋งํฌ ๋ด์ญ (์ํ tbl๊ณผ ์ฐ๊ฒฐ) |
name | property | description |
---|---|---|
post-id | pk | ๊ตฌ์ง ๊ธ ๊ณ ์ id๊ฐ |
user-id | foreignkey | user tbl๊ณผ 1:1 ์ฐ๊ฒฐ |
work_name | string | ์์ ๋ด์ฉ (์ ๋ชฉ) |
image | file | ์ด๋ฏธ์ง ํ์ผ |
address | string | ์ฃผ์ (์ฃผ์api ์ฐ๊ฒฐ) |
detailed_address | string | ์์ธ ์ฃผ์ (์ง์ ์์ฑ) |
district | choice (enum) | ์ง์ญ๊ตฌ |
start_date | date | ์์ ์์ ์ผ์ |
end_date | date | ์์ ์ข ๋ฃ ์ผ์ |
start_time | time | ์์ ์์ ์๊ฐ |
end_time | time | ์์ ์ข ๋ฃ ์๊ฐ |
days_of_work | int | ์ผํ๋ ๊ธฐ๊ฐ |
num_of_people | int | ํ์ ์ธ์ (๊ณ ์ฉ ์ธ์) |
daily_wage | int | ์ผ๋น Pay (๋จ์: ์) |
lodging_offered | boolean | ์์ ์ ๊ณต ์ฌ๋ถ |
recommended_lodging | string | loding_offered ๊ฐ false ์ธ ๊ฒฝ์ฐ ์ธ๊ทผ ์๋ฐ์์ค ์ถ์ฒ |
meal_offered | boolean | ์์ฌ ์ ๊ณต ์ฌ๋ถ |
trans_offered | boolean | ๊ตํต ์ง์ ์ฌ๋ถ |
contents | string | ์์ธ ์ค๋ช |
tags | multiple | ํ๊ทธ ๋ชฉ๋ก |
is_closed | boolean | ๊ตฌ์ธ์ด ๋ง๊ฐ ๋์๋์ง? (default: false ) |
name | property | description |
---|---|---|
application-id | pk | ๊ตฌ์ง ๊ณ ์ id๊ฐ |
user-id | foreignkey | user tbl๊ณผ 1:1 ์ฐ๊ฒฐ |
post-id | foreignkey | recruitment-tbl๊ณผ 1:M ์ฐ๊ฒฐ |
application_date | date | ์ ์ฒญ ๋ ์ง |
is_paid | boolean | ๊ฒฐ์ ์๋ฃ ํ๋์ง ์ํ๋์ง (default : false ) |
is_cancled | boolean | ์ ์ฒญ ์ทจ์ (default: false , ํ๋ฒ true ๋ก ์ค์ ๋๋ฉด ๊ฒฐ์ tbl๋ ์ทจ์) |
name | http method | url pattern | description | Body (json) | Response |
---|---|---|---|---|---|
ํ์๊ฐ์ | POST |
/ oseyou / signup | ์๋ก์ด ์ ์ ๋ฑ๋ก | id, image, name, password, password_validated, phone, user_id | |
๋ก๊ทธ์ธ | POST |
/ oseyou / login | ๋ก๊ทธ์ธ | password, user_id | |
๋ก๊ทธ์์ | POST |
/ oseyou / logout | ๋ก๊ทธ์์ |