ssafy_final_pjt
Tables (10)
Article (article)
- id (Key) — int — Primary key — NOT NULL
- 제목 (title) — text — NOT NULL
- 작성자 (nickname) — text — NOT NULL
- 내용 (content) — varchar(200) — NOT NULL
- id (user_id) — int — Foreign key → User.id — NOT NULL
Comments (comments)
- id (Key) — int — Primary key — NOT NULL
- 작성자 (nickname) — text — NOT NULL
- 내용 (content) — text — NOT NULL
- id (article_id) — int — Foreign key → Article.id — NOT NULL
DepositOptions (deposit_options)
- DepositOptions id (deposit_options_id) — int — Primary key — NOT NULL
- 금융상품 코드 (fin_prdt_cd) — text — NOT NULL
- 저축 금리 유형명 (intr_rate_type_nm) — char(100) — NOT NULL
- 저축 기간 (save_trm) — integer — NOT NULL
- 저축 금리 (intr_rate) — float — NOT NULL
- 최고 우대금리 (intr_rate2) — float — NOT NULL
- 금융상품_Id (deposit_products_id) — int — Foreign key → DepositProducts.id — NOT NULL
DepositProducts (deposit_products)
- id — int — Primary key — NOT NULL
- 소속 권역 (topFinGrp) — text — NOT NULL
- 공시제출월 (dcls_month) — text — NOT NULL
- 금융회사 코드 (fin_co_no) — text — NOT NULL
- 금융상품 코드 (fin_prdt_cd) — text — NOT NULL
- 금융상품 명 (fin_prdt_nm) — text — NOT NULL
- 가입 방법 (join_way) — text — NOT NULL
- 만기 후 이자율 (mtrt_int) — text — NOT NULL
- 우대조건 (spcl_cnd) — text — NOT NULL
- 가입제한 (join_deny) — text — NOT NULL
- 가입대상 (join_member) — text — NOT NULL
- 기타 유의사항 (etc_note) — text — NOT NULL
- 최고한도 (max_limit) — text — NOT NULL
- 공시 시작일 (dcls_strt_day) — date — NOT NULL
- 공시 종료일 (dcls_end_day) — data — NOT NULL
- 금융회사 제출일 (fin_co_subm_day) — datatime — NOT NULL
Like_Users (like_users)
- id (Key) — int — Primary key — NOT NULL
- id (user_id) — int — Foreign key → User.id — NOT NULL
- id (article_id) — int — Foreign key → Article.id — NOT NULL
SavingOptions (saving_options)
- SavingOptionsId (saving_options_id) — int — Primary key — NOT NULL
- 금융상품 코드 (fin_prdt_cd) — text — NOT NULL
- 저축 금리 유형명 (intr_rate_type_nm) — char(100) — NOT NULL
- 적립 유형명 (rsrv_type_nm) — int — NOT NULL
- 저축 기간 (save_trm) — integer — NOT NULL
- 저축 금리 (intr_rate) — float — NOT NULL
- 최고 우대금리 (intr_rate2) — float — NOT NULL
- 적금상품 Id (saving_products_id) — int — Foreign key → SavingProducts.id — NOT NULL
SavingProducts (saving_products)
- id — int — Primary key — NOT NULL
- 소속 권역 (topFinGrp) — text — NOT NULL
- 공시제출월 (dcls_month) — text — NOT NULL
- 금융회사 코드 (fin_co_no) — text — NOT NULL
- 금융상품 코드 (fin_prdt_cd) — text — NOT NULL
- 금융상품 명 (fin_prdt_nm) — text — NOT NULL
- 가입 방법 (join_way) — text — NOT NULL
- 만기 후 이자율 (mtrt_int) — text — NOT NULL
- 우대조건 (spcl_cnd) — text — NOT NULL
- 가입제한 (join_deny) — text — NOT NULL
- 가입대상 (join_member) — text — NOT NULL
- 기타 유의사항 (etc_note) — text — NOT NULL
- 최고한도 (max_limit) — text — NOT NULL
- 공시 시작일 (dcls_strt_day) — date — NOT NULL
- 공시 종료일 (dcls_end_day) — data — NOT NULL
- 금융회사 제출일 (fin_co_subm_day) — datatime — NOT NULL
User (user)
- id (Key) — int — Primary key — NOT NULL
- 유저이름 (username) — varchar(120) — NOT NULL
- 비밀번호 (password) — varchar(128) — NOT NULL
- 성 (last_name) — varchar(150)
- 이름 (first_name) — varchar(150)
- 이메일 (email) — varchar(254)
- 나이 (age) — int — NOT NULL
- 자산 (asset) — text — NOT NULL
- 연봉 (income) — text — NOT NULL
- 닉네임 (nickname) — text — NOT NULL
User_Deposit_Products (user_deposit_products)
- Key (id) — int — Primary key — NOT NULL
- id (user_id) — int — Foreign key → User.id — NOT NULL
- id (deposit_products_id) — int — Foreign key → DepositProducts.id — NOT NULL
User_Saving_Products (user_saving_products)
- Key (id) — int — Primary key — NOT NULL
- id (saving_products_id) — int — Foreign key → SavingProducts.id — NOT NULL
- id (user_id) — int — Foreign key → User.id — NOT NULL