gogo-user

Tables (4)

tbl_school (학교)

  • id (학교 식별자) — Long — Primary key — NOT NULL
  • school_name (학교 이름) — String
  • school_type (학교 타입) — Enum

tbl_school_detail (학교 정보)

  • id (학교 정보 식별자) — Long — Primary key — NOT NULL
  • school_id (학교 식별자) — Long — Foreign key → tbl_school.id — NOT NULL
  • address (학교 위치) — String
  • region (학교 지역) — String
  • count_of_student (재학 인원) — Int
  • phone_number (학교 연락처) — String

tbl_student (학생)

  • id (학생 식별자) — Long — Primary key — NOT NULL
  • user_id (유저 식별자) — Long — Foreign key → tbl_user.id — NOT NULL
  • school_id (학교 식별자) — Long — Foreign key → tbl_school.id — NOT NULL
  • class_number (반) — Int
  • student_number (번호) — Int
  • is_active_profanity_filter (커뮤니티 욕설 필터 여부) — Boolean

tbl_user (유저)

  • id (유저 식별자) — Long — Primary key — NOT NULL
  • email (이메일) — String
  • name (이름) — String
  • device_token (디바이스 토큰) — string
  • sex (성별) — Enum
  • authority (권한) — Enum
  • is_ suspended (계정 정지 여부) — Boolean
  • created_date (생성일) — LocalDateTime