0hoxy
Tables (6)
Album
- 앨범 고유번호 (id) — Long — Primary key — NOT NULL
- 제목 (title) — String
- 회원 고유번호 (user_id) — Long — Foreign key → User.회원 고유번호 — NOT NULL
- 생성일시 (created_at) — LocalDateTime — NOT NULL
- 수정일시 (updated_at) — LocalDateTime
Comment
- 댓글 고유번호 (id) — Long — Primary key — NOT NULL
- 이름 (name) — String
- 이메일 (email) — String
- 내용 (body) — String
- 게시글 고유번호 (post_id) — Long — Foreign key → Post.게시글 고유번호 — NOT NULL
- 생성일시 (created_at) — LocalDateTime — NOT NULL
- 수정일시 (updated_at) — LocalDateTime
Photo
- 사진 고유번호 (id) — Long — Primary key — NOT NULL
- 제목 (title) — String
- 사진 주소 (url) — String
- 썸네일 주소 (thumbnail_url) — String
- 앨범 고유번호 (album_id) — Long — Foreign key → Album.앨범 고유번호 — NOT NULL
- 생성일시 (created_at) — LocalDateTime — NOT NULL
- 수정일시 (updated_at) — LocalDateTime
Post
- 게시글 고유번호 (id) — Long — Primary key
- 제목 (title) — String
- 내용 (body) — String
- 회원고유ID (user_id) — Long — Foreign key → User.회원 고유번호 — NOT NULL
- 생성일시 (created_at) — LocalDateTime — NOT NULL
- 수정일시 (updated_at) — LocalDateTime
Todo
- 할 일 고유번호 (id) — Long — Primary key
- 제목 (title) — String
- 완료 상태 (completed) — boolean — NOT NULL
- 회원 고유번호 (user_id) — Long — Foreign key → User.회원 고유번호
- 생성일시 (created_at) — LocalDateTime
- 수정일시 (updated_at) — LocalDateTime
User
- 회원 고유번호 (id) — Long — Primary key — NOT NULL
- 이름 (name) — String — NOT NULL
- 닉네임 (username) — String — NOT NULL
- 이메일 (email) — String — NOT NULL
- 비밀번호 (password) — String — NOT NULL
- 전화번호 (phone) — String — NOT NULL
- 웹사이트 (website) — String
- 도로명 (street) — String — NOT NULL
- 상세주소 (suite) — String — NOT NULL
- 시/도 (city) — String — NOT NULL
- 우편번호 (zipcode) — String — NOT NULL
- 위도 (lat) — Double — NOT NULL
- 경도 (lng) — Double — NOT NULL
- 회사명 (company_name) — String
- 캐치프레이즈 (catch_phrase) — String
- 사업 서비스 (bs) — String
- 역할 (role) — enum — NOT NULL
- 생성일시 (created_at) — LocalDateTime — NOT NULL
- 수정일시 (updated_at) — LocalDateTime