chat

테이블 (8)

메세지 (chat_message)

  • 메세지식별번호 (chat_message_no) — 기본 키 — NOT NULL
  • 채팅방식별번호 (chat_room_no) — 외래 키 → 채팅방.채팅방고유번호 — NOT NULL
  • 메세지보낸이 (chat_message_sender) — 외래 키 → 사원.사원고유번호 — NOT NULL
  • 메세지내용 (chat_message_content)
  • 메세지보낸시각 (chat_message_time)
  • 메세지유형 (chat_message_type)

메세지 읽음 (chat_read)

  • 메세지식별번호 (chat_message_no) — 외래 키 → 메세지.메세지식별번호 — NOT NULL
  • 사원식별번호 (emp_no) — 외래 키 → 사원.사원고유번호 — NOT NULL
  • 메세지읽음여부 (chat_read_status)

사원 (emp)

  • 사원고유번호 (emp_no) — 기본 키 — NOT NULL

알림 (notification)

  • 알림고유번호 (notification_no) — 기본 키 — NOT NULL
  • 알림받는사원 (notification_receiver) — 외래 키 → 사원.사원고유번호 — NOT NULL
  • 알림타입 (notification_type)
  • 알림대상 (notification_target)
  • 알림내용 (notification_content)
  • 알림출처주소 (notification_url)
  • 알림읽음여부 (notification_read)
  • 알림생성시간 (notification_time)
  • 프로젝트고유번호 (project_no) — 외래 키 → 프로젝트.프로젝트고유번호 — NOT NULL

참여자 (chat_member)

  • 채팅방참여자 (chat_room_member) — 외래 키 → 사원.사원고유번호 — NOT NULL
  • 채팅방식별번호 (chat_room_no) — 외래 키 → 채팅방.채팅방고유번호 — NOT NULL
  • 채팅입장시각 (chat_member_joined_at)
  • 채팅퇴장시각 (chat_member_left_at)
  • 채팅참여상태 (chat_member_status)

채팅방 (chat_room)

  • 채팅방고유번호 (chat_room_no) — 기본 키 — NOT NULL
  • 프로젝트고유번호 (project_no) — 외래 키 → 프로젝트.프로젝트고유번호 — NOT NULL
  • 채팅방이름 (chat_room_name)
  • 채팅방유형 (chat_room_type)
  • 채팅방생성시각 (chat_room_created_at)

파일 (attach)

  • 파일식별번호 (attach_no) — 기본 키 — NOT NULL
  • 메세지식별번호 (chat_message_no) — 외래 키 → 메세지.메세지식별번호 — NOT NULL
  • 파일명 (attach_name)
  • 파일유형 (attach_type)
  • 파일크기 (attach_size)

프로젝트 (project)

  • 프로젝트고유번호 (project_no) — 기본 키 — NOT NULL