feat: major update - MySQL, chat, wishlist, PWA, admin overhaul
This commit is contained in:
12
mengyastore-backend/internal/models/chat.go
Normal file
12
mengyastore-backend/internal/models/chat.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package models
|
||||
|
||||
import "time"
|
||||
|
||||
type ChatMessage struct {
|
||||
ID string `json:"id"`
|
||||
AccountID string `json:"accountId"`
|
||||
AccountName string `json:"accountName"`
|
||||
Content string `json:"content"`
|
||||
SentAt time.Time `json:"sentAt"`
|
||||
FromAdmin bool `json:"fromAdmin"`
|
||||
}
|
||||
Reference in New Issue
Block a user