aipm

테이블 (11)

결과물 테이블 (output)

  • id — integer — 기본 키 — NOT NULL
  • 프로젝트 id (project_id) — integer
  • 파일주소 (output_file) — varchar(100)
  • 파일제출단계 (file_type) — varchar(20)
  • 파일 버전 (version) — integer
  • 설명 (description) — text
  • 업로드일시 (uploaded_at) — timestamp with time zone

계약서 테이블 (contract)

  • id — integer — 기본 키 — NOT NULL
  • 프로젝트id (project_id) — integer
  • 생성일 (created) — timestamp with time zone
  • 수정일 (updated) — timestamp with time zone
  • 설명 (description) — text
  • 계약상태 (contract_status) — varchar(20)

계약자 테이블 (contract_party)

  • id — integer — 기본 키 — NOT NULL
  • 계약id (contract_id) — integer
  • 유저id (user_id) — integer
  • 유저 타입 (role) — varchar(20)
  • 계약 여부 (is_signed) — boolean
  • 계약 일자 (signed_at) — timestamp with time zone

레퍼런스 이미지 테이블 (reference_image)

  • id — integer — 기본 키 — NOT NULL
  • 프로젝트id (project_id) — integer
  • 파일명 (image_file) — varchar(100)
  • 파일주소 (image_url) — varchar(200)
  • 설명 (description) — text

유저 테이블 (custom_user)

  • id — integer — 기본 키 — NOT NULL
  • 패스워드 (password) — varchar(128)
  • 관리자여부 (is_superuser) — boolean
  • 이메일 (email) — varchar(254)
  • 닉네임 (nickname) — varchar(30)
  • 유저 타입 (role) — varchar(20)
  • 생성일 (created) — timestamp with time zone
  • 수정일 (updated) — timestamp with time zone

키워드 테이블 (keyword)

  • id — integer — 기본 키 — NOT NULL
  • name — varchar(50)

프로젝트 상세 테이블 (project_details)

  • id — integer — 기본 키 — NOT NULL
  • 프로젝트id (project_id) — integer
  • 회사명 (company_name) — varchar(255)
  • 회사소개서 (company_intro_link) — varchar(200)
  • 프로젝트 종류 (project_type) — varchar(50)
  • 아웃풋 납품 형태 (output_status) — varchar(20)
  • 프로젝트 상세 산출물 (output_detail) — text
  • 저작권 관련 사항 (copyright_status) — varchar(20)
  • 기타 요청사항 (other_requests) — text
  • 대외비 여부 (is_confidential) — boolean
  • 포트폴리오 사용여부 (is_portfolio_allowed) — boolean
  • 견적서 필요여부 (is_estimate_required) — boolean
  • 하자보수 요청 여부 (is_maintenance_requested) — boolean

프로젝트 유저 테이블 (project_user)

  • id — integer — 기본 키 — NOT NULL
  • 프로젝트id (project_id) — integer
  • 유저id (user_id) — integer
  • 참여일시 (joined_at) — timestamp with time zone
  • is_active — boolean

프로젝트 카테고리 테이블 (category)

  • id — integer — 기본 키 — NOT NULL
  • 카테고리명 (name) — varchar(100)

프로젝트 키워드 테이블 (project_keywords)

  • id — integer — 기본 키 — NOT NULL
  • 프로젝트id (project_id) — integer
  • 키워드id (keyword_id) — integer

프로젝트 테이블 (project)

  • id — integer — 기본 키 — NOT NULL
  • 프로젝트명 (name) — varchar(255)
  • 프로젝트 상태 설명 (description) — text
  • 프로젝트 카테고리 (category_id) — integer
  • 프로젝트 상태 (project_status) — varchar(20)
  • 기한 (deadline) — timestamp with time zone
  • 예산 (budget) — numeric(10,2)
  • 노출여부 (visibility) — boolean
  • 생성일 (created) — timestamp with time zone
  • 수정일 (updated) — timestamp with time zone
  • 클라이언트id (owner_id) — integer
  • 시작일 (start_date) — date
  • 종료일 (end_date) — date