任务三
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
// 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
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
const TableNameJwtBlacklist = "jwt_blacklists"
|
||||
|
||||
// JwtBlacklist mapped from table <jwt_blacklists>
|
||||
type JwtBlacklist struct {
|
||||
ID int64 `gorm:"column:id;type:bigint(20) unsigned;primaryKey;autoIncrement:true" json:"id"`
|
||||
CreatedAt *time.Time `gorm:"column:created_at;type:datetime(3)" json:"created_at"`
|
||||
UpdatedAt *time.Time `gorm:"column:updated_at;type:datetime(3)" json:"updated_at"`
|
||||
DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;type:datetime(3);index:idx_jwt_blacklists_deleted_at,priority:1" json:"deleted_at"`
|
||||
Jwt *string `gorm:"column:jwt;type:text;comment:jwt" json:"jwt"` // jwt
|
||||
}
|
||||
|
||||
// TableName JwtBlacklist's table name
|
||||
func (*JwtBlacklist) TableName() string {
|
||||
return TableNameJwtBlacklist
|
||||
}
|
||||
Reference in New Issue
Block a user