Scannect

Tables (8)

Untitled (card_list)

  • Key (id) — bigint — Primary key — NOT NULL — auto_increment
  • 아이디 (user_id) — bigint — Foreign key → user.아이디 — NOT NULL — 저장하는 사용자
  • 식별아이디 (card_id) — bigint — Foreign key → my_cards.식별아이디 — NOT NULL — 저장할 카드
  • Field2 (favorite) — boolean — NOT NULL — 중요 인물
  • Field (memo) — varchar(100) — 메모
  • Field (is_active) — boolean — NOT NULL — 0:숨기기, 1:활성화
  • Field (created_at) — datetime(6) — NOT NULL — 생성일시
  • Field (updated_at) — datetime(6) — 수정일시

Untitled (qr)

  • Key (id) — bigint — Primary key — NOT NULL — auto_increment
  • 식별아이디 (card_id) — bigint — Foreign key → my_cards.식별아이디 — NOT NULL — 명함 아이디
  • Field (token) — bigint — NOT NULL — 토큰 아이디
  • Field (created_at) — datetime(6) — NOT NULL — 생성일시
  • Field (updated_at) — datetime(6) — 수정일시
  • Field (expires_at) — datetime(6) — 유효기간

Untitled (card_exchange)

  • Key (id) — bigint — Primary key — NOT NULL — auto_increment
  • 식별아이디 (sending_card) — bigint — Foreign key → my_cards.식별아이디 — NOT NULL — 보낸 카드
  • 아이디 (sender_id) — bigint — Foreign key → user.아이디 — NOT NULL — 보낸 유저 아이디
  • 아이디 (receiver_id) — bigint — Foreign key → user.아이디 — NOT NULL — 받은 유저 아이디
  • Field3 (exchanged_at) — datetime(6) — NOT NULL — 교환일시
  • Field (status) — enum — NOT NULL — 요청 대기, 수락, 거절

Untitled (ocr_scan)

  • Key (id) — bigint — Primary key — NOT NULL — auto_increment
  • 아이디 (user_id) — bigint — Foreign key → user.아이디 — NOT NULL — 저장하는 유저 아이디
  • Field (img) — varchar(200) — NOT NULL — 이미지
  • Field2 (extracted_text) — text — NOT NULL — 추출 텍스트
  • Field (processed_data) — json — NOT NULL — 가공 데이터
  • Field (status) — enum — NOT NULL — 시작, 추출중, 완료
  • Field (created_at) — datetime(6) — NOT NULL — 생성일시

Untitled (url)

  • Key (id) — bigint — Primary key — NOT NULL — auto_increment
  • 식별아이디 (card_id) — bigint — Foreign key → my_cards.식별아이디 — NOT NULL — auto_increment
  • Field2 (url) — varchar(500) — URL
  • Field (created_at) — datetime(6) — NOT NULL — 생성일시
  • Field (updated_at) — datetime(6) — NOT NULL — 수정일시

my_cards (card)

  • 식별아이디 (id) — bigint — Primary key — NOT NULL — auto_increment
  • 유저 아이디 (user_id) — bigint — Foreign key → user.아이디 — NOT NULL — 유저 아이디
  • 이름 (card_name) — varchar(100) — NOT NULL — 명함별 이름 입력
  • 이메일 (email) — varchar(100) — 이메일
  • 직업 (job) — varchar(100) — 직업/직무
  • Field (industry) — varchar(100) — 업종
  • 소속 (belong_to) — varchar(100) — 회사 또는 학교 소속
  • 부서 (department) — varchar(100) — 부서
  • 직책 (position) — varchar(100) — 직급
  • 자기소개 (content) — text — 자기소개
  • 회사 번호 (company_tel) — varchar(20) — 회사전화번호
  • 폰번호 (phone_num) — varchar(20) — 폰 번호
  • 프로필 사진 (img_url) — varchar(255) — 이미지 URL
  • Field (colour) — varchar(7) — NOT NULL — HEX 코드(명함색상)
  • Field (is_active) — boolean — NOT NULL — 0: 숨기기, 1: 활성화
  • Field (created_at) — datetime(6) — NOT NULL — 생성일시
  • Field (updated_at) — datetime(6) — 수정일시
  • Field (is_main) — boolean — NOT NULL — 메인 카드

user

  • 아이디 (id) — bigint — Primary key — NOT NULL — 아이디
  • 비밀번호 (password) — varchar(20) — NOT NULL — 비밀번호
  • 이름 (name) — varchar(100) — NOT NULL — 실명
  • 생성일시 (created_at) — datetime(6) — NOT NULL — 생성일시
  • 수정일시 (updated_at) — datetime(6) — 수정일시

user_location

  • Key (id) — bigint — Primary key — NOT NULL — auto_increment
  • 아이디 (user_id) — bigint — Foreign key → user.아이디 — NOT NULL — 유저 위치
  • Field (latitude) — decimal(10,7) — NOT NULL — 위도
  • Field (longtitude) — decimal(10,7) — NOT NULL — 경도
  • Field (created_at) — datetime(6) — NOT NULL — 생성일시
  • Field (updated_at) — datetime(6) — NOT NULL — 수정일시
  • Field (is_active) — enum — NOT NULL