busan hackathon
Tables (6)
checklist (체크리스트)
- 내부 PK (checkId) — BIGINT — Primary key — NOT NULL
- 내부 PK (id) — BIGINT — Foreign key → users.내부 PK — NOT NULL
- PDF (pdfUrl) — VARCAHR(255)
- 체크리스트 (checklistJson) — JSON
- 생성일 (createdAt) — TIMESTAMP
- 수정일 (updatedAt) — TIMESTAMP
landloadTrust (임대인 신뢰도)
- 내부 PK (landloadTrustId) — BIGINT — Primary key — NOT NULL
- 내부 PK (landloadId) — BIGINT — Foreign key → landloads.내부 PK — NOT NULL
- 신뢰도 점수 (trustScore) — BIGINT
- 대위변제 건수 (subrogationCount) — BIGINT
- 채납/미납 건수 (arrearsCount) — BIGINT
- 분쟁/소송 건수 (litigationCount) — BIGINT
- 보유 미분양수 (ownedUnsoldCount) — BIGINT
- 생성일 (createdAt) — TIMESTAMP
- 수정일 (updateAt) — TIMESTAMP
landloads (임대인)
- 내부 PK (landloadId) — BIGINT — Primary key — NOT NULL
- 임대인 이름 (name) — VARCHAR(25)
- 사업자번호(해시 값) (mormalizedKey) — VARCAHR(100)
- 생성일 (createdAt) — TIMESTAMP
- 수정일 (updateAt) — TIMESTAMP
places (장소)
- 내부 PK (placesId) — BIGINT — Primary key — NOT NULL
- 내부 PK (landloadId) — BIGINT — Foreign key → landloads.내부 PK — NOT NULL
- 도로명 주소 (address) — VARCHAR(255)
- 우편번호 (postCode) — VARCAHR(25)
- 위치키 (geohash) — VARCAHR(12)
- 위도 (lat) — DECIMAL(10,7)
- 경도 (lng) — DECIMAL(10,7)
- 생성일 (createdAt) — TIMESTAMP
- 수정일 (updateAt) — TIMESTAMP
risk (위험도)
- 내부 PK (riskId) — BIGINT — Primary key — NOT NULL
- 위치 키 (geokey) — VARCAHR(12)
- 집 타입 (houseType) — ENUM
- 전세금 하한 (depositMin) — BIGINT
- 전세금 상한 (depositMax) — BIGINT
- 면적 하한 (areaMin) — BIGINT
- 면적 상한 (areaMax) — BIGINT
- 최종 위험 점수 (riskScore) — BIGINT
- 요인1(전세가율) (jeonseRatioScore) — BIGINT
- 요인2(가격하락) (priceDropScore) — BIGINT
- 요인3(미분양) (unsoldScore) — BIGINT
- 요인4(PF위험) (pfRistScore) — BIGINT
- 요인5(법적리스크) (legalScore) — BIGINT
- 생성일 (createdAt) — TIMESTAMP
- 수정일 (updateAt) — TIMESTAMP
users (유저)
- 내부 PK (id) — BIGINT — Primary key — NOT NULL
- 이메일 (email) — VARCHAR(50)
- 닉네임 (nickname) — VARCHAR(50)
- 제공사 (provider) — VARCHAR(50)
- 제공사 아이디 (providerId) — VARCHAR(255)
- 중개사 인증 파일 (verifiationDocUrl) — VARCHAR(255)
- 인증 상태 (status) — ENUM
- 가입일 (createdAt) — TIMESTAMP
- 수정일 (updateAt) — TIMESTAMP