Merge pull request 'feat: Enhance comment management functionality in blog module' (#15) from fea/thanh-02022026-news into main

Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#15
This commit is contained in:
2026-02-04 08:37:50 +00:00
7 changed files with 850 additions and 23 deletions

View File

@@ -11,6 +11,26 @@ const blogCommentSchema = new mongoose.Schema({
required: true,
trim: true // "Frank Flores"
},
authorEmail: {
type: String,
default: '',
trim: true
},
authorPhone: {
type: String,
default: '',
trim: true
},
authorAddress: {
type: String,
default: '',
trim: true
},
authorDate: {
type: String,
default: '',
trim: true
},
authorAvatar: {
type: String,
default: '' // "/assets/img/inner-page/news-details/comment-1.png"