Skip to content

Commit

Permalink
requsted changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioRadu committed Oct 30, 2023
1 parent 90cb7bc commit 98a0300
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Admin/src/Entity/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

use function array_map;

#[ORM\Entity(repositoryClass: AdminRepository::class, readOnly: false)]
#[ORM\Entity(repositoryClass: AdminRepository::class)]
#[ORM\Table(name: "admin")]
#[ORM\HasLifecycleCallbacks]
class Admin extends AbstractEntity implements AdminInterface
Expand Down
3 changes: 1 addition & 2 deletions src/Admin/src/Entity/AdminLogin.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Frontend\Admin\Repository\AdminLoginRepository;
use Frontend\App\Entity\AbstractEntity;

#[ORM\Entity(repositoryClass: AdminLoginRepository::class, readOnly: false)]
#[ORM\Entity(repositoryClass: AdminLoginRepository::class)]
#[ORM\Table(name: 'admin_login')]
#[ORM\HasLifecycleCallbacks]
class AdminLogin extends AbstractEntity
Expand Down Expand Up @@ -42,7 +42,6 @@ class AdminLogin extends AbstractEntity
#[ORM\Column(
name: "isMobile",
type: "string",
length: 40,
nullable: true,
columnDefinition: "ENUM('yes', 'no')"
)]
Expand Down
2 changes: 1 addition & 1 deletion src/Admin/src/Entity/AdminRole.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Frontend\Admin\Repository\AdminRoleRepository;
use Frontend\App\Entity\AbstractEntity;

#[ORM\Entity(repositoryClass: AdminRoleRepository::class, readOnly: false)]
#[ORM\Entity(repositoryClass: AdminRoleRepository::class)]
#[ORM\Table(name: 'admin_role')]
#[ORM\HasLifecycleCallbacks]
class AdminRole extends AbstractEntity
Expand Down

0 comments on commit 98a0300

Please sign in to comment.