GYM

Tables (6)

table (trainer)

  • 트레이너 고유 번호 (trainer_no) — integer — Primary key — NOT NULL
  • 아이디 (id) — String
  • 비밀번호 (password) — String
  • 이름 (name) — String
  • 주소 (address) — String
  • 성별 (gender) — String
  • 핸드폰번호 (hp) — String
  • 나이 (age) — int
  • 경력 (career) — String
  • saveName — String
  • orgName — String
  • filePath — String
  • fileSize — long

table (member)

  • 회원 고유번호 (no) — integer — Primary key — NOT NULL
  • 아이디 (id) — String
  • 비밀번호 (password) — String
  • 이름 (name) — String
  • 주소 (address) — String
  • 성별 (gender) — String
  • 핸드폰번호 (hp) — String
  • 나이 (age) — int
  • 라커 번호 (locker_no) — int
  • 신청개월 (period) — int
  • 승인상태 (approval) — String

table (general)

  • 회원 고유번호 (no) — integer — Foreign key → table.회원 고유번호 — NOT NULL
  • 등록일 (reg_date) — datetime
  • 마감일 (deadline) — datetime
  • 가격 (price) — int

table (pt)

  • 레슨 고유번호 (pt_no) — integer — Primary key — NOT NULL
  • 회원 고유번호 (no) — integer — Foreign key → table.회원 고유번호 — NOT NULL
  • 트레이너 고유번호 (trainer_no) — integer — Foreign key → table.트레이너 고유 번호 — NOT NULL
  • pt 등록 횟수 (pt_count) — int — NOT NULL
  • 총 pt 횟수 (pt_total) — int

table (lesson)

  • 레슨 고유번호 (l_no) — int — Primary key — NOT NULL
  • pt 고유번호 (pt no) — integer — Foreign key → table.레슨 고유번호 — NOT NULL
  • 코멘트 (comment) — String
  • 운동받은날짜 (l_date) — datetime

table (attend)

  • 출석 고유번호 (attend_no) — integer — Primary key — NOT NULL
  • 회원 고유번호 (no) — integer — Foreign key → table.회원 고유번호 — NOT NULL
  • 입실시간 (entry_time) — datetime
  • 퇴실시간 (leave_time) — datetime