def get_entity_name(cls): return to_snake_case(cls.__name__)
def get_entity_name(self): return to_snake_case(self.__class__.__name__)
def get_class_id_name(cls): id_name = to_snake_case(cls.__name__) + '_id' if id_name.startswith('state_'): id_name = id_name.replace('state_', '') return id_name
def get_class_id_name(cls): id_name = to_snake_case(cls.__name__) + "_id" if id_name.startswith("state_"): id_name = id_name.replace("state_", "") return id_name