// 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" ) const TableNameMiniprogramAccessToken = "miniprogram_access_token" // MiniprogramAccessToken 小程序 access_token 表 type MiniprogramAccessToken struct { ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键" json:"id"` // 主键 AccessToken string `gorm:"column:access_token;not null;comment:access_token" json:"access_token"` // access_token CreatedAt time.Time `gorm:"column:created_at;not null;default:CURRENT_TIMESTAMP;comment:创建时间" json:"created_at"` // 创建时间 ExpiredAt time.Time `gorm:"column:expired_at;not null;default:CURRENT_TIMESTAMP;comment:过期时间" json:"expired_at"` // 过期时间 } // TableName MiniprogramAccessToken's table name func (*MiniprogramAccessToken) TableName() string { return TableNameMiniprogramAccessToken }