mirror of
https://github.com/friendica/friendica
synced 2025-04-27 19:50:12 +00:00
Replace BaseEntity with BaseDataTransferObject class for API representation classes
This commit is contained in:
parent
3e257d4266
commit
0fc5f26ff7
18 changed files with 53 additions and 49 deletions
|
@ -21,14 +21,14 @@
|
|||
|
||||
namespace Friendica\Object\Api\Mastodon;
|
||||
|
||||
use Friendica\BaseEntity;
|
||||
use Friendica\BaseDataTransferObject;
|
||||
|
||||
/**
|
||||
* Class Activity
|
||||
*
|
||||
* @see https://docs.joinmastodon.org/entities/activity
|
||||
*/
|
||||
class Activity extends BaseEntity
|
||||
class Activity extends BaseDataTransferObject
|
||||
{
|
||||
/** @var string (UNIX Timestamp) */
|
||||
protected $week;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue