maps-service/internal/model/user.go

8 lines
132 B
Go
Raw Permalink Normal View History

2024-11-26 21:36:40 +00:00
package model
type User struct {
ID int64
Username string `gorm:"not null"`
StateID int32 `gorm:"not null;default:0"`
}