models/user.go

10 lines
208 B
Go
Raw Permalink Normal View History

2024-09-23 18:38:34 +00:00
package models
import "time"
type User struct {
UserId *int32 `json:"user_id" db:"user_id"`
Role *Role `json:"role" db:"role"`
UpdatedAt *time.Time `json:"updated_at" db:"updated_at"`
}