info.go 674 B

123456789101112131415161718192021222324252627
  1. package user
  2. import (
  3. "git.sxidc.com/go-framework/baize/framework/core/application"
  4. )
  5. type Info struct {
  6. application.InfoIDField
  7. UserName string `json:"userName" sqlresult:"column:user_name"`
  8. Name string `json:"name" sqlresult:"column:name"`
  9. Phone string `json:"phone" sqlresult:"column:phone"`
  10. Email string `json:"email" sqlresult:"column:email"`
  11. LastLoginTime string `json:"lastLoginTime" sqlresult:"column:last_login_time"`
  12. application.InfoTimeFields
  13. }
  14. func (info *Info) GetID() string {
  15. return info.ID
  16. }
  17. func (info *Info) GetUserName() string {
  18. return info.UserName
  19. }
  20. func (info *Info) GetName() string {
  21. return info.Name
  22. }