mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-19 23:06:50 +01:00
chore: Adapt to hexagonal architecture pattern.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
|
||||
namespace SP\DataModel;
|
||||
|
||||
use SP\Domain\Common\Out\DataModelBase;
|
||||
use SP\Domain\Common\Out\DataModelInterface;
|
||||
use SP\Domain\Common\Adapters\DataModel;
|
||||
use SP\Domain\Common\Adapters\DataModelInterface;
|
||||
|
||||
defined('APP_ROOT') || die();
|
||||
|
||||
@@ -34,7 +34,7 @@ defined('APP_ROOT') || die();
|
||||
*
|
||||
* @package SP\DataModel
|
||||
*/
|
||||
class UserGroupData extends DataModelBase implements DataModelInterface
|
||||
class UserGroupData extends DataModel implements DataModelInterface
|
||||
{
|
||||
public int $id = 0;
|
||||
public ?string $name = null;
|
||||
@@ -80,4 +80,4 @@ class UserGroupData extends DataModelBase implements DataModelInterface
|
||||
{
|
||||
$this->users = $users;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user