I have create database table and want to create model,resource,Collection class and know that how to create.
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