24 lines
542 B
Go
24 lines
542 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/pkg/pg"
|
|
"time"
|
|
)
|
|
|
|
type Users struct {
|
|
ID int64 `sql:"primary_key" json:"id"`
|
|
OpenID string `json:"open_id"`
|
|
UnionID *string `json:"union_id"`
|
|
OAuth pg.UserOAuth `json:"oauth"`
|
|
ExpireIn time.Time `json:"expire_in"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
}
|