b374k
m1n1 1.01
Apache/2.4.41 (Ubuntu)
Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64
uid=33(www-data) gid=33(www-data) groups=33(www-data)
server ip : 62.171.164.128 | your ip : 127.0.0.1
safemode OFF
 >  / home / dev2.destoffenstraat.com / app / code / Amasty / CustomerExport / Model / Profile /
Filename/home/dev2.destoffenstraat.com/app/code/Amasty/CustomerExport/Model/Profile/Profile.php
Size3.8 kb
Permissionrw-r--r--
Ownerroot : root
Create time17-Aug-2025 10:26
Last modified14-Jun-2025 23:39
Last accessed22-Aug-2025 14:04
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?php

declare(strict_types=1);

/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Export Customers for Magento 2
*/

namespace Amasty\CustomerExport\Model\Profile;

use Amasty\CronSchedule\Api\Data\ScheduleInterface;
use Amasty\ExportCore\Api\Config\ProfileConfigInterface;
use Amasty\CustomerExport\Api\Data\ProfileInterface;
use Magento\Framework\Model\AbstractModel;

class Profile extends AbstractModel implements ProfileInterface
{
public const ID = 'id';
public const NAME = 'name';
public const CREATED_AT = 'created_at';
public const UPDATED_AT = 'updated_at';
public const EXPORTED_AT = 'exported_at';
public const SERIALIZED_CONFIG = 'serialized_config';
public const CONFIG = 'config';
public const FILE_FORMAT = 'file_format';
public const EXECUTION_TYPE = 'execution_type';
public const SCHEDULE = 'schedule';
public const PROFILE_EVENT = 'profile_event';

public function _construct()
{
parent::_construct();
$this->_init(ResourceModel\Profile::class);
$this->setIdFieldName(self::ID);
}

public function getName(): ?string
{
return $this->getData(self::NAME);
}

public function setName(?string $name): ProfileInterface
{
$this->setData(self::NAME, $name);

return $this;
}

public function getCreatedAt(): ?string
{
return $this->getData(self::CREATED_AT);
}

public function setCreatedAt(?string $createdAt): ProfileInterface
{
$this->setData(self::CREATED_AT, $createdAt);

return $this;
}

public function getExportedAt(): ?string
{
return $this->getData(self::EXPORTED_AT);
}

public function setExportedAt(?string $exportedAt): ProfileInterface
{
$this->setData(self::EXPORTED_AT, $exportedAt);

return $this;
}

public function getUpdatedAt(): ?string
{
return $this->getData(self::UPDATED_AT);
}

public function setUpdatedAt(?string $updatedAt): ProfileInterface
{
$this->setData(self::UPDATED_AT, $updatedAt);

return $this;
}

public function getSerializedConfig(): ?string
{
return $this->getData(self::SERIALIZED_CONFIG);
}

public function setSerializedConfig(?string $serializedConfig): ProfileInterface
{
$this->setData(self::SERIALIZED_CONFIG, $serializedConfig);

return $this;
}

public function getConfig(): ?ProfileConfigInterface
{
return $this->getData(self::CONFIG);
}

public function setConfig(?ProfileConfigInterface $config): ProfileInterface
{
$this->setData(self::CONFIG, $config);

return $this;
}

public function getFileFormat(): ?string
{
return $this->getData(self::FILE_FORMAT);
}

public function setFileFormat(?string $fileFormat): ProfileInterface
{
$this->setData(self::FILE_FORMAT, $fileFormat);

return $this;
}

public function getExecutionType(): ?string
{
return $this->getData(self::EXECUTION_TYPE);
}

public function setExecutionType(?string $executionType): ProfileInterface
{
$this->setData(self::EXECUTION_TYPE, $executionType);

return $this;
}

public function getSchedule(): ?ScheduleInterface
{
return $this->getData(self::SCHEDULE);
}

public function setSchedule(?ScheduleInterface $schedule): ProfileInterface
{
$this->setData(self::SCHEDULE, $schedule);

return $this;
}

public function getProfileEvents(): ?array
{
return $this->getData(self::PROFILE_EVENT);
}

public function setProfileEvents(array $profileEvents): ProfileInterface
{
$this->setData(self::PROFILE_EVENT, $profileEvents);

return $this;
}
}