Gym Management App
Tables (11)
centers (초기 로그인 화면)
- 회원 ID (Key) — Primary key — NOT NULL
- 비밀번호 (Field)
- 지점 권한 (Field2)
- 지점 코드 (Field3)
holding (휴회)
- 휴회 ID (Key) — Primary key — NOT NULL
- 휴회자 (Field)
- 휴회자 전번 (Field2)
- 휴회 시작일 (Field3)
- 휴회 마감일 (Field4)
- 지점코드 (Field5)
locker_lists (라커 목록)
- 라커 ID (Key) — Primary key — NOT NULL
- 라커 번호 (Field)
- 라커 소유자 (Field2)
- 라커 시작일 (Field3)
- 라커 마감일 (Field4)
- 지점코드 (Field5)
mangers (직원)
- 직원 ID (Key) — Primary key — NOT NULL
- 직원 이름 (Field)
- 직책 (Field2)
- 입사일 (Field3)
- 성별 (Field4)
- 전화번호 (Field5)
- 생년월일 (Field6)
- 지점코드 (Field7)
member_info (GYM회원)
- 회원 전화번호 (Key) — Primary key — NOT NULL
- 이름 (Field)
- 가입일 (Field2)
- 생년월일 (Field3)
- 출석일 (Field4)
- 회원 메모 (Field5)
- 휴회 (Field6)
- 성별 (Field7)
- 지점코드 (Field8)
- 최근 방문일 (Field9)
products (판매 상품)
- 상품 ID (id) — Primary key — NOT NULL
- 상품 종류 (Field)
- 상품 금액 (Field2)
- 사용 기간 (Field3)
- 담당 트레이너 (Field4)
- 휴회 가능일 (Field5)
- 지점코드 (Field6)
purchase_lockers (라커 상품)
- 회원 전화번호 (Key) — Primary key — NOT NULL
- 결제 금액 (Field2)
- 결제일 (Field3)
- 시작일 (Field4)
- 마감일 (Field5)
- 라커 번호 (Field)
- 지점코드 (Field6)
purchase_pt (PT 상품)
- 회원 전화번호 (Key) — Primary key — NOT NULL
- 결제 금액 (Field2)
- 결제일 (Field3)
- 시작일 (Field4)
- 마감일 (Field5)
- 담당 트레이너 (Field6)
- PT 수량 (Field)
- 지점코드 (Field7)
purchase_tickets (티켓 상품)
- 회원 전화번호 (Key) — Primary key — NOT NULL
- 결제 금액 (Field2)
- 결제일 (Field3)
- 시작일 (Field4)
- 마감일 (Field5)
- 지점코드 (Field)
trainers (트레이너)
- 트레이너 ID (Key) — Primary key — NOT NULL
- 이름 (Field)
- 입사일 (Field2)
- 전화번호 (Field3)
- 성별 (Field4)
- 생년월일 (Field5)
- 소진 PT (Field6)
- 비밀번호 (Field7)
- 지점코드 (Field8)
visit_history (방문 내역)
- ID (Key) — Primary key — NOT NULL
- 회원 전화번호 (Field)
- 방문일 (Field2)
- 방문 시각 (Field3)
- 지점코드 (Field4)