add attribute int to model class amount