// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.

package model

import (
	"time"
)

const TableNameCounterRecord = "counter_records"

// CounterRecord mapped from table <counter_records>
type CounterRecord struct {
	CounterID int64     `gorm:"column:counter_id;primaryKey" json:"counter_id"`
	Digit     int32     `gorm:"column:digit;not null" json:"digit"`
	CreatedAt time.Time `gorm:"column:created_at;not null" json:"created_at"`
}

// TableName CounterRecord's table name
func (*CounterRecord) TableName() string {
	return TableNameCounterRecord
}
