Generate className on model