Skip to content

Backend Entity

junothyme edited this page Nov 26, 2019 · 9 revisions

Table

User : Snug를 사용하는 사용자

필드명 타입 allow null
id number X
email string X
password string X
createdAt date X
updatedAt date X

Profile : Snug 속 사용자를 나타내는 프로필

필드명 타입 allow null
id number X
name string X
status string X
thumbnail string O
description string O
role enum(admin, member) X
createdAt date X
updatedAt date X

Snug : Snug를 나타내는 Entity

필드명 타입 allow null
id number X
name string X
thumbnail string O
description string O
createdAt Date X
updatedAt Date X

Room : Room를 나타내는 Entity

필드명 타입 allow null auto increment
id number X O
title string X X
description string O X
isPrivate boolean X X
isChannel boolean X X
createdAt Date X X
updatedAt Date X X

Post : Post를 나타내는 Entity

필드명 타입 allow null
id number X
contents string O
imgSrc string O
createdAt Date X
updatedAt Date X

🏠 Home

ㄴ 📒 API

ㄴ 📒 Ground Rule

ㄴ ✏️ STUDY

ㄴ 🤔 주간회고

Clone this wiki locally