Files
zmkgC/internal/app/system/model/user_registration.go
2025-07-07 20:11:59 +08:00

34 lines
1.3 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2024-07-26 15:32:12
// 生成路径: internal/app/system/model/user_registration.go
// 生成人gfast
// desc:极光推送
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// UserRegistrationInfoRes is the golang structure for table user_registration.
type UserRegistrationInfoRes struct {
gmeta.Meta `orm:"table:user_registration"`
Id uint `orm:"id,primary" json:"id"` //
UserId int `orm:"user_id" json:"userId"` // 用户ID
OpenId string `orm:"open_id" json:"openId"` // 微信 open_id
RegistrationId string `orm:"registration_id" json:"registrationId"` // 极光推送 设备唯一标识
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` //
}
type UserRegistrationListRes struct {
Id uint `json:"id"`
UserId int `json:"userId"`
OpenId string `json:"openId"`
RegistrationId string `json:"registrationId"`
CreatedAt *gtime.Time `json:"createdAt"`
}