Files
InfoGenie/infogenie-backend-go/internal/model/site_feature_card_click.go
2026-04-01 22:03:57 +08:00

14 lines
535 B
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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" }