-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
對課程評論 / 留言 #23
Comments
@skyhong2002 課程的評論與論壇的貼文是分開的 Entity 嗎? |
抱歉到現在才回,我認為評論與論壇的貼文是不同的 Entity。 評論必須要連結一門課,但論壇貼文不一定 |
我覺得可以把評價獨立出一個 Entity?評論則與貼文同類型,這樣也可以解決單純評分沒有文字的問題。 erDiagram
rating }o--|| course : ABOUT
post }o--o{ rating : LINK
user ||--o{ rating : RATE_BY
user ||--o{ post : WRITE_BY
|
我本來打算等你寫好 API 我再抓資料 render |
Ok 那你期望收到的資料大概是什麼格式? 參數的話應該會提供 offset & count,由近到遠排序 |
我預期會有以下資料:
|
|
用 anchor 來指向特定 comment 你認為是合理的做法嗎?像 github issue / PR 的 comment 這樣 |
合理吧,但我不知道我有沒有時間做 |
也可以是我寫,如果我們有共識的話 |
Related by #22
The text was updated successfully, but these errors were encountered: