Documentation ¶
Index ¶
- Variables
- func BomRoomTypeToDynamo(bom model.Hotel, user core.User) model.DynamoRoomTypeRec
- func BomRoomTypeToDynamoRecord(bom model.Hotel) core.DynamoRecord
- func BomToDynamo(bom model.Hotel, user core.User) model.DynamoHotelRec
- func DynamoListToBom(dbrList []model.DynamoHotelRec) model.Hotel
- func DynamoToBom(dbr model.DynamoHotelRec) model.Hotel
- func DynamoToBomConfigChange(histRec model.DynamoHotelRec) model.HotelConfigChange
- func DynamoToBomRoomType(dbr model.DynamoHotelRec) model.HotelRoomType
- func IdToDynamo(id string) model.DynamoHotelRec
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 BomRoomTypeToDynamoRecord ¶
func BomRoomTypeToDynamoRecord(bom model.Hotel) core.DynamoRecord
Bom to generic Dynamo reccord to be used for delete
func BomToDynamo ¶
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.
Click to show internal directories.
Click to hide internal directories.