package entity

import (
	"github.com/google/uuid"
	"time"
)

type CsrfTokenRecords struct {
	ID        uint       `gorm:"primaryKey"`
	Token     string     `gorm:"uniqueIndex;size:255"`
	Value     []byte     `gorm:"value"`
	ExpireAt  time.Time  `gorm:"index"`
	ClientId  *uuid.UUID `json:"client_id" gorm:"type:UUID"`
	CreatedAt time.Time
}
