17 lines
471 B
Go
17 lines
471 B
Go
package do
|
|
|
|
import "time"
|
|
|
|
type UserDO struct {
|
|
Id *int64 `json:"id"`
|
|
UserName string `json:"username"`
|
|
DisplayName *string `json:"display_name"`
|
|
Email string `json:"email"`
|
|
Qq *string `json:"qq"`
|
|
Password string `json:"password"`
|
|
OldPassword *string `json:"old_password"`
|
|
EmailVerify bool `json:"email_verify"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt *time.Time `json:"updated_at"`
|
|
}
|