tett

Tables (6)

channel_delivery_logs

  • log_uuid — UUID
  • message_uuid — UUID — NOT NULL — 메시지
  • channel_type — VARCHAR(50) — 채널
  • stream_data — JSONB — 스트림
  • delivery_status — VARCHAR(50) — 전송
  • created_at — TIMESTAMPTZ — 생성

messages

  • message_uuid — UUID
  • notification_uuid — UUID — Foreign key → notifications.notification_uuid — NOT NULL — 알림
  • title — VARCHAR(255) — 제목
  • body — TEXT — 본문
  • sender_id — VARCHAR(100) — 발신자
  • sender_name — VARCHAR(100) — 발신자명
  • sender_phone_number — VARCHAR(50) — 발신자
  • created_at — TIMESTAMPTZ — 생성일시
  • creator_id — VARCHAR(100) — 생성자
  • creator_program_id — VARCHAR(100) — 생성
  • creator_ip — VARCHAR(50) — 생성자

notification_policies

  • policy_uuid — UUID
  • notification_name — VARCHAR(255) — 알림명
  • notification_id — VARCHAR(100) — 알림
  • notification_description — TEXT — 알림
  • execution_condition — VARCHAR(255) — 실행
  • is_active — BOOLEAN — NOT NULL — 정책
  • template_variables — JSONB — 템플릿
  • title — VARCHAR(255) — 메시지
  • body — TEXT — 메시지
  • sender_id — VARCHAR(100) — 발신자
  • sender_name — VARCHAR(100) — 발신자명
  • sender_phone_number — VARCHAR(50) — 발신자
  • is_scheduled — BOOLEAN — 예약
  • scheduled_at — TIMESTAMPTZ — 예약
  • is_in_app — BOOLEAN — 인앱
  • is_app_push — BOOLEAN — 앱
  • is_sms_mms — BOOLEAN — SMS/MMS
  • is_forced_display — BOOLEAN — 강제
  • is_delayed — BOOLEAN — 지연
  • delay_hour — INTEGER — 지연
  • work_division — VARCHAR(50) — 업무
  • notification_type — VARCHAR(50) — 알림
  • recipient_division — VARCHAR(50) — 수신자
  • created_at — TIMESTAMPTZ — 생성
  • creator_id — VARCHAR(100) — 생성자
  • creator_program_id — VARCHAR(100) — 생성
  • creator_ip — VARCHAR(50) — 생성자
  • updated_at — TIMESTAMPTZ — 수정
  • updater_id — VARCHAR(100) — 수정자
  • updater_program_id — VARCHAR(100) — 수정
  • updater_ip — VARCHAR(50) — 수정자

notifications

  • notification_uuid — UUID
  • policy_uuid — UUID — Foreign key → notification_policies.policy_uuid — 알림
  • title — VARCHAR(255)
  • body — TEXT
  • 업무구분 (Field)
  • 발송 대상 구분 (Field2)
  • sender_id (Field3)
  • sender_name (Field4)
  • sender_phone_number (Field5)
  • is_scheduled (Field6)
  • scheduled_at (Field7)
  • is_in_app (Field8)
  • is_app_push (Field9)
  • is_sms_mms (Field10)
  • is_forced_display (Field11)
  • is_delayed (Field12)
  • delay_hour (Field13)
  • created_at — TIMESTAMPTZ — 생성
  • creator_id — VARCHAR(100) — 생성자
  • creator_ip — VARCHAR(50) — 생성자

policy_user_groups

  • auth_group_uuid — UUID
  • policy_uuid — UUID — Foreign key → notification_policies.policy_uuid — NOT NULL — 알림
  • created_at — TIMESTAMPTZ — 생성
  • creator_id — VARCHAR(100) — 생성자
  • creator_program_id — VARCHAR(100) — 생성
  • creator_ip — VARCHAR(50) — 생성자
  • updated_at — TIMESTAMPTZ — 수정
  • updater_id — VARCHAR(100) — 수정자
  • updater_program_id — VARCHAR(100) — 수정
  • updater_ip — VARCHAR(50) — 수정자

recipients

  • recipient_uuid — UUID
  • user_id — VARCHAR(100) — 사용자
  • message_uuid — UUID — Foreign key → messages.message_uuid — NOT NULL — 메시지
  • is_received — BOOLEAN — 수신
  • is_app_push — BOOLEAN — 앱
  • is_sms_mms — BOOLEAN — SMS/MMS
  • is_forced_display — BOOLEAN — 강제
  • created_at — TIMESTAMPTZ — 생성