rest_user_service.go 1.1 KB
package domain_service

import (
	"gitlab.fjmaimaimai.com/allied-creation/allied-creation-cooperation/pkg/domain"
)

type UserService struct {
}

func (service *UserService) ReferrerFrom(companyId int64, orgId int64, userId int64) (*domain.Referrer, error) {
	return nil, nil
}

func (service *UserService) UndertakerFrom(companyId int64, orgId int64, userId int64) (*domain.Undertaker, error) {
	return nil, nil
}

func (service *UserService) RelevantFrom(companyId int64, orgId int64, userId int64) (*domain.Relevant, error) {
	return nil, nil
}

func (service *UserService) SalesmanFrom(companyId int64, orgId int64, userId int64) (*domain.Salesman, error) {
	return nil, nil
}

func (service *UserService) OperatorFrom(companyId int64, orgId int64, userId int64) (*domain.User, error) {
	return nil, nil
}

func (service *UserService) UserInMenu(companyId int64, orgId int64, userId int64, code string) (bool, error) {
	return false, nil
}

func (service *UserService) UserInOrganization(companyId int64, orgId int64, userId int64) (bool, error) {
	return false, nil
}

func NewUserService() (*UserService, error) {
	return &UserService{}, nil
}