<?php
namespace Sq\Entity\Schema\ORM;
use Doctrine\ORM\Mapping as ORM;
use Sq\Entity\Schema\Column\AccountSettingsAddImageFromLink;
use Sq\Entity\Schema\Column\AccountSettingsAddToQueuePosition;
use Sq\Entity\Schema\Column\AccountSettingsFbLinkPreviewRemoved;
use Sq\Entity\Schema\Column\AccountSettingsImportQueuePosition;
use Sq\Entity\Schema\Column\PostTikTokPrivacy;
use Sq\Entity\Schema\Column\PostYouTubePrivacy;
/**
* AccountSettings.
*/
#[ORM\Entity]
#[ORM\Table(name: 'account_settings')]
#[ORM\Index(name: 'as_paused', columns: ['as_pause_all_queues'])]
class AccountSettings
{
#[ORM\OneToOne(targetEntity: Member::class, inversedBy: 'accountSettings')]
#[ORM\JoinColumn(name: 'as_m_id', referencedColumnName: 'm_id')]
#[ORM\Id]
private $member;
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_pause_all_queues', type: 'boolean', nullable: true)]
private $pauseAllQueues = '0';
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_pause_all_auto_imports', type: 'boolean', nullable: true)]
private $pauseAllAutoImports = '0';
/**
* @var bool
*/
#[ORM\Column(name: 'as_notify_message', type: 'boolean', nullable: false, options: ['default' => '1'])]
private $notifyMessage = '1';
/**
* @var bool
*/
#[ORM\Column(name: 'as_notify_follow', type: 'boolean', nullable: false, options: ['default' => '1'])]
private $notifyFollow = '1';
/**
* @var bool
*/
#[ORM\Column(name: 'as_notify_comment', type: 'boolean', nullable: false, options: ['default' => '1'])]
private $notifyComment = '1';
/**
* @var bool
*/
#[ORM\Column(name: 'as_notify_comment_tagged', type: 'boolean', nullable: false, options: ['default' => '1'])]
private $notifyCommentTagged = '1';
/**
* @var bool
*/
#[ORM\Column(name: 'as_notify_photo_tag', type: 'boolean', nullable: false, options: ['default' => '1'])]
private $notifyPhotoTag = '1';
/**
* @var bool
*/
#[ORM\Column(name: 'as_notify_photo_like', type: 'boolean', nullable: false, options: ['default' => '1'])]
private $notifyPhotoLike = '1';
/**
* @var bool
*/
#[ORM\Column(name: 'as_notify_photo_like_tagged', type: 'boolean', nullable: false, options: ['default' => '1'])]
private $notifyPhotoLikeTagged = '1';
/**
* @var bool
*/
#[ORM\Column(name: 'as_notify_featured_photo', type: 'boolean', nullable: false, options: ['default' => '1'])]
private $notifyFeaturedPhoto = '1';
/**
* @var bool
*/
#[ORM\Column(name: 'as_notify_featured_photo_tagged', type: 'boolean', nullable: false, options: ['default' => '1'])]
private $notifyFeaturedPhotoTagged = '1';
/**
* @var string|null
*/
#[ORM\Column(name: 'as_notify_new_members', type: 'string', length: 0, nullable: true, options: ['default' => 'weekly'])]
private $notifyNewMembers = 'weekly';
/**
* @var string|null
*/
#[ORM\Column(name: 'as_notify_new_castings', type: 'string', length: 0, nullable: true, options: ['default' => 'weekly'])]
private $notifyNewCtings = 'weekly';
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_watermark_shared_photos', type: 'boolean', nullable: true, options: ['default' => '1'])]
private $watermarkSharedPhotos = '1';
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_notify_queue_empty', type: 'boolean', nullable: true, options: ['default' => '1'])]
private $notifyQueueEmpty = '1';
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_notify_post_fail', type: 'boolean', nullable: true, options: ['default' => '1'])]
private $notifyPostFail = '1';
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_notify_instagram_post', type: 'boolean', nullable: true)]
private $notifyInstagramPost = '0';
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_notify_auto_rss_fail', type: 'boolean', nullable: true, options: ['default' => '1'])]
private $notifyAutoRssFail = '1';
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_notify_weekly_stats', type: 'boolean', nullable: true, options: ['default' => '1'])]
private $notifyWeeklyStats = '1';
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_notify_social_essentials', type: 'boolean', nullable: true, options: ['default' => '1'])]
private $notifySocialEssentials = '1';
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_notify_product_updates', type: 'boolean', nullable: true, options: ['default' => '1'])]
private $notifyProductUpdates = '1';
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_notify_subscription', type: 'boolean', nullable: true, options: ['default' => '1'])]
private $notifySubscription = '1';
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_notify_mailing_list', type: 'boolean', nullable: true)]
private $notifyMailingList;
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_notify_feature_added', type: 'boolean', nullable: true, options: ['default' => '1'])]
private $notifyFeatureAdded = '1';
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_notify_referral_credits', type: 'boolean', nullable: true, options: ['default' => '1'])]
private $notifyReferralCredits = '1';
/**
* @var string|null
*/
#[ORM\Column(name: 'as_link_shortener', type: 'string', length: 128, nullable: true, options: ['default' => 'none'])]
private $linkShortener = 'none';
/**
* @var string|null
*/
#[ORM\Column(name: 'as_image_size', type: 'string', length: 0, nullable: true, options: ['default' => 'large_images'])]
private $imageSize = 'large_images';
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_image_rotation_type', type: 'boolean', nullable: true)]
private $imageRotationType = '0';
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_recycle', type: 'boolean', nullable: true, options: ['default' => '1'])]
private $recycle = '1';
/**
* @var string|null
*/
#[ORM\Column(name: 'as_import_queue_position', type: 'string', length: 0, nullable: true, options: ['default' => 'queue'])]
private $importQueuePosition = AccountSettingsImportQueuePosition::QUEUE;
/**
* @var string
*/
#[ORM\Column(name: 'as_tk_privacy', type: 'string', length: 0, nullable: false, options: ['default' => 'ask'])]
private $tikTokPrivacy = PostTikTokPrivacy::ASK;
/**
* @var boolean
*/
#[ORM\Column(name: 'as_tk_disable_comment', type: 'boolean', nullable: false)]
private bool $tikTokDisableComment = true;
/**
* @var boolean
*/
#[ORM\Column(name: 'as_tk_disable_duet', type: 'boolean', nullable: false)]
private bool $tikTokDisableDuet = true;
/**
* @var boolean
*/
#[ORM\Column(name: 'as_tk_disable_stitch', type: 'boolean', nullable: false)]
private bool $tikTokDisableStitch = true;
/**
* @var string
*/
#[ORM\Column(name: 'as_yt_privacy', type: 'string', length: 0, nullable: false, options: ['default' => 'ask'])]
private $youTubePrivacy = PostYouTubePrivacy::ASK;
/**
* @var string|null
*/
#[ORM\Column(name: 'as_add_to_queue_position', type: 'string', length: 0, nullable: true, options: ['default' => 'bottom'])]
private $addToQueuePosition = AccountSettingsAddToQueuePosition::BOTTOM;
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_attribution_tw', type: 'boolean', nullable: true, options: ['default' => '1'])]
private $attributionTw = '1';
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_attribution_ig', type: 'boolean', nullable: true, options: ['default' => '1'])]
private $attributionIg = '1';
/**
* @var int|null
*/
#[ORM\Column(name: 'as_add_image_from_link', type: 'smallint', nullable: true)]
private $addImageFromLink = AccountSettingsAddImageFromLink::USE_EXISTING_IMAGES;
/**
* @var int|null
*/
#[ORM\Column(name: 'as_fb_link_preview_removed', type: 'smallint', nullable: true)]
private $fbLinkPreviewRemoved = AccountSettingsFbLinkPreviewRemoved::USE_LINK_PREVIEW;
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_ga_campaign_tracking', type: 'boolean', nullable: true)]
private $gaCampaignTracking = '0';
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_ga_remove_utm', type: 'boolean', nullable: true)]
private $gaRemoveUtm = '0';
/**
* @var string|null
*/
#[ORM\Column(name: 'as_ga_utm_source', type: 'string', length: 64, nullable: true, options: ['default' => '_NETWORK_'])]
private $gaUtmSource = '_NETWORK_';
/**
* @var string|null
*/
#[ORM\Column(name: 'as_ga_utm_medium', type: 'string', length: 64, nullable: true, options: ['default' => 'social'])]
private $gaUtmMedium = 'social';
/**
* @var string|null
*/
#[ORM\Column(name: 'as_ga_utm_campaign', type: 'string', length: 64, nullable: true, options: ['default' => '_ACCOUNT_'])]
private $gaUtmCampaign = '_ACCOUNT_';
/**
* @var string|null
*/
#[ORM\Column(name: 'as_ga_utm_term', type: 'string', length: 64, nullable: true)]
private $gaUtmTerm;
/**
* @var string|null
*/
#[ORM\Column(name: 'as_ga_utm_content', type: 'string', length: 64, nullable: true, options: ['default' => '_CATEGORY_'])]
private $gaUtmContent = '_CATEGORY_';
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_track_ga', type: 'boolean', nullable: true)]
private $trackGa;
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_track_amplitude', type: 'boolean', nullable: true)]
private $trackAmplitude;
/**
* @var bool|null
*/
#[ORM\Column(name: 'as_track_remarketing', type: 'boolean', nullable: true)]
private $trackRemarketing;
public function __construct(Member $member, bool $notifyMailingList, bool $trackProductAnalytics, bool $trackRemarketing)
{
$this->member = $member;
$this->notifyMailingList = $notifyMailingList;
$this->trackGa = $trackProductAnalytics;
$this->trackAmplitude = $trackProductAnalytics;
$this->trackRemarketing = $trackRemarketing;
}
public function getMember(): ?Member
{
return $this->member;
}
public function getPauseAllQueues(): ?bool
{
return $this->pauseAllQueues;
}
public function setPauseAllQueues(?bool $pauseAllQueues): self
{
$this->pauseAllQueues = $pauseAllQueues;
return $this;
}
public function getPauseAllAutoImports(): ?bool
{
return $this->pauseAllAutoImports;
}
public function setPauseAllAutoImports(?bool $pauseAllAutoImports): self
{
$this->pauseAllAutoImports = $pauseAllAutoImports;
return $this;
}
public function getNotifyMessage(): ?bool
{
return $this->notifyMessage;
}
public function setNotifyMessage(bool $notifyMessage): self
{
$this->notifyMessage = $notifyMessage;
return $this;
}
public function getNotifyFollow(): ?bool
{
return $this->notifyFollow;
}
public function setNotifyFollow(bool $notifyFollow): self
{
$this->notifyFollow = $notifyFollow;
return $this;
}
public function getNotifyComment(): ?bool
{
return $this->notifyComment;
}
public function setNotifyComment(bool $notifyComment): self
{
$this->notifyComment = $notifyComment;
return $this;
}
public function getNotifyCommentTagged(): ?bool
{
return $this->notifyCommentTagged;
}
public function setNotifyCommentTagged(bool $notifyCommentTagged): self
{
$this->notifyCommentTagged = $notifyCommentTagged;
return $this;
}
public function getNotifyPhotoTag(): ?bool
{
return $this->notifyPhotoTag;
}
public function setNotifyPhotoTag(bool $notifyPhotoTag): self
{
$this->notifyPhotoTag = $notifyPhotoTag;
return $this;
}
public function getNotifyPhotoLike(): ?bool
{
return $this->notifyPhotoLike;
}
public function setNotifyPhotoLike(bool $notifyPhotoLike): self
{
$this->notifyPhotoLike = $notifyPhotoLike;
return $this;
}
public function getNotifyPhotoLikeTagged(): ?bool
{
return $this->notifyPhotoLikeTagged;
}
public function setNotifyPhotoLikeTagged(bool $notifyPhotoLikeTagged): self
{
$this->notifyPhotoLikeTagged = $notifyPhotoLikeTagged;
return $this;
}
public function getNotifyFeaturedPhoto(): ?bool
{
return $this->notifyFeaturedPhoto;
}
public function setNotifyFeaturedPhoto(bool $notifyFeaturedPhoto): self
{
$this->notifyFeaturedPhoto = $notifyFeaturedPhoto;
return $this;
}
public function getNotifyFeaturedPhotoTagged(): ?bool
{
return $this->notifyFeaturedPhotoTagged;
}
public function setNotifyFeaturedPhotoTagged(bool $notifyFeaturedPhotoTagged): self
{
$this->notifyFeaturedPhotoTagged = $notifyFeaturedPhotoTagged;
return $this;
}
public function getNotifyNewMembers(): ?string
{
return $this->notifyNewMembers;
}
public function setNotifyNewMembers(?string $notifyNewMembers): self
{
$this->notifyNewMembers = $notifyNewMembers;
return $this;
}
public function getNotifyNewCtings(): ?string
{
return $this->notifyNewCtings;
}
public function setNotifyNewCtings(?string $notifyNewCtings): self
{
$this->notifyNewCtings = $notifyNewCtings;
return $this;
}
public function getWatermarkSharedPhotos(): ?bool
{
return $this->watermarkSharedPhotos;
}
public function setWatermarkSharedPhotos(?bool $watermarkSharedPhotos): self
{
$this->watermarkSharedPhotos = $watermarkSharedPhotos;
return $this;
}
public function getNotifyQueueEmpty(): ?bool
{
return $this->notifyQueueEmpty;
}
public function setNotifyQueueEmpty(?bool $notifyQueueEmpty): self
{
$this->notifyQueueEmpty = $notifyQueueEmpty;
return $this;
}
public function getNotifyPostFail(): ?bool
{
return $this->notifyPostFail;
}
public function setNotifyPostFail(?bool $notifyPostFail): self
{
$this->notifyPostFail = $notifyPostFail;
return $this;
}
public function getNotifyInstagramPost(): ?bool
{
return $this->notifyInstagramPost;
}
public function setNotifyInstagramPost(?bool $notifyInstagramPost): self
{
$this->notifyInstagramPost = $notifyInstagramPost;
return $this;
}
public function getNotifyAutoRssFail(): ?bool
{
return $this->notifyAutoRssFail;
}
public function setNotifyAutoRssFail(?bool $notifyAutoRssFail): self
{
$this->notifyAutoRssFail = $notifyAutoRssFail;
return $this;
}
public function getNotifyWeeklyStats(): ?bool
{
return $this->notifyWeeklyStats;
}
public function setNotifyWeeklyStats(?bool $notifyWeeklyStats): self
{
$this->notifyWeeklyStats = $notifyWeeklyStats;
return $this;
}
public function getNotifySocialEssentials(): ?bool
{
return $this->notifySocialEssentials;
}
public function setNotifySocialEssentials(?bool $notifySocialEssentials): self
{
$this->notifySocialEssentials = $notifySocialEssentials;
return $this;
}
public function getNotifyProductUpdates(): ?bool
{
return $this->notifyProductUpdates;
}
public function setNotifyProductUpdates(?bool $notifyProductUpdates): self
{
$this->notifyProductUpdates = $notifyProductUpdates;
return $this;
}
public function getNotifySubscription(): ?bool
{
return $this->notifySubscription;
}
public function setNotifySubscription(?bool $notifySubscription): self
{
$this->notifySubscription = $notifySubscription;
return $this;
}
public function getNotifyMailingList(): ?bool
{
return $this->notifyMailingList;
}
public function setNotifyMailingList(?bool $notifyMailingList): self
{
$this->notifyMailingList = $notifyMailingList;
return $this;
}
public function getNotifyFeatureAdded(): ?bool
{
return $this->notifyFeatureAdded;
}
public function setNotifyFeatureAdded(?bool $notifyFeatureAdded): self
{
$this->notifyFeatureAdded = $notifyFeatureAdded;
return $this;
}
public function getNotifyReferralCredits(): ?bool
{
return $this->notifyReferralCredits;
}
public function setNotifyReferralCredits(?bool $notifyReferralCredits): self
{
$this->notifyReferralCredits = $notifyReferralCredits;
return $this;
}
public function getLinkShortener(): ?string
{
return $this->linkShortener;
}
public function setLinkShortener(?string $linkShortener): self
{
$this->linkShortener = $linkShortener;
return $this;
}
public function getImageSize(): ?string
{
return $this->imageSize;
}
public function setImageSize(?string $imageSize): self
{
$this->imageSize = $imageSize;
return $this;
}
public function getImageRotationType(): ?bool
{
return $this->imageRotationType;
}
public function setImageRotationType(?bool $imageRotationType): self
{
$this->imageRotationType = $imageRotationType;
return $this;
}
public function getRecycle(): ?bool
{
return $this->recycle;
}
public function setRecycle(?bool $recycle): self
{
$this->recycle = $recycle;
return $this;
}
public function getImportQueuePosition(): ?string
{
return $this->importQueuePosition;
}
public function setImportQueuePosition(?string $importQueuePosition): self
{
$this->importQueuePosition = $importQueuePosition;
return $this;
}
public function getTikTokPrivacy(): string
{
return $this->tikTokPrivacy;
}
public function setTikTokPrivacy(string $tikTokPrivacy): self
{
$this->tikTokPrivacy = $tikTokPrivacy;
return $this;
}
public function isTikTokCommentDisabled(): bool
{
return $this->tikTokDisableComment;
}
public function disableTikTokComment(bool $tikTokDisableComment): self
{
$this->tikTokDisableComment = $tikTokDisableComment;
return $this;
}
public function isTikTokDuetDisabled(): bool
{
return $this->tikTokDisableDuet;
}
public function disableTikTokDuet(bool $tikTokDisableDuet): self
{
$this->tikTokDisableDuet = $tikTokDisableDuet;
return $this;
}
public function isTikTokStitchDisabled(): bool
{
return $this->tikTokDisableStitch;
}
public function disableTikTokStitch(bool $tikTokDisableStitch): self
{
$this->tikTokDisableStitch = $tikTokDisableStitch;
return $this;
}
public function getYouTubePrivacy(): string
{
return $this->youTubePrivacy;
}
public function setYouTubePrivacy(string $youTubePrivacy): self
{
$this->youTubePrivacy = $youTubePrivacy;
return $this;
}
public function getAddToQueuePosition(): ?string
{
return $this->addToQueuePosition;
}
public function setAddToQueuePosition(?string $addToQueuePosition): self
{
$this->addToQueuePosition = $addToQueuePosition;
return $this;
}
public function getAttributionTw(): ?bool
{
return $this->attributionTw;
}
public function setAttributionTw(?bool $attributionTw): self
{
$this->attributionTw = $attributionTw;
return $this;
}
public function getAttributionIg(): ?bool
{
return $this->attributionIg;
}
public function setAttributionIg(?bool $attributionIg): self
{
$this->attributionIg = $attributionIg;
return $this;
}
public function getAddImageFromLink(): ?int
{
return $this->addImageFromLink;
}
public function setAddImageFromLink(?int $addImageFromLink): self
{
$this->addImageFromLink = $addImageFromLink;
return $this;
}
public function getFbLinkPreviewRemoved(): ?int
{
return $this->fbLinkPreviewRemoved;
}
public function setFbLinkPreviewRemoved(?int $fbLinkPreviewRemoved): self
{
$this->fbLinkPreviewRemoved = $fbLinkPreviewRemoved;
return $this;
}
public function getGaCampaignTracking(): ?bool
{
return $this->gaCampaignTracking;
}
public function setGaCampaignTracking(?bool $gaCampaignTracking): self
{
$this->gaCampaignTracking = $gaCampaignTracking;
return $this;
}
public function getGaRemoveUtm(): ?bool
{
return $this->gaRemoveUtm;
}
public function setGaRemoveUtm(?bool $gaRemoveUtm): self
{
$this->gaRemoveUtm = $gaRemoveUtm;
return $this;
}
public function getGaUtmSource(): ?string
{
return $this->gaUtmSource;
}
public function setGaUtmSource(?string $gaUtmSource): self
{
$this->gaUtmSource = $gaUtmSource;
return $this;
}
public function getGaUtmMedium(): ?string
{
return $this->gaUtmMedium;
}
public function setGaUtmMedium(?string $gaUtmMedium): self
{
$this->gaUtmMedium = $gaUtmMedium;
return $this;
}
public function getGaUtmCampaign(): ?string
{
return $this->gaUtmCampaign;
}
public function setGaUtmCampaign(?string $gaUtmCampaign): self
{
$this->gaUtmCampaign = $gaUtmCampaign;
return $this;
}
public function getGaUtmTerm(): ?string
{
return $this->gaUtmTerm;
}
public function setGaUtmTerm(?string $gaUtmTerm): self
{
$this->gaUtmTerm = $gaUtmTerm;
return $this;
}
public function getGaUtmContent(): ?string
{
return $this->gaUtmContent;
}
public function setGaUtmContent(?string $gaUtmContent): self
{
$this->gaUtmContent = $gaUtmContent;
return $this;
}
public function getTrackGa(): ?bool
{
return $this->trackGa;
}
public function setTrackGa(?bool $trackGa): self
{
$this->trackGa = $trackGa;
return $this;
}
public function getTrackAmplitude(): ?bool
{
return $this->trackAmplitude;
}
public function setTrackAmplitude(?bool $trackAmplitude): self
{
$this->trackAmplitude = $trackAmplitude;
return $this;
}
public function getTrackRemarketing(): ?bool
{
return $this->trackRemarketing;
}
public function setTrackRemarketing(?bool $trackRemarketing): self
{
$this->trackRemarketing = $trackRemarketing;
return $this;
}
}