This commit is contained in:
Ravi Prasad
2025-05-12 19:56:21 -05:00
parent 8cad0e1980
commit c73796ae23
4 changed files with 1 additions and 57 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ package models
import "gorm.io/gorm"
type PlayerAdvancedStat struct {
gorm.Model
gorm.Model `swaggerignore:"true"`
ExternalID int `json:"id"`
PlayerID string `gorm:"not null;index:idx_player_season_team,unique" json:"playerId"`
PlayerName string `json:"playerName"`