Homeing

Tables (9)

Category (카테고리)

  • A (Field) — 내용1
  • B (Field2) — 내용2
  • C (Field3) — 내용3
  • ID (Key) — 아이디 — Foreign key → Suggestions.ID — NOT NULL

Enum (권한)

  • ID (Key) — 아이디 — Foreign key → Member.ID — NOT NULL
  • A (Field) — 유저
  • B (Field2) — 인증 유저
  • C (Field3) — 관리자

Grop (그룹)

  • ID (Key) — 아이디 — Primary key — NOT NULL
  • ID (UserId) — 유저 아이디 — Foreign key → Member.ID — NOT NULL
  • Number (uniqye) — 고유넘버
  • CreatedAt (Field) — 생성날짜
  • UpdatedAt (Field2) — 수정날짜

Invitainon (초대)

  • ID (Key) — 아이디 — Primary key — NOT NULL
  • ID (GropId) — 그룹 아이디 — Foreign key → Grop.ID — NOT NULL
  • ID (UserId) — 유저 아이디 — Foreign key → Grop.ID — NOT NULL
  • Accept (bool) — 수락여부
  • CreatedAt (Field) — 생성날짜
  • UpdatedAt (Field2) — 수정날짜

Member (유저)

  • ID (Key) — 아이디 — Primary key — NOT NULL
  • Name (Field) — 이름
  • Unit (Field2) — 세대호수
  • Role (Field3) — 권한

Message (메세지)

  • ID (Key) — 아이디 — Primary key — NOT NULL
  • ID (Key2) — 유저아이디 — Foreign key → Member.ID — NOT NULL
  • Content (Field) — 내용
  • Sander (Field2) — 보낸이
  • Receives (Field3) — 받는이
  • CreatedAt (Field4) — 생성날짜
  • UpdatedAt (Field5) — 수정날짜

Notice (공지사항)

  • ID (Key) — 아이디 — Primary key — NOT NULL
  • ID (Key2) — 유저아이디 — Foreign key → Member.ID — NOT NULL
  • Title (Field) — 제목
  • Content (Field2) — 내용
  • CreatedAt (Field3) — 생성날짜
  • UpdatedAt (Field4) — 수정날짜

Suggestions (건의사항)

  • ID (Key) — 아이디 — Primary key — NOT NULL
  • ID (Key2) — 유저아이디 — Foreign key → Member.ID — NOT NULL
  • Type (Field) — 카테고리
  • Content (Field2) — 내용

Utility bill (관리비)

  • ID (Key) — 아이디 — Primary key — NOT NULL
  • ID (Key2) — 아이디 — Foreign key → Member.ID — NOT NULL
  • Electricity (Field) — 전기료
  • Gas (Field2) — 가스비