Workout With Friends
Stay fit with a little motivation
 All Classes Namespaces Files Functions Variables Properties
Public Member Functions | Public Attributes | Static Private Attributes | List of all members
wowf.models.workout.BenchPressWorkout Class Reference
Inheritance diagram for wowf.models.workout.BenchPressWorkout:
Inheritance graph
Collaboration diagram for wowf.models.workout.BenchPressWorkout:
Collaboration graph

Public Member Functions

def __init__
- Public Member Functions inherited from wowf.models.workout.WeightWorkout
def create
- Public Member Functions inherited from wowf.models.workout._Workout
def id

Public Attributes

 user
 challenge
 repetitions
 points

Static Private Attributes

string __tablename__ = 'bench_press_workouts'
dictionary __mapper_args__ = {'polymorphic_identity': ChallengeType.lookup_data.index('bench_press') + 1}

Additional Inherited Members

- Static Public Attributes inherited from wowf.models.workout.WeightWorkout
tuple repetitions = Column(SmallInteger(unsigned=True), nullable=False)
- Static Public Attributes inherited from wowf.models.workout.Workout
tuple id = Column(Integer(unsigned=True), primary_key=True)
tuple user_id = Column(Integer(unsigned=True), ForeignKey('users.id'), nullable=False)
tuple challenge_id = Column(Integer(unsigned=True), ForeignKey('challenges.id'), nullable=False)
tuple challenge_type_id
tuple points = Column(SmallInteger(unsigned=True), nullable=False)
tuple created_at = Column(DateTime, nullable=False, default=current_timestamp)
tuple user
tuple challenge

Detailed Description

Definition at line 150 of file workout.py.

Constructor & Destructor Documentation

def wowf.models.workout.BenchPressWorkout.__init__ (   self,
  user,
  challenge,
  repetitions 
)

Definition at line 155 of file workout.py.

Member Data Documentation

dictionary wowf.models.workout.BenchPressWorkout.__mapper_args__ = {'polymorphic_identity': ChallengeType.lookup_data.index('bench_press') + 1}
staticprivate

Definition at line 153 of file workout.py.

string wowf.models.workout.BenchPressWorkout.__tablename__ = 'bench_press_workouts'
staticprivate

Definition at line 152 of file workout.py.

wowf.models.workout.BenchPressWorkout.challenge

Definition at line 157 of file workout.py.

wowf.models.workout.BenchPressWorkout.points

Definition at line 159 of file workout.py.

wowf.models.workout.BenchPressWorkout.repetitions

Definition at line 158 of file workout.py.

wowf.models.workout.BenchPressWorkout.user

Definition at line 156 of file workout.py.


The documentation for this class was generated from the following file: