DepotPosition Domain Class

General Description

DepotPositions are used to describe the custody (the amount of several products) of a person. One DepotPosition object holds the relative change in the amount of a product as well as the overall amount. A DepotPosition is always triggered after a trade or after a penalty payment.

DepotPosition Properties

A DepotPosition domain class possesses the following properties:

Long serverId
  Competition competition
  Person person
  Integer change
  Integer balance
  String description
  Date dateCreated = new Date();
  Product product
  Long transactionID
  Boolean latest = true

Property Descriptions