package models

import (
   // "gorm.io/gorm"

	"go-admin/common/models"
)

type OrgMatchTeam struct {
    models.Model
    
    MatchId string `json:"matchId" gorm:"type:bigint(20);comment:MatchId"` 
    ClubId string `json:"clubId" gorm:"type:bigint(20);comment:ClubId"` 
    TeamId string `json:"teamId" gorm:"type:bigint(20);comment:TeamId"` 
    MatchScore string `json:"matchScore" gorm:"type:bigint(20);comment:比分"` 
    Integral string `json:"integral" gorm:"type:bigint(20);comment:积分"` 
    models.ModelTime
    models.ControlBy
}

func (OrgMatchTeam) TableName() string {
    return "org_match_team"
}

func (e *OrgMatchTeam) Generate() models.ActiveRecord {
	o := *e
	return &o
}

func (e *OrgMatchTeam) GetId() interface{} {
	return e.Id
}