fix random
All checks were successful
Deploy on Master Change / deploy (push) Successful in 1m17s

This commit is contained in:
2026-07-13 10:29:34 +07:00
parent 0583c7869a
commit 06f2edb195
11 changed files with 476 additions and 71 deletions

View File

@@ -38,6 +38,14 @@ type PasswordResetToken struct {
func (PasswordResetToken) TableName() string { return "password_reset_tokens" }
// StaffMyClass lưu danh sách lớp học cá nhân của giáo viên
type StaffMyClass struct {
StaffID uint `gorm:"column:staff_id;primaryKey;not null;index" json:"staffId"`
ClassRkID int64 `gorm:"column:class_rk_id;primaryKey;not null" json:"classRkId"`
}
func (StaffMyClass) TableName() string { return "staff_my_classes" }
// ChatMessage — tin nhắn thầy cô ↔ sinh viên
type ChatMessage struct {
ID uint `gorm:"primaryKey" json:"id"`