issues/27: prod baseline without task branch
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Entity;
|
||||
|
||||
use App\Entity\Behavior\UpdateTimestampTrait;
|
||||
use App\Repository\SiteServiceRepository;
|
||||
use Doctrine\DBAL\Types\Types;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
@@ -12,13 +11,9 @@ use Symfony\Component\Serializer\Annotation\Groups;
|
||||
#[ORM\Table(name: 'site_services')]
|
||||
#[ORM\Index(name: 'idx_site_services_region_id', columns: ['region_id'])]
|
||||
#[ORM\Index(name: 'idx_site_services_active', columns: ['active'])]
|
||||
#[ORM\HasLifecycleCallbacks]
|
||||
class SiteService
|
||||
{
|
||||
use UpdateTimestampTrait;
|
||||
|
||||
#[ORM\Id]
|
||||
#[ORM\GeneratedValue(strategy: "IDENTITY")]
|
||||
#[ORM\Column(type: Types::INTEGER)]
|
||||
#[Groups(['site_service:read'])]
|
||||
private ?int $id = null;
|
||||
@@ -47,8 +42,8 @@ class SiteService
|
||||
#[Groups(['site_service:read', 'site_service:write'])]
|
||||
private ?string $content = null;
|
||||
|
||||
#[ORM\Column(name: 'update_at', type: Types::DATETIME_IMMUTABLE, nullable: true)]
|
||||
#[Groups(['site_service:read'])]
|
||||
#[ORM\Column(name: 'update_at', type: Types::DATETIME_MUTABLE, nullable: true)]
|
||||
#[Groups(['site_service:read', 'site_service:write'])]
|
||||
private ?\DateTimeInterface $updateAt = null;
|
||||
|
||||
#[ORM\Column(name: 'link_videoreviews', type: 'jsonb', nullable: true)]
|
||||
|
||||
Reference in New Issue
Block a user