aspis-be
Tables (10)
animals (동물 목록)
- animal_id (동물 고유 ID) — PK — Primary key — NOT NULL
- breed_id (견종 ID) — PK — Foreign key → breed.breed_id — NOT NULL
- helper_id (대부대모 ID) — PK — Foreign key → helper.helper_id — NOT NULL
- animal_name (동물 고유 이름) — NOT NULL
- admission_date (보호소 입소일) — NOT NULL
- animal_sex (성별) — NOT NULL
- animal_status (동물 보호 상태) — NOT NULL
- is_ neutered (중성화 여부) — NOT NULL
- profile_url (애견 대표 사진) — NOT NULL
- is_vaccinated (필수 예방접종 여부) — NOT NULL
- Key — NOT NULL
breed (견종)
- breed_id (견종 ID) — PK — Primary key — NOT NULL
- breed_name (견종 이름) — NOT NULL
- breed_size (견종의 크기) — NOT NULL
donation_usage (기부내역)
- usage_id (사용내역 ID) — PK — Primary key — NOT NULL
- description (사용 상세) — NOT NULL
- usage_date (사용일시) — NOT NULL
- usage_amount (사용 금액) — NOT NULL
- usage_recept (사용내역 영수증) — NULL
email : redis (사용자 초대)
- invite_id (초대 ID) — PK — Primary key — NOT NULL
- invite_email (초대 EMAIL) — NOT NULL
helper (대부/대모)
- helper_id (대부대모 ID) — PK — Primary key — NOT NULL
- helper_name (대부대모 이름) — NOT NULL
photo (사진)
- photo_id (사진 ID) — PK — Primary key — NOT NULL
- animal_id (동물 고유 ID) — Foreign key → animals.animal_id — NOT NULL
- url (사진 URL)
popular_statistics : redis (통계)
- statistics_id (통계 ID) — PK — Primary key — NOT NULL
users (사용자)
- user_id (사용자 고유 ID) — PK — Primary key — NOT NULL
- user_name (사용자 이름) — NOT NULL
- user_email (사용자 이메일) — NOT NULL
- user_authority (사용자 권한) — NOT NULL
- user_password (사용자 비밀번호) — NOT NULL
weight (몸무게 기록)
- measure_id (측정 ID) — PK — Primary key — NOT NULL
- animal_id (동물 고유 ID) — NOT NULL — Foreign key → animals.animal_id — NOT NULL
- value (몸무게 값) — NOT NULL