올수거

테이블 (5)

수거신청 (waste_resource_collect)

  • 수거신청 아이디 (waste_resource_collect_id) — int — 기본 키 — NOT NULL — 수거 신청서 인덱스
  • 유저 아이디 (user_id) — string — 외래 키 → 유저.유저 아이디 — NOT NULL — 회원 가입하는 유저의 아이디
  • 폐자원 아이디 (waste_resource_id) — int — 외래 키 → 폐자원 정보.폐자원 아이디 — NOT NULL — 수거 폐자원의 아이디
  • 수거신청 첨부 사진 (waste_resource_collect_file_path) — array — 수거요청하는 품목의 사진 파일 경로 최대 10개
  • 수거신청 주소지 (waste_resource_collect_address) — string — NOT NULL — 주소 검색을 통해 변경 가능
  • 수거신청 상세주소지 (waste_resource_collect_address_detail) — string — NOT NULL — 주소 검색을 통해 변경 가능
  • 요청사항 (waste_resource_collect_request) — string — 상세 요청사항 별도 기입란
  • 수거신청일(시작) (waste_resource_collect_start_period) — date — NOT NULL — 시작일 달력을 통해 지정 / 종료일보다 늦을 수 없음
  • 수거신청일(종료) (waste_resource_collect_end_period) — date — NOT NULL — 달력을 통해 지정 / 시작일보다 빠를 수 없음
  • 수거시간(오전) (waste_resource_collect_morning) — boolean — NOT NULL — 오전 오후 체크
  • 수거시간(오후) (waste_resource_collect_after_noon) — boolean — NOT NULL — 오전 오후 체크
  • 알람 발송 범위 (waste_resource_collect_alarm_area) — int — 수거 신청 푸쉬알람 전송 범위
  • Field

알람 (alarm)

  • 알람 아이디 (alarm_id) — int — 기본 키 — NOT NULL — 알람 내용 아이디
  • 유저 아이디 (user_id) — string — 외래 키 → 유저.유저 아이디 — NOT NULL — 회원 가입하는 유저의 아이디
  • 알람 내용 (alarm_content) — string — NOT NULL — 알람 메세지 내용
  • 알람 날짜 (alarm_date) — date — NOT NULL — 알람 메세지 발송일
  • 알람 체크 (alarm_check) — boolean — 알람 확인 여부 체크

유저 (user)

  • 유저 아이디 (user_id) — string — 기본 키 — NOT NULL — 회원 가입하는 유저의 아이디
  • 가입한 회원의 유형 (user_type) — int — NOT NULL — 0 : 수거 이용자 1: 배출 이용자
  • 유저 비밀번호 (user_password) — string — NOT NULL — 유저의 로그인에 사용할 비밀번호
  • 유저 전화번호 (user_phone) — string — NOT NULL — 유저의 전화번호
  • 유저의 이름 (user_name) — string — NOT NULL — 유저의 이름
  • 유저의 주소 (user_address) — string — NOT NULL — 유저의 실제 거주 주소
  • 유저의 주소 상세 (user_address_detail) — string — NOT NULL — 유저의 상세 주소
  • 회원가입일 (user_registration_date) — date — NOT NULL — 유저 회원가입일
  • 사업자 구분 (user_category) — int — NOT NULL — 0 : 비사업자 1: 사업자
  • 회사명 (user_company_name) — string — 사업자인 경우 회사명 사업자등록증과 일치할 것
  • 사업자등록번호 (user_company_code) — string — 사업자등록증 상 사업자등록번호
  • 사업자등록증 (user_company_registration) — string — 사업자등록증 파일 저장 경로

폐자원 수량 정보 (amount_of_waste_resource)

  • 수거신청 아이디 (waste_resource_collect_id) — int — 외래 키 → 수거신청.수거신청 아이디 — NOT NULL — 수거 신청서 인덱스
  • 폐지 (amount_of_waste_resource_paper) — int
  • 고철 / 비철 (amount_of_waste_resource_metal) — int
  • 알루미늄 (amount_of_waste_resource_aluminum) — int
  • 캔 (amount_of_waste_resource_can) — int
  • 유리 (amount_of_waste_resource_glass) — int
  • 고무 (amount_of_waste_resource_rubber) — int
  • 플라스틱 (amount_of_waste_resource_plastic) — int
  • 비닐 (amount_of_waste_resource_vinyl) — int
  • 섬유 / 천 (amount_of_waste_resource_fiber) — int
  • 폐전선 (amount_of_waste_resource_wire) — int
  • 동 (amount_of_waste_resource_copper) — int
  • 신주 (amount_of_waste_resource_recycled_metal) — int
  • 폐목재 (amount_of_waste_resource_wood) — int
  • 폐타이어 (amount_of_waste_resource_tire) — int
  • 폐콘크리트 (amount_of_waste_resource_concrete) — int
  • 스티로폼 (amount_of_waste_resource_styrofoam) — int
  • 기타 폐기물 (amount_of_waste_resource_etc) — int — 기타 폐기물 직접 입력
  • 고상 지정폐기물 (amount_of_waste_resource_solid) — int
  • 액상 지정폐기물 (amount_of_waste_resource_liquid) — int
  • 철거 (amount_of_waste_resource_demolition) — int

폐자원 정보 (waste_resource)

  • 폐자원 아이디 (waste_resource_id) — int — 기본 키 — NOT NULL — 수거 폐자원의 아이디
  • 유저 아이디 (user_id) — string — 외래 키 → 유저.유저 아이디 — NOT NULL — 회원 가입하는 유저의 아이디 아이디와 회원 유형 참조하여 수거 / 배출 구분할 것
  • 가입한 회원의 유형 (user_type) — int — 외래 키 → 유저.유저 아이디 — NOT NULL — 0 : 수거 이용자1: 배출 이용자
  • 폐지 (waste_resource_paper) — boolean
  • 고철 / 비철 (waste_resource_metal) — boolean
  • 알루미늄 (waste_resource_aluminum) — boolean
  • 캔 (waste_resource_can) — boolean
  • 유리 (waste_resource_glass) — boolean
  • 고무 (waste_resource_rubber) — boolean
  • 플라스틱 (waste_resource_plastic) — boolean
  • 비닐 (waste_resource_vinyl) — boolean
  • 섬유 / 천 (waste_resource_fiber) — boolean
  • 폐전선 (waste_resource_wire) — boolean
  • 동 (waste_resource_copper) — boolean
  • 신주 (waste_resource_recycled_metal) — boolean
  • 폐목재 (waste_resource_wood) — boolean
  • 폐타이어 (waste_resource_tire) — boolean
  • 폐콘크리트 (waste_resource_concrete) — boolean
  • 스티로폼 (waste_resource_styrofoam) — boolean
  • 기타 폐기물 (waste_resource_etc) — string — 기타 폐기물 직접 입력
  • 고상 지정폐기물 (waste_resource_solid) — boolean
  • 액상 지정폐기물 (waste_resource_liquid) — boolean
  • 철거 (waste_resource_demolition) — boolean
  • 요청사항 (waste_resource_request) — string — 기타 요청사항을 별도로 기입함