새싹톤 erd
테이블 (8)
Consult (상담테이블)
- ConsultId (Key) — bigInt — 기본 키 — NOT NULL
- description (Field) — varchar(255)
- number (Field2) — Integer
- title (Field3) — varchar(255)
- url (Field4) — varchar(255)
HashTag (category다대다매핑)
- HashTagId (Key) — BigInt — 기본 키 — NOT NULL
- ProductId (Key2) — BigInt — 외래 키 → product.ProductId — NOT NULL
- NoiseName (Field) — varchar(255)
Health (건강챙기기)
- healthId (Key) — BigInt — 기본 키 — NOT NULL
- createAt (Field) — LocalDateTime
- updateAt (Field2) — LocalDateTime
- imageUrl (Field3) — varchar(255)
- title (Field4) — varchar(255)
HealthList (건강리스트)
- ListId (Key) — BigInt — 기본 키 — NOT NULL
- content (Field) — varchar(255)
- healthId (Key2) — BigInt — 외래 키 → Health.healthId — NOT NULL
Noise (소음분류)
- noiseId (Key) — BigInt — 기본 키 — NOT NULL
- noiseName (Field) — varchar2 — 계층형쿼리로 구현
- depth (Field3) — Long
- createAt (Field5) — DateTime
- updateAt (Field6) — DateTime
- engName (Field4) — varchar(255)
- korName (Field7) — varchar(255)
- parentId (Key2) — BigInt — 외래 키 → Noise.noiseId — NOT NULL
NoiseContent (소음해결방안)
- noiseConId (Key) — BigInt — 기본 키 — NOT NULL
- content (Field) — varchar(255) — 해결방안
- contentUrl (Field2) — varchar(255)
- subTitle (Field3) — varchar(255)
- imageUrl (Field4) — varchar(255)
- noiseId (Key2) — BigInt — 외래 키 → Noise.noiseId — NOT NULL
product (상품 테이블)
- ProductId (Key) — BigInt — 기본 키 — NOT NULL
- productName (Field) — varchar(255)
- description (Field2) — varchar(255)
- imageUrl (Field3) — varchar(255)
- hashName (Field4) — varchar(255)
- imageLink (Field5) — varchar(255)
소음분석 (Data Table)
- dataId (Key) — BigInt — 기본 키 — NOT NULL
- createAt (Field3) — DateTime
- updateAt (Field4) — DateTime
- analysisData (Field2) — varchar(255)
- bell (Field) — Double
- status (Field5) — varchar(255)
- title (Field6) — varchar(255)
- username (Field7) — varchar(255)