deliver_user.go 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. package entity
  2. import "gopkg.in/guregu/null.v3"
  3. type DeliverUser struct {
  4. Id uint64 `db:"id"` //json:"id"`
  5. Name string `db:"name"` //json:"name"`
  6. Age uint8 `db:"age"` //json:"age"`
  7. Gender string `db:"gender"` //json:"gender"`
  8. Tel string `db:"tel"` //json:"tel"`
  9. Career string `db:"career"` //json:"career"`
  10. Openid string `db:"openid"`
  11. HeadPic string `db:"head_pic"` //json:"head_pic"`
  12. Remark string `db:"remark"` //json:"remark"`
  13. Qualifiction []string `db:"-"` //json:"qualifiction"`
  14. License []string `db:"-"`
  15. Photo []string `db:"-"`
  16. Address string `db:"address"` // json:"address"`
  17. Education string `db:"education"` // json:"education"`
  18. IdFront string `db:"id_front"` //json:"id_front"`
  19. IdBack string `db:"id_back"` //json:"id_back"`
  20. Company string `db:"company"` //json:"company"`
  21. Birthday string `db:"birthday"`
  22. CreateAt string `db:"create_at"`
  23. Vcode string `db:"-"`
  24. ProcessState string `db:"process_staus"`
  25. Grade string `db:"grade"`
  26. Reason null.String `db:"reason"`
  27. InviteBy string `db:"invite_by"`
  28. IsFetch string `db:"is_fetch"`
  29. ProvinceId null.Int `db:"province_id" json:"province_id"`
  30. CityId null.Int `db:"city_id" json:"city_id"`
  31. CountyId null.Int `db:"county_id" json:"county_id"`
  32. IsSkip string `db:"is_skip"`
  33. CertificateNo string `db:"certificate_no" json:"certificate_no"`
  34. }