iro/model/schema.py
branchdevel
changeset 263 52284710c0b4
parent 258 0a5eb5aac0be
child 275 88d45c846f2b
equal deleted inserted replaced
262:212a69cc4d44 263:52284710c0b4
   140 
   140 
   141 class Job(Base):
   141 class Job(Base):
   142     """A complete Job.
   142     """A complete Job.
   143 
   143 
   144     - **status** show the status of the job (``init``, ``started``, ``sending``, ``sended`` or ``error``). 
   144     - **status** show the status of the job (``init``, ``started``, ``sending``, ``sended`` or ``error``). 
   145     - **info** is used to make it possible to create diffrent billing groups for user.
   145     - **info** is used to make it possible to create different billing groups for user.
   146     """
   146     """
   147     __tablename__ = "job"
   147     __tablename__ = "job"
   148     id = Column(Integer, Sequence('job_id_seq'), primary_key=True)
   148     id = Column(Integer, Sequence('job_id_seq'), primary_key=True)
   149     """job id"""
   149     """job id"""
   150     info = Column(String(100))
   150     info = Column(String(100))