scrm-go

org_fans_models.go 1.6KB

123456789101112131415161718192021222324252627282930
  1. package models
  2. type OrgFans struct {
  3. ID int64 `gorm:"column:id" json:"id" form:"id"`
  4. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  5. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  6. Mobile string `gorm:"column:mobile" json:"mobile" form:"mobile"`
  7. Name string `gorm:"column:name" json:"name" form:"name"`
  8. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  9. ProvinceId int64 `gorm:"column:province_id" json:"province_id" form:"province_id"`
  10. CityId int64 `gorm:"column:city_id" json:"city_id" form:"city_id"`
  11. Address string `gorm:"column:address" json:"address" form:"address"`
  12. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  13. Openid string `gorm:"column:openid" json:"openid" form:"openid"`
  14. Sources int64 `gorm:"column:sources" json:"sources" form:"sources"`
  15. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  16. Unionid string `gorm:"column:unionid" json:"unionid" form:"unionid"`
  17. Status int64 `gorm:"column:status" json:"status" form:"status"`
  18. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  19. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  20. Ttid int64 `gorm:"column:ttid" json:"ttid" form:"ttid"`
  21. Tuid int64 `gorm:"column:tuid" json:"tuid" form:"tuid"`
  22. Taid int64 `gorm:"column:taid" json:"taid" form:"taid"`
  23. Ttype int64 `gorm:"column:ttype" json:"ttype" form:"ttype"`
  24. }
  25. func (Org) OrgFans() string {
  26. return "sgj_user_org_fans"
  27. }