test

Tables (21)

tb_actor

  • idx — int(11) — Primary key — NOT NULL — 성우 IDX
  • actor_id — varchar(500) — 타입캐스트 actor id
  • actor_name — varchar(50) — 타입캐스트 성우 이름
  • actor_keyword — varchar(1000) — 타입캐스트 성우 키워드
  • actor_image_path — varchar(500)

tb_actor_emotion

  • idx — int(11) — Primary key — NOT NULL — 성우 감정 IDX
  • actor_idx — int(11) — Foreign key → tb_actor.idx — NOT NULL — 성우 IDX
  • emotion_id — int(11) — NOT NULL — 타입캐스트 성우 감정 id
  • emotion_name — varchar(50) — NOT NULL — 타입캐스트 성우 감정 이름
  • emotion_wav — varchar(50) — NOT NULL — 타입캐스트 성우 감정 미리 듣기

tb_center

  • idx — int(11) — Primary key — NOT NULL — 센터 idx
  • company_idx — int(11) — Foreign key → tb_company.idx — NOT NULL — 회사 idx
  • center_name — varchar(50) — NOT NULL — 센터 이름
  • use_yn — tinyint(1) — NOT NULL — 사용여부
  • created_at — timestamp — 생성 날짜

tb_code

  • code — char(6) — Primary key — NOT NULL — 코드
  • name — varchar(20) — NOT NULL — 코드명
  • group_code — char(2) — NOT NULL — 그룹코드
  • desc — varchar(50) — 기타
  • enabled — tinyint(1) — 사용 여부

tb_company

  • idx — int(11) — Primary key — NOT NULL — 회사 IDX
  • company_name — varchar(50) — 화시명
  • use_yn — tinyint(1) — 사용 여부
  • created_at — timestamp — 만들어진 날짜

tb_education

  • idx — int(11) — Primary key — NOT NULL — 교육 IDX
  • center_idx — int(11) — Foreign key → tb_center.idx — NOT NULL — 센터 IDX
  • education_title — varchar(1000) — 교육명
  • education_desc — varchar(5000) — 교육 설명
  • education_status — char(6) — NOT NULL — 교육 상태 ESXXXX
  • complete_yn — tinyint(1) — NOT NULL — tts 변환 완료 여부
  • convert_status — char(6) — NOT NULL
  • created_at — timestamp — 교육 등록 일시
  • completed_at — timestamp — tts 변환 완료 일시
  • started_at — timestamp — 시작 일시
  • ended_at — timestamp — 종료 일시

tb_education_call_history

  • idx — int(11) — Primary key — NOT NULL — 상담 히스토리 IDX
  • script_case_idx — int(11) — 해당 교육 스크립트 케이스 key 값
  • member_idx — int(11) — 교육생 IDX
  • phone_number — varchar(50) — NOT NULL — 고객번호
  • education_title — varchar(100) — NOT NULL — 교육 타이틀
  • sip_id — varchar(50) — NOT NULL — 봇 ID
  • progress — int(11) — 진행률
  • wav_dir — varchar(300) — 녹음 파일 위치
  • connect_time — datetime
  • end_time — datetime
  • analysis_status — char(6) — NOT NULL — 분석 상태 (위스퍼)
  • complete_yn — tinyint(1) — 위스퍼 처리 여부
  • reg_dt — timestamp

tb_education_call_history_detail

  • idx — int(11) — Primary key — NOT NULL — 상담 히스토리 상세 IDX
  • call_history_idx — int(11) — Foreign key → tb_education_call_history.idx — 상담 히스토리 IDX
  • sip_id — varchar(50) — sip id
  • scenario_seq — varchar(50) — 시나리오 상세 순서
  • type — varchar(10) — bot / person
  • txt — varchar(8000) — html로 작성된 텍스트결과
  • voice_txt — varchar(8000) — 실제 음성내용
  • voice_onset_time — varchar(12) — 봇/사람 음성이 시작된 시간
  • score — int(10) — NOT NULL — 발화 점수
  • stt_complete — tinyint(1) — NOT NULL — stt(위스퍼)처리
  • eval_flag — tinyint(1) — NOT NULL — 평가 문장 플래그
  • create_time — datetime

tb_education_call_history_detail_eval

  • idx — int(11) — Primary key — NOT NULL — 평가 점수 테이블
  • call_history_detail_idx — int(11) — Foreign key → tb_education_call_history_detail.idx — 평가된 문장 IDX
  • eval_title — varchar(100) — 평가 항목 이름
  • eval_order — int(11) — 평가 항목 순서
  • eval_score — int(11) — 평가 항목 점수
  • eval_content — varchar(3000) — 평가 항목 설명

tb_education_member

  • idx — int(11) — Primary key — NOT NULL — 교육 맴버 IDX
  • education_idx — int(11) — Foreign key → tb_education.idx — 교육 IDX
  • member_idx — int(10) — Foreign key → tb_member.idx — 맴버 IDX
  • use_yn — tinyint(4) — NOT NULL — 사용 여부
  • created_at — timestamp — NOT NULL — 등록 일시
  • modified_at — timestamp

tb_education_script

  • idx — int(11) — Primary key — NOT NULL — 교육 스크립트 IDX
  • education_idx — int(11) — Foreign key → tb_education.idx — NOT NULL — 교육 IDX
  • script_idx — int(11) — Foreign key → tb_script.idx — NOT NULL — 스크립트 IDX
  • emotion_idx — int(11) — Foreign key → tb_actor_emotion.idx — NOT NULL
  • education_script_title — varchar(1000) — 교육 스크립트 제목
  • education_script_seq — int(11) — NOT NULL — 교육 내 스크립트 순서
  • start_greet_script — varchar(5000) — 인사말
  • end_greet_script — varchar(5000) — 맺음말

tb_education_script_case

  • idx — int(11) — Primary key — NOT NULL — 스크립트 케이스 idx
  • edu_script_idx — int(11) — Foreign key → tb_education_script.idx — 스크립트 idx
  • edu_script_case_title — varchar(50) — 스크립트 케이스 타이틀
  • edu_script_case_seq — int(11) — 스크립트 케이스 순서
  • edu_script_case_list — varchar(1000) — 스크립트 디테일 순서 리스트

tb_education_script_detail

  • idx — int(11) — Primary key — NOT NULL — 스크립트 상세 IDX
  • edu_script_idx — int(11) — Foreign key → tb_education_script.idx — NOT NULL — 스크립트 IDX
  • edu_script_detail_seq — int(11) — NOT NULL — 스크립트 상세 순서
  • edu_script_detail_case — varchar(1000) — NOT NULL — 스크립트 상세 케이스
  • edu_script_detail_gubun — varchar(1000) — NOT NULL — 상담사 / 고객 구분
  • edu_script_detail_contents — varchar(2000) — NOT NULL — 내용
  • wav_origin_contents — varchar(2000) — NOT NULL
  • wav — varchar(50) — wav 파일 위치
  • wav_len — float — wav 파일 음성 길이
  • timeline_txt — longtext
  • eval_flag — tinyint(1) — NOT NULL — 평가 문장 플래그
  • update_time — datetime
  • created_at — timestamp — NOT NULL — 스크립트 상세 생성 일자

tb_greet_script

  • idx — int(11) — Primary key — NOT NULL — 인사말 테이블
  • center_idx — int(11) — NOT NULL — 센터 IDX
  • type — varchar(50) — 인삿말 / 맺음말 (GT0001 / GT0002)
  • content — varchar(5000) — 내용
  • created_at — timestamp — 등록 일시

tb_member

  • idx — int(10) — Primary key — NOT NULL — 멤버(교육생 IDX)
  • center_idx — int(11) — Foreign key → tb_center.idx — 센터 IDX
  • username — varchar(20) — NOT NULL — 사용자ID
  • password — varchar(128) — NOT NULL — 비밀번호
  • name — varchar(64) — NOT NULL — 사용자명
  • use_yn — tinyint(1) — NOT NULL — 사용여부
  • created_at — timestamp — NOT NULL — 가입일시

tb_member_log

  • idx — int(11) — Primary key — NOT NULL — 로그 기록 IDX
  • member_idx — int(10) — NOT NULL — 교육생 IDX
  • ip_address — varchar(500) — NOT NULL — ip주소
  • login_access_at — datetime — 접속 일시

tb_script

  • idx — int(11) — Primary key — NOT NULL — 스크립트 폴더 IDX
  • center_idx — int(11) — Foreign key → tb_center.idx — NOT NULL — 센터 IDX
  • script_title — varchar(200) — NOT NULL — 스크립트 폴더 이름
  • created_at — timestamp — NOT NULL — 스크립트 폴더 생성 일자
  • modify_user_idx — int(11) — 스크립트 폴더 수정자
  • modified_at — timestamp — 수정 일시

tb_script_case

  • idx — int(11) — Primary key — NOT NULL — 스크립트 케이스 idx
  • script_idx — int(11) — Foreign key → tb_script.idx — 스크립트 idx
  • script_case_title — varchar(50) — 스크립트 케이스 타이틀
  • script_case_seq — int(11) — 스크립트 케이스 순서
  • script_case_list — varchar(50) — 스크립트 디테일 순서 리스트

tb_script_detail

  • idx — int(11) — Primary key — NOT NULL — 스크립트 상세 IDX
  • script_idx — int(11) — Foreign key → tb_script.idx — NOT NULL — 스크립트 IDX
  • script_detail_seq — int(11) — NOT NULL — 스크립트 상세 순서
  • script_detail_case — varchar(1000) — NOT NULL — 스크립트 상세 케이스
  • script_detail_gubun — varchar(1000) — NOT NULL — 상담사 / 고객 구분
  • script_detail_contents — varchar(2000) — NOT NULL — 내용
  • created_at — timestamp — NOT NULL — 스크립트 상세 생성 일자

tb_user

  • idx — int(11) — Primary key — NOT NULL — 관리자 idx
  • center_idx — int(11) — Foreign key → tb_center.idx — NOT NULL — 센터 IDX
  • username — varchar(20) — NOT NULL — 사용자ID
  • password — varchar(128) — NOT NULL — 비밀번호
  • name — varchar(64) — NOT NULL — 사용자명
  • phone — varchar(64) — NOT NULL — 전화번호
  • email — varchar(64) — NOT NULL — 이메일
  • role — varchar(16) — NOT NULL — 권한
  • approval_yn — tinyint(1) — 승인 여부
  • created_at — timestamp — NOT NULL — 가입일시

tb_user_log

  • idx — int(11) — Primary key — NOT NULL — 관리자 로그 기록 IDX
  • user_idx — int(10) — NOT NULL — 관리자 IDX
  • ip_address — varchar(500) — NOT NULL — ip주소
  • login_access_at — datetime — 접속 일시