CrewPlanner

Tables (6)

daily_equipments (장비 일정)

  • id (식별값) — Primary key — NOT NULL
  • schedule_id (일정 식별값) — Foreign key → schedule.id — NOT NULL
  • name (장비이름)
  • price (금액)
  • memo (메모)

employee_schedules (직원 일정)

  • id (식별값) — Primary key — NOT NULL
  • schedule_id (일정 식별값) — Foreign key → schedule.id — NOT NULL
  • employee_id (직원 식별값) — Foreign key → employees.id — NOT NULL
  • work_units (일수)

employees (직원)

  • id (식별값) — Primary key — NOT NULL
  • store_id (사업장 식별값) — Foreign key → stores.id — NOT NULL
  • name (이름)
  • brith (생년월일)
  • phone (휴대폰)
  • area (지역)
  • daliyWage (일급)
  • hourlyWage (시급)

schedule (일정)

  • id (식별값) — Primary key — NOT NULL
  • store_id (사업장 식별값) — Foreign key → stores.id — NOT NULL
  • date (날짜)
  • workplace (현장)
  • task (할 일)
  • memo (메모)

stores (사업장)

  • id (식별값) — Primary key — NOT NULL
  • name (사업장 이름)

users (회원 (사장))

  • id (식별값) — Primary key — NOT NULL
  • email (이메일)
  • password (비밀번호)
  • phone (휴대폰 번호)
  • name (이름)