I have create database table and want to create model,resource,Collection class and know that how to create.
Have follow the blog https://www.softprodigy.com/store/article/create-model-and-collection-for-custom-table-in-magento2/
Now, my question if want use created model for API then
- What classes and interface need to add my Model, Resource,Collection Class?
- What API classes are need to write?
- Should i create Factory class of those class?
In single word, how to write an standard Model class to Magento 2
Can any one give a brief and describe answer