공설기
테이블 (4)
Chat (Untitled2)
- chatId (채팅 아이디) — Long — 기본 키 — NOT NULL
- userId (유저 아이디) — String — 외래 키 → user.userId — NOT NULL
- Answer (답변) — String
- chatDate (채팅 날짜) — Date
alertTime (알림 시간 설정)
- alertId (알람 아이디) — Long — 기본 키 — NOT NULL
- medicineId (약 아이디) — Long — 외래 키 → medicine.medicineId — NOT NULL
- medicineTime (약 복용 시간) — Date
medicine (약)
- medicineId (약 아이디) — Long — 기본 키 — NOT NULL
- medicineDescription (약 설명) — String
- medicineName (약 이름) — String
- badMedicine (병용금기약물) — String
user (데이터)
- userId (유저 아이디) — String — 기본 키 — NOT NULL
- alertId (알람 아이디) — Long — 외래 키 → alertTime.alertId — NOT NULL
- userPassword (유저 비밀번호) — String
- userNumber (유저 전화번호) — Integer
- userBirth (유저 생년월일) — Date
- medication (복용 약물) — List
- userJob (유저 역할) — String