22 lines
418 B
Go
22 lines
418 B
Go
package impl
|
|
|
|
import (
|
|
"ai_scheduler/internal/data/model"
|
|
"ai_scheduler/tmpl/dataTemp"
|
|
"ai_scheduler/utils"
|
|
)
|
|
|
|
type AdviceIndustryImpl struct {
|
|
dataTemp.DataTemp
|
|
}
|
|
|
|
func NewAdviceIndustryImplImpl(db *utils.Db) *AdviceIndustryImpl {
|
|
return &AdviceIndustryImpl{
|
|
DataTemp: *dataTemp.NewDataTemp(db, new(model.AiAdviceIndustryTemp)),
|
|
}
|
|
}
|
|
|
|
func (a *AdviceIndustryImpl) PrimaryKey() string {
|
|
return "industry_id"
|
|
}
|