feat: Enhance comment management functionality in blog module

This commit is contained in:
Wini_Fy
2026-02-04 15:33:34 +07:00
parent c098043b44
commit 6dcfd19432
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"