tariffrestriction

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateTariffRestrictionParams

func NewCreateTariffRestrictionParams(tariffRestrictionDto *coreDto.TariffRestrictionDto) db.CreateTariffRestrictionParams

func NewUpdateTariffRestrictionParams

func NewUpdateTariffRestrictionParams(id int64, tariffRestrictionDto *coreDto.TariffRestrictionDto) db.UpdateTariffRestrictionParams

Types

type TariffRestrictionResolver

type TariffRestrictionResolver struct {
	Repository tariffrestriction.TariffRestrictionRepository
}

func NewResolver

func NewResolver(repositoryService *db.RepositoryService) *TariffRestrictionResolver

func (*TariffRestrictionResolver) CreateTariffRestrictionDto

func (r *TariffRestrictionResolver) CreateTariffRestrictionDto(ctx context.Context, tariffRestriction db.TariffRestriction) *coreDto.TariffRestrictionDto

func (*TariffRestrictionResolver) CreateWeekdayListDto

func (r *TariffRestrictionResolver) CreateWeekdayListDto(ctx context.Context, weekdays []db.Weekday) []*string

func (*TariffRestrictionResolver) ReplaceTariffByIdentifierRestriction

func (r *TariffRestrictionResolver) ReplaceTariffByIdentifierRestriction(ctx context.Context, id *sql.NullInt64, tariffRestrictionDto *coreDto.TariffRestrictionDto)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL