create a parent class for duration membership badge