dbadapter

package
v0.0.0-...-dc52cdd Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 License: MIT-0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ITEM_TYPE_CONFIG_GENERAL string = ITEM_TYPE_CONFIG_PREFIX + "-general"
View Source
var ITEM_TYPE_CONFIG_HISTORY string = ITEM_TYPE_CONFIG_PREFIX + "-history"
View Source
var ITEM_TYPE_CONFIG_INVENTORY_ROOM string = ITEM_TYPE_CONFIG_PREFIX + "-room"
View Source
var ITEM_TYPE_CONFIG_INVENTORY_ROOM_TYPE string = ITEM_TYPE_CONFIG_INVENTORY_ROOM + "-type"
View Source
var ITEM_TYPE_CONFIG_PREFIX string = "cfg"

Functions

func BomRoomTypeToDynamo

func BomRoomTypeToDynamo(bom model.Hotel, user core.User) model.DynamoRoomTypeRec

func BomRoomTypeToDynamoRecord

func BomRoomTypeToDynamoRecord(bom model.Hotel) core.DynamoRecord

Bom to generic Dynamo reccord to be used for delete

func BomToDynamo

func BomToDynamo(bom model.Hotel, user core.User) model.DynamoHotelRec

func DynamoListToBom

func DynamoListToBom(dbrList []model.DynamoHotelRec) model.Hotel

func DynamoToBom

func DynamoToBom(dbr model.DynamoHotelRec) model.Hotel

func DynamoToBomConfigChange

func DynamoToBomConfigChange(histRec model.DynamoHotelRec) model.HotelConfigChange

func DynamoToBomRoomType

func DynamoToBomRoomType(dbr model.DynamoHotelRec) model.HotelRoomType

func IdToDynamo

func IdToDynamo(id string) model.DynamoHotelRec

Types

This section is empty.

Jump to

Keyboard shortcuts

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