ㅇㅇ
Tables (3)
food_tbl (Untitled4)
- 음식번호 (foodNo) — primary key — Primary key — NOT NULL
- 음식종류 (foodType)
- 음식이름 (foodname)
- 투표받은수 (foodHit) — default 0
post_tbl (Untitled2)
- 전체게시글고유번호 (postNo) — primary key — Primary key — NOT NULL
- 유저고유번호 (writerNo) — Foreign key → schoolUser_tbl.유저고유번호 — NOT NULL
- 게시글 타입 (postType)
- 게시글제목 (postTitle)
- 내용 (contents)
- 조회수 (views) — DEFAULT 0
- 승인 유무 (recognize) — DEFAULT 'X'
- 작성일 (dateCreated)
- 수정일 (updateDate)
- 독자번호 (reader) — default 0
schoolUser_tbl (Untitled)
- 유저고유번호 (userNo) — primary key — Primary key — NOT NULL
- 유저이름 (userName) — not null
- 닉네임 (nickName)
- 유저아이디 (userId) — unique
- 유저비밀번호 (userPw)
- 직책 (userPosition)
- 소속그룹 (userGroup)
- 유저 전화번호 (userContact)
- 유저 생일 (userBirthday)
- 전입일 (regdate)
- 재학여부 (attending) — DEFAULT 'X'
- 전입전출 (transfer)
- 밥투표 (riceVote) — Foreign key → food_tbl.음식번호 — NOT NULL
- 국투표 (soupVote) — Foreign key → food_tbl.음식번호 — NOT NULL
- 반찬투표 (dishVote) — Foreign key → food_tbl.음식번호 — NOT NULL
- 디저트투표 (dessertVote) — Foreign key → food_tbl.음식번호 — NOT NULL