package schema

import "time"

type ReservedNodeMeteringCheckpoint struct {
	Region               string `gorm:"primaryKey;size:64"`
	CloudProvider        string `gorm:"primaryKey;size:32"`
	Dataplane            string `gorm:"primaryKey;size:128"`
	LastSuccessfulMinute int64  `gorm:"not null"`
	CreatedAt            time.Time
	UpdatedAt            time.Time
}

func (ReservedNodeMeteringCheckpoint) TableName() string {
	return "reserved_node_metering_checkpoints"
}
