Where to write reusable code to access in all the models

Thank you very much :slight_smile: