@classmethod
def destroy(cls, *ids):
    """Delete the records with the given ids
        :type ids: list
        :param ids: primary key ids of records
        """
    for pk in ids:
        cls.find(pk).delete()
    cls.session.flush()
