package models import ( "time" "github.com/google/uuid" "gorm.io/gorm" ) type User struct { Uuid uuid.UUID `json:"uuid" gorm:"type:uuid;primaryKey"` Username string `json:"username" gorm:"unique;not null"` HashedPassword string `json:"-" gorm:"column:password;not null"` // Don't include in JSON responses CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt gorm.DeletedAt `json:"-" gorm:"index"` }