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

This commit is contained in:
2026-07-13 11:00:17 +07:00
parent 06f2edb195
commit bad51585db
7 changed files with 125 additions and 47 deletions

View File

@@ -106,6 +106,15 @@ type ClassSeatingLayout struct {
func (ClassSeatingLayout) TableName() string { return "class_seating_layouts" }
// ExamSeatingLayout lưu sơ đồ chỗ ngồi theo phòng thi
type ExamSeatingLayout struct {
ExamRoomID uint `gorm:"column:exam_room_id;primaryKey;not null" json:"examRoomId"`
LayoutJSON string `gorm:"column:layout_json;type:longtext;not null" json:"layoutJson"`
UpdatedAt time.Time `json:"updatedAt"`
}
func (ExamSeatingLayout) TableName() string { return "exam_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"`