Passport/pkg/authkit/models/bot.go

14 lines
361 B
Go
Raw Normal View History

2024-08-24 12:28:10 +00:00
package models
type ApiKey struct {
BaseModel
Name string `json:"name"`
Description string `json:"description"`
Lifecycle *int64 `json:"lifecycle"`
Ticket AuthTicket `json:"ticket" gorm:"TicketID"`
TicketID uint `json:"ticket_id"`
2024-08-25 15:15:29 +00:00
Account Account `json:"account"`
AccountID uint `json:"account_id"`
2024-08-24 12:28:10 +00:00
}