30 lines
935 B
Go
30 lines
935 B
Go
//
|
|
// Code generated by go-jet DO NOT EDIT.
|
|
//
|
|
// WARNING: Changes to this file may cause incorrect behavior
|
|
// and will be lost if the code is regenerated
|
|
//
|
|
|
|
package model
|
|
|
|
import (
|
|
"backend/database/fields"
|
|
"time"
|
|
)
|
|
|
|
type UserOauths struct {
|
|
ID int64 `sql:"primary_key" json:"id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
DeletedAt *time.Time `json:"deleted_at"`
|
|
Channel fields.AuthChannel `json:"channel"`
|
|
UserID int64 `json:"user_id"`
|
|
UnionID *string `json:"union_id"`
|
|
OpenID string `json:"open_id"`
|
|
AccessKey string `json:"access_key"`
|
|
AccessToken string `json:"access_token"`
|
|
RefreshToken string `json:"refresh_token"`
|
|
ExpireAt time.Time `json:"expire_at"`
|
|
Meta *string `json:"meta"`
|
|
}
|