세탁2
테이블 (11)
개인정보 (Persnal_info)
- 유저아이디 (user_id) — not null, unique,FK — 외래 키 → 사용자.유저아이디 — NOT NULL
- 유저이메일 (user_mail) — not null
- 유저주소 (user_address) — not null
- 유저 연락처 (user_phone) — not null
- 이름 (user_name) — not null
게시판 (Board)
- 게시물번호 (board_code) — not null, unique, PK — 기본 키
- 관리자아이디 (admin_id) — not null, unique, FK
- 유저아이디 (user_id) — not null, unique, FK
- 글제목 (board_title) — not null
- 내용 (board_content) — not null
- 등록일 (board_date) — sysdate
- 댓글 (Field)
결제 (Payment)
- 결제코드 (payment_code) — not null, unique, PK — 기본 키
- 주문번호 (order_code) — not null, unique, FK
관리자 (Admin)
- 관리자아이디 (admin_id) — not null, unique, PK — 기본 키
- 관리자비밀번호 (admin_pw) — not null
- 관리자 전화번호 (admin_phone) — not null
- 관리자 상호명 (admin_title) — not null
댓글 (Comment)
- 댓글번호 (comment_code) — not null, unique, PK — 기본 키
- 등록일 (comment_date) — sysdate
- 내용 (comment_content) — not null
- 유저아이디 (user_id) — not null, unique, FK
- 관리자아이디 (admin_id) — not null, unique, FK
- 게시물번호 (board_code) — not null, unique, FK
사용자 (User)
- 유저아이디 (user_id) — not null, unique, PK — 기본 키 — NOT NULL
- 유저비밀번호 (user_pw) — not null
사용자 (user_info)
- 유저번호 (UI_NUM) — 기본 키 — NOT NULL
세탁물(옷의종류) (Laundry_object)
- 세탁물코드 (laun_object_code) — not null, unique, PK — 기본 키
- 물건명 (laun_object_name) — not null
- 가격 (laun_object_price) — not null
세탁방법 (Laundry_Kind)
- 세탁방법코드 (laun_kind_code) — not null, unique,PK — 기본 키
- 방법(종류) (laun_kind) — not null
장바구니 (Cart)
- 장바구니코드 (cart_code) — not null, unique, PK — 기본 키
- 유저아이디 (user_id) — not null, unique, FK
- 주문번호 (order_code) — not null, unique, FK
주문 (Order)
- 주문번호 (order_code) — not null, unique, PK — 기본 키
- 주문날짜 (order_date) — not null
- 세탁물코드 (laun_object_code) — not null, FK
- 세탁방법코드 (laun_kind_code) — not null, FK
- 수량 (acount) — not null, default(1)
- 유저아이디 (user_id) — not null, unique,FK — 외래 키 → 개인정보.유저아이디 — NOT NULL
- 세탁물코드 (laun_object_code2) — not null, unique, PK — 외래 키 → 세탁물(옷의종류).세탁물코드