The naming convention for the model class is to omit tl_, convert the snake_case to PascalCase and add “Model”.
// src/Model/ExampleModel.php
namespaceApp\Model;useContao\Model;/**
* add properties for IDE support
*
* @property string $hash
*/classExampleModelextendsModel{protectedstatic$strTable='tl_example';// if you have logic you need more often, you can implement it here
publicfunctionsetHash(){$this->hash=md5($this->id);}}