Package bosco :: Module run :: Class Punch
[hide private]
[frames] | no frames]

Class Punch

source code

??-34 --+
        |
       Punch

Instance Methods [hide private]
 
__init__(self, sistation, card_punchtime=None, manual_punchtime=None, sequence=None)
Creates a new punch object.
source code
 
_get_punchtime(self) source code
 
punchtime(self) source code
Class Variables [hide private]
  __storm_table__ = 'punch'
  id = Int(primary= True)
  _run_id = Int(name= 'run')
  run = Reference(_run_id, 'Run.id')
  _sistation_id = Int(name= 'sistation')
  sistation = Reference(_sistation_id, 'SIStation.id')
  card_punchtime = DateTime(name= 'card_punchtime')
  manual_punchtime = DateTime()
  ignore = Bool()
  sequence = Int()
Method Details [hide private]

__init__(self, sistation, card_punchtime=None, manual_punchtime=None, sequence=None)
(Constructor)

source code 

Creates a new punch object. This object needs to be added to a run. It can not "live" on its own.