Every model class inherits from Magento\Framework\Model\AbstractModel class, which further extends from \Magento\Framework\DataObject. DataObject class allows us to use some important functions like setData() and getData()
Getting Started With Magento 2 Module Development
Hello Everyone, welcome to my blogs. Today, we are going to discuss about creating a simple module in Magneto 2.