Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CityRepository ¶
type CityRepository struct {
// contains filtered or unexported fields
}
func NewCityRepository ¶
func NewCityRepository(db *gorm.DB) *CityRepository
type CompanyRepository ¶
type CompanyRepository struct {
// contains filtered or unexported fields
}
func NewCompanyRepository ¶
func NewCompanyRepository(db *gorm.DB) *CompanyRepository
func (*CompanyRepository) Put ¶
func (cr *CompanyRepository) Put(c dto.CompanyDTO) (dto.CompanyDTO, error)
type CountryRepository ¶
type CountryRepository struct {
// contains filtered or unexported fields
}
func NewCountryRepository ¶
func NewCountryRepository(db *gorm.DB) *CountryRepository
func (*CountryRepository) GetByID ¶
func (lr *CountryRepository) GetByID(id uint) (dto.CountryDTO, error)
func (*CountryRepository) Put ¶
func (lr *CountryRepository) Put(c dto.CountryDTO) (dto.CountryDTO, error)
type DetailedFranchiseRepository ¶
type DetailedFranchiseRepository struct {
// contains filtered or unexported fields
}
func NewDetailedFranchiseRepository ¶
func NewDetailedFranchiseRepository(db *gorm.DB) *DetailedFranchiseRepository
func (*DetailedFranchiseRepository) FindAll ¶
func (ffr *DetailedFranchiseRepository) FindAll(f dto.ConsultFranchiseCriterialDTO) ([]dto.FlatDetailedFranchiseDTO, error)
type FranchiseRepository ¶
type FranchiseRepository struct {
// contains filtered or unexported fields
}
func NewFranchiseRepository ¶
func NewFranchiseRepository(db *gorm.DB) *FranchiseRepository
func (*FranchiseRepository) ConsultLocationID ¶
func (fr *FranchiseRepository) ConsultLocationID(id string) (uint, error)
func (*FranchiseRepository) Put ¶
func (fr *FranchiseRepository) Put(f dto.FranchiseDTO) (dto.FranchiseDTO, error)
func (*FranchiseRepository) Update ¶
func (fr *FranchiseRepository) Update(f dto.UpdateFranchiseDTO) (dto.FranchiseDTO, error)
type LocationRepository ¶
type LocationRepository struct {
// contains filtered or unexported fields
}
func NewLocationRepository ¶
func NewLocationRepository(db *gorm.DB) *LocationRepository
func (*LocationRepository) GetByID ¶
func (lr *LocationRepository) GetByID(id uint) (dto.LocationDTO, error)
func (*LocationRepository) Put ¶
func (lr *LocationRepository) Put(l dto.LocationDTO) (dto.LocationDTO, error)
type PendingFranchizeRepository ¶
type PendingFranchizeRepository struct {
// contains filtered or unexported fields
}
func NewPendingFranchizeRepository ¶
func NewPendingFranchizeRepository(db *gorm.DB) *PendingFranchizeRepository
func (*PendingFranchizeRepository) GetStatusByID ¶
func (pfr *PendingFranchizeRepository) GetStatusByID(id string) (string, error)
func (*PendingFranchizeRepository) Put ¶
func (pfr *PendingFranchizeRepository) Put(n dto.PendingFranchiseDTO) (dto.PendingFranchiseDTO, error)
func (*PendingFranchizeRepository) UpdateStatus ¶
func (pfr *PendingFranchizeRepository) UpdateStatus(n dto.PendingFranchiseDTO) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.