survey

Tables (6)

comm

  • comm_key — serial4 — Primary key — NOT NULL — 키
  • comm_cat — varchar — NOT NULL — 구분
  • comm_title — varchar — NOT NULL — 제목
  • comm_contents — varchar — NOT NULL — 내용
  • comm_hits — int4 — NOT NULL — 조회수
  • comm_create_date — date — NOT NULL — 생성일
  • comm_create_user — int4 — NOT NULL — 생성자
  • comm_create_group — int4 — 생성그룹
  • comm_is_notice — bool — 알림여부
  • comm_is_popup — bool — 팝업여부
  • comm_startdate — date — 팝업시작날짜
  • comm_enddate — date — 팝업끝날짜
  • system_dept_name — varchar — 시스템명

survey

  • survey_key — serial4 — Primary key — NOT NULL
  • survey_title — varchar(1000) — NOT NULL
  • create_date — timestamp — NOT NULL
  • update_date — timestamp — NOT NULL
  • comm_key (comm_key2) — serial4 — Foreign key → comm.comm_key — NOT NULL — 키

survey_answer

  • survey_answer_key — serial4 — Primary key — NOT NULL — 설문 답변 기본키
  • survey_item_key — int4 — NOT NULL — 설문 문항 기본키
  • item_no_text — varchar(30) — 응답 당시 표시용 문항 번호
  • answer_text — text — 사용자 답변
  • etc_answer — text — 기타 작성 답변
  • comm_create_date — timestamp — NOT NULL — 답변 등록일시
  • survey_response_key (survey_response_key2) — serial4 — Foreign key → survey_response.survey_response_key — NOT NULL — 설문 응답 기본키

survey_item

  • survey_item_key — serial4 — Primary key — NOT NULL
  • item_no_text — varchar(30) — NOT NULL — 표시용 문항 번호. 예: 2, 2-1, 5-10
  • item_title — varchar(1000) — NOT NULL
  • description — varchar(2000)
  • item_type — varchar(30) — NOT NULL — TITLE, TEXT, TEXTAREA, RADIO, RADIO_ETC, CHECKBOX, CHECKBOX_ETC
  • parent_item_no — varchar(30) — 상위 문항의 표시 번호
  • sort_order — int4 — NOT NULL
  • is_required — bool — NOT NULL
  • has_etc — bool — NOT NULL
  • etc_placeholder — varchar(500)
  • create_date — timestamp — NOT NULL
  • update_date — timestamp — NOT NULL
  • survey_key (survey_key2) — serial4 — Foreign key → survey.survey_key — NOT NULL

survey_item_option

  • survey_item_option_key — serial4 — Primary key — NOT NULL
  • option_text — varchar(1000) — NOT NULL
  • sort_order — int4 — NOT NULL
  • create_date — timestamp — NOT NULL
  • update_date — timestamp — NOT NULL
  • survey_item_key (survey_item_key2) — serial4 — Foreign key → survey_item.survey_item_key — NOT NULL

survey_response

  • survey_response_key — serial4 — Primary key — NOT NULL — 설문 응답 기본키
  • users_key — int4 — NOT NULL — 응답 사용자 기본키
  • users_group — varchar(200) — NOT NULL — 응답 사용자 그룹
  • comm_create_date — timestamp — NOT NULL — 응답 등록일시
  • survey_key (survey_key2) — serial4 — Foreign key → survey.survey_key — NOT NULL