You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.5 KiB
Go

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
package model
const TableNameRewardPushLog = "reward_push_log"
// RewardPushLog mapped from table <reward_push_log>
type RewardPushLog struct {
ID int64 `gorm:"column:id;type:bigint;primaryKey" json:"id"`
CreatedAt int64 `gorm:"column:created_at;type:bigint;not null" json:"created_at"`
UpdatedAt int64 `gorm:"column:updated_at;type:bigint;not null" json:"updated_at"`
PushID string `gorm:"column:push_id;type:char(20);not null;comment:推送id(reward_push表)" json:"push_id"`
ReqURL string `gorm:"column:req_url;type:varchar(255);not null;comment:请求地址" json:"req_url"`
Req string `gorm:"column:req;type:text;not null;comment:请求数据" json:"req"`
Resp string `gorm:"column:resp;type:text;not null;comment:返回数据" json:"resp"`
RespCode int32 `gorm:"column:resp_code;type:int;not null;comment:返回状态码" json:"resp_code"`
ReqTime int64 `gorm:"column:req_time;type:bigint;not null;comment:请求时长(单位:ms)" json:"req_time"`
ErrMsg string `gorm:"column:err_msg;type:varchar(255);not null;comment:错误信息" json:"err_msg"`
Token string `gorm:"column:token;type:varchar(255);not null;comment:请求token" json:"token"`
ReqHeader string `gorm:"column:req_header;type:varchar(255);not null;comment:请求头数据" json:"req_header"`
}
// TableName RewardPushLog's table name
func (*RewardPushLog) TableName() string {
return TableNameRewardPushLog
}