BE8-2

Tables (7)

ClothInfo (Untitled)

  • id (Key) — Integer — Primary key — NOT NULL — 아이디
  • clothName (Field) — String — NOT NULL — 의류 이름
  • imgeUrl (Field2) — String — NOT NULL — 이미지 url
  • category (Field3) — String — NOT NULL — 카테고리 (enum)
  • maxFeelsLike (Field4) — Double — NOT NULL — 최고 체감 기온
  • minFeelsLike (Field5) — Double — NOT NULL — 최저 체감 기온
  • material (Field6) — String — 소재 (enum)
  • style (Field7) — String — 스타일 (enum)
  • createDate (Field8) — LocalDateTime — NOT NULL — 생성일시
  • modifyDate (Field9) — LocalDateTime — NOT NULL — 수정일시

ClothRecommendationHistory (Untitled5)

  • id (Key) — Integer — Primary key — NOT NULL — 아이디
  • location (Field) — String — NOT NULL — 지역
  • date (Field2) — LocalDate — NOT NULL — 날짜
  • feelsLike (Field3) — Double — 체감온도
  • uvi (Field4) — Double — UVI
  • rain (Field5) — Double — 강수량
  • snow (Field6) — Double — 적설량
  • humidity (Field7) — Integer — 습도
  • windSpeed (Field8) — Double — 풍속
  • tempMin (Field9) — Double — 최저기온
  • tempMax (Field10) — Double — 최고기온
  • dailyTemperatureGap (Field11) — Double — 일교차
  • reviewdAt (Field12) — LocalDateTime — 리뷰 작성 시간
  • createDate (Field13) — LocalDateTime — NOT NULL — 생성일시
  • modifyDate (Field14) — LocalDateTime — NOT NULL — 수정일시
  • member (Key2) — Integer — Foreign key → Member.id — NOT NULL — 사용자 식별자
  • weatherInfo (id) — List<Integer> — Foreign key → WeatherInfo.id — NOT NULL — 날씨 정보 리스트
  • likedClothings (Key3) — List<Integer> — Foreign key → ClothInfo.id — NOT NULL — 추천 의류 리스트
  • dislikedClothings (Key4) — List<Integer> — Foreign key → ClothInfo.id — NOT NULL — 비추천 의류 리스트

History (Untitled4)

  • id (Key) — Integer — Primary key — NOT NULL — 아이디
  • path (Field) — String — NOT NULL — 접근 경로
  • userId (Field2) — String — 사용자 식별자
  • ipAddress (Field3) — String — NOT NULL — 사용자 IP
  • address (Field4) — String — 사용자 위치
  • createDate (Field5) — LocalDateTime — NOT NULL — 생성일시
  • modifyDate (Field6) — LocalDateTime — NOT NULL — 수정일시

Member (Untitled6)

  • id (Key) — Integer — Primary key — NOT NULL — 아이디
  • userId (Field) — String — NOT NULL — 로그인 ID
  • password (Field2) — String — NOT NULL — 비밀번호
  • email (Field3) — String — NOT NULL — 이메일
  • age (Field4) — Integer — NOT NULL — 나이
  • gender (Field5) — String — NOT NULL — 성별 (enum)
  • tendency (Field6) — String — NOT NULL — 추위 성향 (enum)
  • apiKey (Field7) — String — NOT NULL — API 키
  • createDate (Field8) — LocalDateTime — NOT NULL — 생성일시
  • modifyDate (Field9) — LocalDateTime — NOT NULL — 수정일시

Review (Untitled2)

  • id (Key) — Integer — Primary key — NOT NULL — 아이디
  • member_id (Key2) — Integer — Foreign key → Member.id — 회원 아이디
  • email (Field) — String — NOT NULL — 이메일
  • password (Field2) — String — NOT NULL — 비밀번호
  • title (Field3) — String — NOT NULL — 제목
  • sentence (Field4) — String — NOT NULL — 본문
  • tagString (Field5) — String — 태그
  • imageUrl (Field6) — String — 이미지 URL
  • weatherInfo_id (id) — Integer — Foreign key → WeatherInfo.id — NOT NULL — 날씨 정보 아이디
  • createDate (Field7) — LocalDateTime — NOT NULL — 생성일시
  • modifyDate (Field8) — LocalDateTime — NOT NULL — 수정일시

ReviewClothInfo (Untitled3)

  • id (Key) — Integer — Primary key — NOT NULL — 아이디
  • isRecommend (Field) — Boolean — NOT NULL — 추천 여부
  • review_id (Key2) — Integer — Foreign key → Review.id — NOT NULL — 리뷰 아이디
  • clothInfo_id (Key3) — Integer — Foreign key → ClothInfo.id — NOT NULL — 의류 정보 아이디
  • createDate (Field2) — LocalDateTime — NOT NULL — 생성일시
  • modifyDate (Field3) — LocalDateTime — NOT NULL — 수정일시

WeatherInfo (weather_info)

  • id — Integer — Primary key — NOT NULL — 아이디
  • weather — String — NOT NULL — 날씨 (enum)
  • description — String — 날씨 설명
  • dailyTemperatureGap (daily_temperature_gap) — Double — NOT NULL — 일교차 (˚)
  • feelsLikeTemperature (feels_like_temperature) — double — NOT NULL — 체감 온도 (˚)
  • maxTemperature (max_temperature) — double — NOT NULL — 최고 온도 (˚)
  • minTemperature (min_temperature) — double — NOT NULL — 최저 온도 (˚)
  • pop — double — 강수 확률 (0.0-1.0)
  • rain — double — 강수량 (mm)
  • snow — double — 적설량 (mm)
  • humidity — Integer — 습도 (0-100%)
  • windSpeed (wind_speed) — double — 풍속 (m/s)
  • windDeg (wind_deg) — Integer — 풍향 (0-360˚)
  • uvi — double — 자외선 지수
  • location — LocalDate — NOT NULL — 지역
  • createDate (create_date) — LocalDateTime — NOT NULL — 생성일시
  • modifyDate (modify_date) — LocalDateTime — NOT NULL — 수정일시