BosungStone

Tables (7)

Address (주소)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • addr1 (시도) — text
  • addr2 (시군구) — text

Certify (인증)

  • unique (고유 번호) — text — Primary key — NOT NULL
  • certify_type (인증 유형) — CERTIFY_TYPE
  • code (인증 코드) — text
  • phone (핸드폰 번호) — text
  • expired_at (만료 시간) — DateTime

Estimate (견적서)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • main_material_cost (총 자재비) — number
  • sub_material_cost (부자재비) — number
  • labor_cost (노무비) — number
  • vat (부가가치세) — number
  • total_cost (최종 가격) — number
  • user (유저) — User — Foreign key → User.unique_id — NOT NULL
  • request (의뢰 요청) — Request — Foreign key → Request.unique_id — NOT NULL

Request (의뢰 요청)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • start_at (착공 시작일) — DateTime
  • floor_plan_file_list (도면 리스트) — List<File>
  • statement_file_list (공내역서 리스트) — List<File>
  • site_name (현장명) — text
  • user (유저) — User — Foreign key → User.unique_id — NOT NULL
  • address (주소) — Address — Foreign key → Address.unique_id — NOT NULL

RequestMaterial (의뢰 요청 자재)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • info (자재 정보) — text
  • info_detail (자재 상세정보) — text
  • hebe (헤베) — number
  • request (견적 요청) — Request — Foreign key → Request.unique_id — NOT NULL

Term (약관)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • term_type (약관 유형) — TERM_TYPE
  • last_update_at (마지막 수정일시) — DateTime
  • contents (내용) — text

User (유저)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • email (이메일) — text
  • password (비밀번호) — text
  • init_password (초기 비밀번호) — text
  • control_password (조작 비밀번호) — text
  • login_type (로그인 유형) — LOGIN_TYPE
  • user_type (유저 유형) — USER_TYPE
  • user_state (유저 상태) — USER_STATE
  • phone (휴대폰 번호) — text
  • business_name (사업장명) — text
  • business_manager (담당자명) — text
  • business_file (사업자 등록증 파일) — File
  • backgroun_image (배경 사진) — Image