medol-be/app/database/entity/csrf_token_records.entity.go

12 lines
249 B
Go
Raw Normal View History

2025-04-09 21:28:46 +00:00
package entity
import "time"
type CsrfTokenRecords struct {
ID uint `gorm:"primaryKey"`
Token string `gorm:"uniqueIndex;size:255"`
Value []byte `gorm:"value"`
ExpireAt time.Time `gorm:"index"`
CreatedAt time.Time
}