package model

import "time"

// SiteFeatureCardClick 四大板块功能卡片点击次数（section + item_id 唯一）
type SiteFeatureCardClick struct {
	Section    string    `gorm:"primaryKey;type:varchar(24);not null" json:"section"`
	ItemID     string    `gorm:"primaryKey;type:varchar(128);not null" json:"item_id"`
	ClickCount uint64    `gorm:"not null;default:0" json:"click_count"`
	UpdatedAt  time.Time `json:"updated_at"`
}

func (SiteFeatureCardClick) TableName() string { return "site_feature_card_clicks" }
