Replace BaseEntity with BaseDataTransferObject class for API representation classes
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
namespace Friendica\Object\Api\Friendica;
|
||||
|
||||
use Friendica\BaseEntity;
|
||||
use Friendica\BaseDataTransferObject;
|
||||
use Friendica\Content\Text\BBCode;
|
||||
use Friendica\Content\Text\HTML;
|
||||
use Friendica\Model\Notify;
|
||||
@@ -33,7 +33,7 @@ use Friendica\Util\Temporal;
|
||||
*
|
||||
* @see https://github.com/friendica/friendica/blob/develop/doc/API-Entities.md#notification
|
||||
*/
|
||||
class Notification extends BaseEntity
|
||||
class Notification extends BaseDataTransferObject
|
||||
{
|
||||
/** @var integer */
|
||||
protected $id;
|
||||
|
||||
Reference in New Issue
Block a user