package model import ( "time" "github.com/google/uuid" ) type ReplyPerformance struct { ID uuid.UUID `gorm:"type:uuid;primary_key;default:gen_random_uuid()" json:"id"` ReplyID uuid.UUID `gorm:"type:uuid;not null;index:idx_reply_performance_reply_id" json:"reply_id"` UserID uuid.UUID `gorm:"type:uuid;not null;index:idx_reply_performance_user_id" json:"user_id"` LikeCountIncrease int `gorm:"default:0" json:"like_count_increase"` ReplyCountIncrease int `gorm:"default:0" json:"reply_count_increase"` InteractionRate float64 `gorm:"default:0.0" json:"interaction_rate"` CheckTime time.Time `json:"check_time"` }