mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-12 11:26:55 +01:00
chore: Refactor encryptable models
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
namespace SP\Infrastructure\Plugin\Repositories;
|
||||
|
||||
use SP\DataModel\EncryptedModel;
|
||||
use SP\Domain\Common\Attributes\Encryptable;
|
||||
use SP\Domain\Common\Models\HydratableModel;
|
||||
use SP\Domain\Common\Models\Model;
|
||||
use SP\Domain\Common\Models\SerializedModel;
|
||||
@@ -32,6 +33,7 @@ use SP\Domain\Common\Models\SerializedModel;
|
||||
/**
|
||||
* Class PluginDataModel
|
||||
*/
|
||||
#[Encryptable('data', 'key')]
|
||||
final class PluginDataModel extends Model implements HydratableModel
|
||||
{
|
||||
use SerializedModel;
|
||||
|
||||
Reference in New Issue
Block a user