About PtGolf.us

Rounds

Rounds store scores and information from an event.

class Round < ActiveRecord::Base
  belongs_to :group_player
  belongs_to :event
end
Purpose
  • To store score (points pulled) from an event.
  • To store a team number from an event.
  • To provide the scores needed to computed quotas.
  • To store optional information from an event (wealth distributions)

Rounds are kept for as long as the group wants, but can be trimmed to the number of months set in the groups preference.

Data Elements
group_player_id
event_id
type
Rounds are either EventRounds (which have not been scored) or ScoredRounds. Only ScoredRounds are used in computing quotas.
date
Date round was played (event dte)
team
Team number of the team the player was on
tee
The tee the player played from (group primary tee)
quota
The players quota and the date the game was played
front
Points pulled on the front side
back
Points pulled on the back side
total
Total points pulled (sum of front and back)
quality
Any wealth distributed to the player from the team event.
skins
Any wealth distributed to the player from and optional skins side game
par3
Any wealth distributed to the player from and optional par3 side game
other
Any wealth distributed to the player from and optional other game