How we can create custom eav entity and model in magento2. I want to create a custom module where new attributes/fields can be created by user. I will use it to show the details in the grid in admin panel.

I am unable to find any tutorial or reference for this.

Thanks,