position.go 359 字节
package repository

import "opp/models"

type IPositionRepository interface {
	GetPositionById(companyId int) (v *models.Position, err error)
}

var _ IPositionRepository = (*PositionRepository)(nil)

type PositionRepository struct{}

func (r *PositionRepository) GetPositionById(id int) (v *models.Position, err error) {
	return models.GetPositionById(id)
}