Passport/pkg/internal/models/bot.go

12 lines
276 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"`
}