user.go 342 B

1234567891011121314
  1. package model
  2. type User struct {
  3. Phone string `gorm:"column:phone"`
  4. Openid string `gorm:"column:openid"`
  5. }
  6. type SysUser struct {
  7. Id string `gorm:"column:id"`
  8. Openid string `gorm:"column:open_id"`
  9. User string `gorm:"column:user"`
  10. SysName string `gorm:"column:sys_name"`
  11. PastureId string `gorm:"column:pasture_id"`
  12. }