Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Structure

Excerpt


FieldTypeRequiredDescription
idIntegertrueUnique identifier for the Product.
propertyPropertytrueProperty of the Product.
chainProductChainProducttrueParent of the Product.
nameString trueName of the Product
propertyRoomTypeRoomSubTypePropertyRoomTypeRoomSubTypefalseRelation with room types/subtypes
basePriceBigDecimalfalse
boardBasePriceAdultBigDecimalfalse
boardBasePriceJuniorBigDecimalfalse
boardBasePriceChildBigDecimalfalse
boardBasePriceInfantBigDecimalfalse
boardMinimumPriceAdultBigDecimalfalse
boardMinimumPriceJuniorBigDecimalfalse
boardMinimumPriceChildBigDecimalfalse
boardMinimumPriceInfantBigDecimalfalse
creditBooleanfalseMarks this Product as credit
accountReceivableAccountReceivablefalseIf credit is true, this is the relation to the AccountReceivable.
orderIntegerfalseOrder of the entity in a list.
remarkStringfalseExtra information.
activeBooleantrue



JSON representation

Code Block
languagepowershell
themeDJango
{
	"id": 56,
	"createdDate": "2018-10-29T12:12:14.733Z",
	"modifiedDate": "2018-10-29T12:13:18.820Z",
	"createdUser": 0,
	"modifiedUser": 0,
	"property": null,
	"chainProduct": {
		"id": 10,
		"createdDate": "2018-10-29T12:12:14.710Z",
		"createdUser": 0,
		"productType": {
			"id": 10,
			"code": "BOA",
			"name": "Board",
			"nameI18n": "Board"
		},
		"chainProductSubGroup": {
			"id": 7,
			"createdDate": "2018-10-29T12:12:14.167Z",
			"createdUser": 0,
			"chainProductGroup": {
				"id": 7,
				"createdDate": "2018-10-29T12:12:14.013Z",
				"createdUser": 0,
				"code": "CPG7",
				"name": "ChainProductGroup 7",
				"chainProductSubGroupSet": null
			},
			"code": "CPSG7",
			"name": "ChainProductSubGroup 7",
			"chainProductSet": null
		},
		"code": "RO",
		"name": "RoomOnly",
		"nameI18nId": 800,
		"nameI18n": "Room Only",
		"productSet": null
	},
	"name": "RoomOnly",
	"order": 1,
	"active": true,
	"productProduceSet": null,
	"productTaxIncludedSet": null,
	"productPaymentAccessTypeSet": null,
	"productOccupancySet": null,
	"productServiceDailyPriceSet": null,
	"allotmentProductSet": null,
	"reservationRoomStaySet": null,
	"rateProductServiceSet": null,
	"rateProductBoardSet": null,
	"productFeeFormulaSet": null,
	"productTaxFormulaSet": null,
	"productItemSet": null
}