softeer-navisa
Tables (24)
agent_badge (행정사 배지)
- agent_badge_id (Key3) — Primary key — NOT NULL
- badge_id (배지 id) — long — Foreign key → badge.badge_id — NOT NULL
- agent_review_id (행정사 리뷰 id) — long — Foreign key → agent_review.agent_review_id — NOT NULL
- created_at (생성일시) — localDateTime — NOT NULL
- updated_at (수정일시) — localDateTime — NOT NULL
agent_badge_summary (행정사 배지 요약)
- agent_badge_summary_id (Key) — long — Primary key — NOT NULL
- agent_id (행정사 id) — uuid — Foreign key → agent_profile.agent_id — NOT NULL
- agent_badge_id (Key2) — long — Foreign key → badge.badge_id — NOT NULL
- count (해당 배지 개수) — int
- created_at (생성일시) — localDateTime — NOT NULL
- updated_at (수정일시) — localDateTime
agent_language (행정사 사용 가능 언어)
- id (Key) — long — Primary key — NOT NULL
- agent_id (행정사 id) — uuid — Foreign key → agent_profile.agent_id — NOT NULL
- language_id (언어 id) — long — Foreign key → language.language_id — NOT NULL
- created_at (Field) — localDateTime — NOT NULL
- updated_at (Field2) — localDateTime — NOT NULL
agent_profile (행정사 프로필)
- agent_id (Key) — uuid — Primary key — NOT NULL
- agent_name (행정사 이름) — varchar — NOT NULL
- agent_birth (행정사 생년월일) — localDate — NOT NULL
- profile_object_key (행정사 사진 저장소 url) — varchar — NOT NULL
- license_no (자격증 번호) — varchar
- licence_issued_at (자격증 발급 연원일) — localDate
- license_inner_page_no (자격증 내지 번호) — varchar
- license_management_no (자격증 관리 번호) — varchar
- agent_business_time (행정사 영업시간) — varchar — NOT NULL
- office_address (사무실 주소) — varchar — NOT NULL
- detail_address (사무실 상세 주소) — varchar — NOT NULL
- office_name (사무실 이름) — varchar — NOT NULL
- language_ids (사용 가능 언어 배열) — Array — NOT NULL
- agent_comment (행정사 한 마디) — varchar — NOT NULL
- additional_history (추가 이력) — TEXT
- updated_at (최근 수정일) — localDateTime — NOT NULL
- created_at (프로필 생성일) — localDateTime — NOT NULL
- user_id (회원 ID) — uuid — Foreign key → users.user_id — NOT NULL
- last_login_at (마지막 로그인 일시) — zonedDateTime — NOT NULL
- reconnected_at (재접속 유지 일시) — zonedDateTime — NOT NULL
agent_review (행정사의 수임 건에 대한 후기)
- agent_review_id (Key) — long — Primary key — NOT NULL
- agent_id (행정사id) — uuid — Foreign key → agent_profile.agent_id — NOT NULL
- foreigner_id (작성자id) — uuid — Foreign key → foreigner_profiles.foreigner_id — NOT NULL
- feedback_content (후기내용) — TEXT
- similarity_list (리뷰 작성 당시의 외국인 유사도 배열 정보) — ARRAY — NOT NULL
- job_code_id_list (리뷰 작성 당시의 외국인 유사도 배열의 job_code id 정보) — ARRAY — NOT NULL
- created_at (생성일시) — localDateTime — NOT NULL
- updated_at (수정일시) — localDateTime — NOT NULL
agent_specialized_job (행정사 특화 직무 코드)
- id (Key) — long — Primary key — NOT NULL
- agent_id (행정사 id) — varchar — Foreign key → agent_profile.agent_id — NOT NULL
- job_code_id (직무 코드 id) — int — Foreign key → job_code.job_code_id — NOT NULL
- created_at (생성일) — localDateTime — NOT NULL
- updated_at (수정일) — localDateTime — NOT NULL
agent_specialized_job_summary (행정사 특화 직종 코드 요약)
- agent_specialized_job_summary_id (Key) — Primary key — NOT NULL
- agent_id (행정사 프로필 id) — uuid — Foreign key → agent_profile.agent_id — NOT NULL
- job_code_id (직무 코드 id) — long — Foreign key → job_code.job_code_id — NOT NULL
- count (개수) — int — NOT NULL
- created_at (생성일시) — localDateTime — NOT NULL
- updated_at (수정일시) — localDateTime — NOT NULL
- accumulated_review_reliability (누적리뷰신뢰도) — double
badge (배지)
- badge_id (Key) — long — Primary key — NOT NULL
- badge_name (배지 이름) — ENUM
- created_at (생성일시) — localDateTime — NOT NULL
- updated_at (수정일시) — localDateTime — NOT NULL
chat_message (채팅 메세지)
- chat_message_id (Key) — long — Primary key — NOT NULL
- message_type (메시지 타입) — enum — NOT NULL
- content (내용) — String — NOT NULL
- sender_id (보낸 사람 프로필 id) — varchar — NOT NULL
- is_read_by_other (상대가 읽었는지 여부) — boolean — NOT NULL
- sent_at (발송시간) — zonedDateTime
- chat_room_id (채팅방 id) — int — Foreign key → chat_room.chat_room_id — NOT NULL
- created_at (생성 일시) — localDateTime — NOT NULL
- updated_at (수정 일시) — localDateTime — NOT NULL
chat_room (채팅방)
- chat_room_id (채팅방 id) — long — Primary key — NOT NULL
- status (채팅방 상태) — ENUM — NOT NULL
- last_chatted_at (마지막 채팅 작성 날짜) — zonedDateTime — NOT NULL
- updated_at (수정 일시) — localDateTime — NOT NULL
- created_at (생성 일시) — localDateTime — NOT NULL
- foreigner_id (외국인 id) — varchar — Foreign key → foreigner_profiles.foreigner_id — NOT NULL
- agent_id (행정사 id) — varchar — Foreign key → agent_profile.agent_id — NOT NULL
foreigner_ similarity (외국인 유사도)
- foreigner_similarity_id (Key) — long — Primary key — NOT NULL
- foreigner_id (Key2) — varchar — Foreign key → foreigner_profiles.foreigner_id — NOT NULL
- similarity_list (유사도 배열 저장 필드) — Array
- job_code_id_list (직종 코드 배열 저장 필드) — Array
- created_at (생성일시) — localDateTime — NOT NULL
- updated_at (수정일시) — localDateTime — NOT NULL
foreigner_careers (외국인 경력)
- career_id (Key) — long — Primary key — NOT NULL
- company_name (회사명) — varchar — NOT NULL
- job_title (직무명) — varchar — NOT NULL
- start_date (입사일) — date — NOT NULL
- end_date (퇴사일) — date — 재직중인 경우 null
- is_work (재직중 여부) — boolean — NOT NULL
- foreigner_id (외국인 프로필 id) — varchar — Foreign key → foreigner_profiles.foreigner_id — NOT NULL
- created_at (생성일시) — localDateTime — NOT NULL
- updated_at (수정일시) — localDateTime — NOT NULL
foreigner_education (외국인 학력)
- Key2 — long — Primary key — NOT NULL
- degree_level (학력) — ENUM — NOT NULL
- school_name (학교명) — varchar — NOT NULL
- major_name (전공명) — varchar — NOT NULL
- foreigner_id (외국인 프로필 id) — varchar — Foreign key → foreigner_profiles.foreigner_id — NOT NULL
- created_at (생성일시) — localDateTime — NOT NULL
- updated_at (수정일시) — localDateTime — NOT NULL
foreigner_expected_company (외국인 입사 예정 정보)
- expected_company_id (Key) — long — Primary key — NOT NULL
- company_name (회사명) — varchar — NOT NULL
- job_title (직무명) — varchar — NOT NULL
- start_date (입사일) — date — NOT NULL
- foreigner_id (외국인 프로필 id) — varchar — Foreign key → foreigner_profiles.foreigner_id — NOT NULL
- created_at (생성일시) — localDateTime — NOT NULL
- updated_at (수정일시) — localDateTime — NOT NULL
foreigner_language (외국인 사용 언어)
- id (Key) — long — Primary key — NOT NULL
- foreigner_id (외국인 id) — uuid — Foreign key → foreigner_profiles.foreigner_id — NOT NULL
- language_id (언어 id) — long — Foreign key → language.language_id — NOT NULL
- created_at (Field) — localDateTime — NOT NULL
- update_at (Field2) — localDateTime — NOT NULL
foreigner_nationality (외국인 국적 정보)
- foreigner_nationality_id (외국인 국적 id) — long — Primary key — NOT NULL
- foreigner_id (외국인 id) — varchar — Foreign key → foreigner_profiles.foreigner_id — NOT NULL
- nationality_id (국적 id2) — long — Foreign key → nationality.nationality_id — NOT NULL
- created_at (생성일시) — localDateTime — NOT NULL
- updated_at (수정일시) — localDateTime — NOT NULL
foreigner_profiles (외국인 프로필)
- foreigner_id (Key) — uuid — Primary key — NOT NULL
- status (의뢰값 상태) — ENUM — NOT NULL — idle, requesting
- languages (외국인 사용 언어) — Array — NOT NULL
- nationalities (외국인 국적) — Array — NOT NULL
- nickname (닉네임)
- last_login_at (마지막 로그인 일시) — zonedDateTime — NOT NULL
- user_id (회원 ID) — String — Foreign key → users.user_id — NOT NULL
- updated_at (최근 수정일) — LocalDATETIME — NOT NULL
- created_at (프로필 생성일) — LocalDATETIME — NOT NULL
job_code (직무 코드)
- job_code_id (직무 코드 id) — long — Primary key — NOT NULL
- code (직종 코드) — varchar — NOT NULL
- name (직종 이름) — varchar — NOT NULL
- embedding_result (직종 이름 텍스트 임베딩 결과) — vector — NOT NULL
- created_at (생성일시) — localDateTime — NOT NULL
- updated_at (수정일시) — localDateTime — NOT NULL
- job_group_id (직군 ID) — long — Foreign key → job_group.job_group_id — NOT NULL
job_group (직군)
- job_group_id (직군 ID) — long — Primary key — NOT NULL
- job_group_name (직군 영어 대문자 이름) — String
language (언어)
- language_id (언어 id) — long — Primary key — NOT NULL
- value (언어 이름) — varchar
nationality (국적)
- nationality_id (국적 id) — long — Primary key — NOT NULL
- value (값) — varchar
- created_at (생성일시) — localDateTime — NOT NULL
- updated_at (수정일시) — localDateTime — NOT NULL
proposal (제안)
- proposal_id (Key) — long — Primary key — NOT NULL
- status (상태) — enum — NOT NULL
- sender_id (보낸 사람 프로필 id) — varchar — NOT NULL
- updated_at (수정 일시) — localDateTime — NOT NULL
- created_at (생성 일시) — localDateTime — NOT NULL
- chat_room_id (채팅방 id) — int — Foreign key → chat_room.chat_room_id — NOT NULL
users (사용자)
- user_id (회원 ID) — uuid — Primary key — NOT NULL
- email (이메일) — varchar — NOT NULL
- password_hash (비밀번호 해쉬값) — varchar — 자체 로그인인 경우만 null이 아님
- user_type (회원 유형) — enum — NOT NULL
- login_type (로그인 유형) — enum — NOT NULL
- is_verified (이메일 인증 여부) — boolean — NOT NULL
- created_at (생성 일시) — localdatetime — NOT NULL
- updated_at (수정 일시) — localdatetime — NOT NULL
visa_application_form (비자 신청서)
- application_form_id (Key) — uuid — Primary key — NOT NULL
- agent_id (Key2) — uuid — Foreign key → agent_profile.agent_id — NOT NULL
- foreigner_id (Key3) — uuid — Foreign key → foreigner_profiles.foreigner_id — NOT NULL
- is_done (신청서 작성 완료 여부) — boolean — NOT NULL
- job_code_id (행정사가 입력한 직종 코드 for 리뷰) — long — NOT NULL
- personal_detail (인적사항) — json
- passport_information (여권정보) — json
- contact_information (연락처) — json
- marital_status_and_family_details (혼인 및 가족사항) — json
- education (학력) — json
- employment (직업) — json
- visit_information (방문 정보) — json
- help_information (도움 여부) — json
- invite_information (초청 정보) — json
- created_at (신청서 생성 일시) — localDateTime
- updated_at (신청서 수정 일시) — localDateTime
- current_step (작성 완료 단계) — int — NOT NULL
- profile_object_key (외국인 사진 저장소 url) — varchar
- is_finihsed (행정사와의 협업 완료 여부) — boolean — NOT NULL
- mail_sent_at (행정사 확인 이메일 발송 시간) — localDateTime