Reorganized repository into backend and frontend directories

This commit is contained in:
2026-03-16 15:56:04 +08:00
parent c84dd6ea36
commit 530b5383ef
14 changed files with 50 additions and 10 deletions

View File

@@ -0,0 +1,12 @@
package model
import (
"gorm.io/gorm"
)
// User represents a registered user in the system.
type User struct {
gorm.Model
Username string `gorm:"uniqueIndex;not null"`
Password string `gorm:"not null"` // Hashed password
}