@classmethod
def latest(cls, database):
    """
        Finds the latest model in the given db.

        :param db: sqlalchemy session to find the item.
        :returns: the latest model if its found None otherwise.
        """
    return database.query(cls).order_by(cls.created.desc()).first()
