org_match_evaluate_wonderful.go 825 Bytes
Newer Older
haoyanbin's avatar
haoyanbin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
package models

import (
   // "gorm.io/gorm"

	"go-admin/common/models"
)

type OrgMatchEvaluateWonderful struct {
    models.Model
    
    MatchEvaluateId string `json:"matchEvaluateId" gorm:"type:bigint(20);comment:MatchEvaluateId"` 
    WonderfulUrl string `json:"wonderfulUrl" gorm:"type:varchar(255);comment:精彩时刻url"` 
    WonderfulTitle string `json:"wonderfulTitle" gorm:"type:varchar(255);comment:精彩时刻标题"` 
    Type string `json:"type" gorm:"type:bigint(20);comment:1 图片 2 视频"` 
    models.ModelTime
    models.ControlBy
}

func (OrgMatchEvaluateWonderful) TableName() string {
    return "org_match_evaluate_wonderful"
}

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

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