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

@@ -97,6 +97,15 @@ type AttendanceResult struct {
func (AttendanceResult) TableName() string { return "attendance_results" }
// ClassSeatingLayout lưu sơ đồ chỗ ngồi theo lớp
type ClassSeatingLayout struct {
ClassRkID int64 `gorm:"column:class_rk_id;primaryKey;not null" json:"classRkId"`
LayoutJSON string `gorm:"column:layout_json;type:longtext;not null" json:"layoutJson"`
UpdatedAt time.Time `json:"updatedAt"`
}
func (ClassSeatingLayout) TableName() string { return "class_seating_layouts" }
// ClassAllowedApp lưu từ khóa app được mở của lớp
type ClassAllowedApp struct {
ClassRkID int64 `gorm:"column:class_rk_id;primaryKey;not null" json:"classRkId"`