You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sonic/model/dto/user.go

16 lines
486 B
Go

package dto
import "github.com/go-sonic/sonic/consts"
type User struct {
ID int32 `json:"id"`
Username string `json:"username"`
Nickname string `json:"nickname"`
Email string `json:"email"`
Avatar string `json:"avatar"`
Description string `json:"description"`
MFAType consts.MFAType `json:"mfaType"`
CreateTime int64 `json:"createTime"`
UpdateTime int64 `json:"updateTime"`
}