package model import ( model2 "Medical_OAuth/common/model" coreModel "gogs.baozhida.cn/zoie/OAuth-core/model" ) type ServApi struct { model2.Model coreModel.Api model2.ModelTime model2.ControlBy } func (ServApi) TableName() string { return "serv_api" } func (e *ServApi) Generate() model2.ActiveRecord { o := *e return &o } func (e *ServApi) GetId() interface{} { return e.Id }