2023-12-26 15:34:38 +08:00
|
|
|
package do
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
type UserDO struct {
|
2023-12-27 01:48:24 +08:00
|
|
|
Id *uint64 `json:"id"`
|
2023-12-26 15:34:38 +08:00
|
|
|
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"`
|
2024-01-02 00:28:12 +08:00
|
|
|
Permission bool `json:"permission"`
|
2023-12-26 15:34:38 +08:00
|
|
|
EmailVerify bool `json:"email_verify"`
|
|
|
|
CreatedAt time.Time `json:"created_at"`
|
|
|
|
UpdatedAt *time.Time `json:"updated_at"`
|
|
|
|
}
|