How to add custom fields to models

I am trying to create the following plugin: Creating a User - Tag relation plugin