cocktail_library

Tables (6)

banner (배너정보)

  • id (아이디) — long — Primary key — NOT NULL
  • file_id (파일 아이디) — long — Foreign key → file.id — NOT NULL
  • title (배너타이틀) — String
  • src (배너 연결주소) — String
  • order (배너순서) — Integer

cocktail (칵테일)

  • id (아이디) — long — Primary key — NOT NULL
  • uesr_id (업로드 유저아이디) — long — Foreign key → user.uesr_id — NOT NULL
  • file_id (파일아이디) — long — Foreign key → file.id — NOT NULL
  • cocktail_name (칵테일이름) — String
  • proof (도수) — float
  • glass (잔) — String
  • method (기법) — String
  • garnish (가니시) — String
  • description (설명) — String
  • status (등록상태) — String

cocktail_ingredient (칵테일재료)

  • id (Key) — long — Primary key — NOT NULL
  • cocktail_id (칵테일 아이디) — long — Foreign key → cocktail.id — NOT NULL
  • ingredient_id (재료 아이디) — long — Foreign key → ingredient.id — NOT NULL
  • volume (용량) — Double
  • unit (단위) — String

file (파일)

  • id (아이디) — long — Primary key — NOT NULL
  • uploader (유저 아이디) — long — Foreign key → user.uesr_id — NOT NULL
  • file_name (파일이름) — String
  • file_path (파일경로) — String
  • file_size (파일크기) — long
  • file_type (파일 유형) — String
  • created_at (업로드 시간) — LocalDateTime

ingredient (재료)

  • id (아이디) — long — Primary key — NOT NULL
  • file_id (이미지 파일) — long — Foreign key → file.id — NOT NULL
  • name (이름) — String
  • en_name (영문 이름) — String
  • category (카테고리) — String
  • description (설명) — String
  • status (저장상태) — String

user (유저)

  • uesr_id (유저 아이디) — long — Primary key — NOT NULL
  • nick_name (닉네임) — String
  • emaul (이메일) — String
  • password (비밀번호) — String
  • role (회원등급) — String