hesabixCore/hesabixCore/src/Entity/Permission.php

725 lines
14 KiB
PHP
Raw Normal View History

2023-09-21 23:04:08 +03:30
<?php
namespace App\Entity;
use App\Repository\PermissionRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: PermissionRepository::class)]
class Permission
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\ManyToOne(inversedBy: 'permissions')]
#[ORM\JoinColumn(nullable: false)]
private ?User $user = null;
#[ORM\ManyToOne(inversedBy: 'permissions')]
#[ORM\JoinColumn(nullable: false)]
private ?Business $bid = null;
#[ORM\Column(nullable: true)]
private ?bool $owner = null;
#[ORM\Column(nullable: true)]
private ?bool $settings = null;
#[ORM\Column(nullable: true)]
private ?bool $person = null;
#[ORM\Column(nullable: true)]
private ?bool $commodity = null;
#[ORM\Column(nullable: true)]
private ?bool $getpay = null;
#[ORM\Column(nullable: true)]
private ?bool $banks = null;
#[ORM\Column(nullable: true)]
private ?bool $bankTransfer = null;
#[ORM\Column(nullable: true)]
private ?bool $buy = null;
#[ORM\Column(nullable: true)]
private ?bool $sell = null;
#[ORM\Column(nullable: true)]
private ?bool $cost = null;
#[ORM\Column(nullable: true)]
private ?bool $income = null;
#[ORM\Column(nullable: true)]
private ?bool $accounting = null;
#[ORM\Column(nullable: true)]
private ?bool $report = null;
#[ORM\Column(nullable: true)]
private ?bool $log = null;
#[ORM\Column(nullable: true)]
private ?bool $permission = null;
#[ORM\Column(nullable: true)]
private ?bool $salary = null;
#[ORM\Column(nullable: true)]
private ?bool $cashdesk = null;
#[ORM\Column(nullable: true)]
private ?bool $plugNoghreAdmin = null;
#[ORM\Column(nullable: true)]
private ?bool $plugNoghreSell = null;
#[ORM\Column(nullable: true)]
private ?bool $plugCCAdmin = null;
#[ORM\Column(nullable: true)]
private ?bool $store = null;
#[ORM\Column(nullable: true)]
private ?bool $wallet = null;
2023-11-10 23:07:10 +03:30
#[ORM\Column(nullable: true)]
private ?bool $archiveUpload = null;
#[ORM\Column(nullable: true)]
private ?bool $archiveMod = null;
#[ORM\Column(nullable: true)]
private ?bool $archiveDelete = null;
2023-11-12 17:22:01 +03:30
#[ORM\Column(nullable: true)]
private ?bool $shareholder = null;
2023-11-26 12:16:18 +03:30
#[ORM\Column(nullable: true)]
private ?bool $archiveView = null;
2024-02-14 21:56:11 +03:30
#[ORM\Column(nullable: true)]
private ?bool $cheque = null;
2024-05-04 10:29:02 +03:30
#[ORM\Column(nullable: true)]
private ?bool $plugAccproRfbuy = null;
#[ORM\Column(nullable: true)]
private ?bool $plugAccproRfsell = null;
#[ORM\Column(nullable: true)]
private ?bool $plugAccproAccounting = null;
#[ORM\Column(nullable: true)]
private ?bool $plugAccproCloseYear = null;
2024-05-27 20:33:33 +03:30
#[ORM\Column(nullable: true)]
private ?bool $plugRepservice = null;
2025-05-04 01:07:39 +03:30
#[ORM\Column(nullable: true)]
private ?bool $plugAccproPresell = null;
#[ORM\Column(nullable: true)]
private ?bool $plugHrmDocs = null;
2025-05-26 12:26:52 +03:30
#[ORM\Column(nullable: true)]
private ?bool $plugGhestaManager = null;
2025-08-06 15:16:18 +03:30
#[ORM\Column(nullable: true)]
private ?bool $plugWarrantyManager = null;
2025-07-16 18:41:53 +03:30
#[ORM\Column(nullable: true)]
private ?bool $plugTaxSettings = null;
2025-07-17 12:37:31 +03:30
#[ORM\Column(nullable: true)]
private ?bool $inquiry = null;
2025-07-18 06:29:39 +03:30
#[ORM\Column(nullable: true)]
private ?bool $ai = null;
2025-08-11 14:45:22 +03:30
#[ORM\Column(nullable: true)]
private ?bool $warehouseManager = null;
#[ORM\Column(nullable: true)]
private ?bool $importWorkflow = null;
#[ORM\Column(nullable: true)]
private ?bool $requireTwoStepSell = null;
#[ORM\Column(nullable: true)]
private ?bool $requireTwoStepPayment = null;
#[ORM\Column(nullable: true)]
private ?bool $requireTwoStepStore = null;
2023-09-21 23:04:08 +03:30
public function getId(): ?int
{
return $this->id;
}
public function getUser(): ?User
{
return $this->user;
}
public function setUser(?User $user): self
{
$this->user = $user;
return $this;
}
public function getBid(): ?Business
{
return $this->bid;
}
public function setBid(?Business $bid): self
{
$this->bid = $bid;
return $this;
}
public function isOwner(): ?bool
{
return $this->owner;
}
public function setOwner(?bool $owner): self
{
$this->owner = $owner;
return $this;
}
public function isSettings(): ?bool
{
return $this->settings;
}
public function setSettings(?bool $settings): self
{
$this->settings = $settings;
return $this;
}
public function isPerson(): ?bool
{
return $this->person;
}
public function setPerson(?bool $person): self
{
$this->person = $person;
return $this;
}
public function isCommodity(): ?bool
{
return $this->commodity;
}
public function setCommodity(?bool $commodity): self
{
$this->commodity = $commodity;
return $this;
}
public function isGetpay(): ?bool
{
return $this->getpay;
}
public function setGetpay(?bool $getpay): self
{
$this->getpay = $getpay;
return $this;
}
public function isBanks(): ?bool
{
return $this->banks;
}
public function setBanks(?bool $banks): self
{
$this->banks = $banks;
return $this;
}
public function isBankTransfer(): ?bool
{
return $this->bankTransfer;
}
public function setBankTransfer(?bool $bankTransfer): self
{
$this->bankTransfer = $bankTransfer;
return $this;
}
public function isBuy(): ?bool
{
return $this->buy;
}
public function setBuy(?bool $buy): self
{
$this->buy = $buy;
return $this;
}
public function isSell(): ?bool
{
return $this->sell;
}
public function setSell(?bool $sell): self
{
$this->sell = $sell;
return $this;
}
public function isCost(): ?bool
{
return $this->cost;
}
public function setCost(?bool $cost): self
{
$this->cost = $cost;
return $this;
}
public function isIncome(): ?bool
{
return $this->income;
}
public function setIncome(?bool $income): self
{
$this->income = $income;
return $this;
}
public function isAccounting(): ?bool
{
return $this->accounting;
}
public function setAccounting(?bool $accounting): self
{
$this->accounting = $accounting;
return $this;
}
public function isReport(): ?bool
{
return $this->report;
}
public function setReport(?bool $report): self
{
$this->report = $report;
return $this;
}
public function isLog(): ?bool
{
return $this->log;
}
public function setLog(?bool $log): self
{
$this->log = $log;
return $this;
}
public function isPermission(): ?bool
{
return $this->permission;
}
public function setPermission(?bool $permission): self
{
$this->permission = $permission;
return $this;
}
public function isSalary(): ?bool
{
return $this->salary;
}
public function setSalary(?bool $salary): self
{
$this->salary = $salary;
return $this;
}
public function isCashdesk(): ?bool
{
return $this->cashdesk;
}
public function setCashdesk(?bool $cashdesk): self
{
$this->cashdesk = $cashdesk;
return $this;
}
public function isPlugNoghreAdmin(): ?bool
{
return $this->plugNoghreAdmin;
}
public function setPlugNoghreAdmin(?bool $plugNoghreAdmin): static
{
$this->plugNoghreAdmin = $plugNoghreAdmin;
return $this;
}
public function isPlugNoghreSell(): ?bool
{
return $this->plugNoghreSell;
}
public function setPlugNoghreSell(?bool $plugNoghreSell): static
{
$this->plugNoghreSell = $plugNoghreSell;
return $this;
}
public function isPlugCCAdmin(): ?bool
{
return $this->plugCCAdmin;
}
public function setPlugCCAdmin(?bool $plugCCAdmin): static
{
$this->plugCCAdmin = $plugCCAdmin;
return $this;
}
public function isStore(): ?bool
{
return $this->store;
}
public function setStore(?bool $store): static
{
$this->store = $store;
return $this;
}
public function isWallet(): ?bool
{
return $this->wallet;
}
public function setWallet(?bool $wallet): static
{
$this->wallet = $wallet;
return $this;
}
2023-11-10 23:07:10 +03:30
public function isArchiveUpload(): ?bool
{
return $this->archiveUpload;
}
public function setArchiveUpload(?bool $archiveUpload): static
{
$this->archiveUpload = $archiveUpload;
return $this;
}
public function isArchiveMod(): ?bool
{
return $this->archiveMod;
}
public function setArchiveMod(?bool $archiveMod): static
{
$this->archiveMod = $archiveMod;
return $this;
}
public function isArchiveDelete(): ?bool
{
return $this->archiveDelete;
}
public function setArchiveDelete(?bool $archiveDelete): static
{
$this->archiveDelete = $archiveDelete;
return $this;
}
2023-11-12 17:22:01 +03:30
public function isShareholder(): ?bool
{
return $this->shareholder;
}
public function setShareholder(?bool $shareholder): static
{
$this->shareholder = $shareholder;
return $this;
}
2023-11-26 12:16:18 +03:30
public function isArchiveView(): ?bool
{
return $this->archiveView;
}
public function setArchiveView(?bool $archiveView): static
{
$this->archiveView = $archiveView;
return $this;
}
2024-02-14 21:56:11 +03:30
public function isCheque(): ?bool
{
return $this->cheque;
}
public function setCheque(?bool $cheque): static
{
$this->cheque = $cheque;
return $this;
}
2024-05-04 10:29:02 +03:30
public function isPlugAccproRfbuy(): ?bool
{
return $this->plugAccproRfbuy;
}
public function setPlugAccproRfbuy(?bool $plugAccproRfbuy): static
{
$this->plugAccproRfbuy = $plugAccproRfbuy;
return $this;
}
public function isPlugAccproRfsell(): ?bool
{
return $this->plugAccproRfsell;
}
public function setPlugAccproRfsell(?bool $plugAccproRfsell): static
{
$this->plugAccproRfsell = $plugAccproRfsell;
return $this;
}
public function isPlugAccproAccounting(): ?bool
{
return $this->plugAccproAccounting;
}
public function setPlugAccproAccounting(?bool $plugAccproAccounting): static
{
$this->plugAccproAccounting = $plugAccproAccounting;
return $this;
}
public function isPlugAccproCloseYear(): ?bool
{
return $this->plugAccproCloseYear;
}
public function setPlugAccproCloseYear(?bool $plugAccproCloseYear): static
{
$this->plugAccproCloseYear = $plugAccproCloseYear;
return $this;
}
2024-05-27 20:33:33 +03:30
public function isPlugRepservice(): ?bool
{
return $this->plugRepservice;
}
public function setPlugRepservice(?bool $plugRepservice): static
{
$this->plugRepservice = $plugRepservice;
return $this;
}
2025-01-11 19:20:30 +03:30
2025-05-04 01:07:39 +03:30
public function isPlugAccproPresell(): ?bool
{
return $this->plugAccproPresell;
}
public function setPlugAccproPresell(?bool $plugAccproPresell): static
{
$this->plugAccproPresell = $plugAccproPresell;
return $this;
}
public function isPlugHrmDocs(): ?bool
{
return $this->plugHrmDocs;
}
public function setPlugHrmDocs(?bool $plugHrmDocs): static
{
$this->plugHrmDocs = $plugHrmDocs;
return $this;
}
2025-05-26 12:26:52 +03:30
public function isPlugGhestaManager(): ?bool
{
return $this->plugGhestaManager;
}
public function setPlugGhestaManager(?bool $plugGhestaManager): static
{
$this->plugGhestaManager = $plugGhestaManager;
return $this;
}
2025-08-06 15:16:18 +03:30
public function isPlugWarrantyManager(): ?bool
{
return $this->plugWarrantyManager;
}
public function setPlugWarrantyManager(?bool $plugWarrantyManager): static
{
$this->plugWarrantyManager = $plugWarrantyManager;
return $this;
}
2025-07-16 18:41:53 +03:30
public function isPlugTaxSettings(): ?bool
{
return $this->plugTaxSettings;
}
public function setPlugTaxSettings(?bool $plugTaxSettings): static
{
$this->plugTaxSettings = $plugTaxSettings;
return $this;
}
2025-07-17 12:37:31 +03:30
public function isInquiry(): ?bool
{
return $this->inquiry;
}
public function setInquiry(?bool $inquiry): static
{
$this->inquiry = $inquiry;
return $this;
}
2025-07-18 06:29:39 +03:30
public function isAi(): ?bool
{
return $this->ai;
}
public function setAi(?bool $ai): static
{
$this->ai = $ai;
return $this;
}
2025-08-11 14:45:22 +03:30
public function isWarehouseManager(): ?bool
{
return $this->warehouseManager;
}
public function setWarehouseManager(?bool $warehouseManager): static
{
$this->warehouseManager = $warehouseManager;
return $this;
}
public function isImportWorkflow(): ?bool
{
return $this->importWorkflow;
}
public function setImportWorkflow(?bool $importWorkflow): static
{
$this->importWorkflow = $importWorkflow;
return $this;
}
public function isRequireTwoStepSell(): ?bool
{
return $this->requireTwoStepSell;
}
public function setRequireTwoStepSell(?bool $requireTwoStepSell): static
{
$this->requireTwoStepSell = $requireTwoStepSell;
return $this;
}
public function isRequireTwoStepPayment(): ?bool
{
return $this->requireTwoStepPayment;
}
public function setRequireTwoStepPayment(?bool $requireTwoStepPayment): static
{
$this->requireTwoStepPayment = $requireTwoStepPayment;
return $this;
}
public function isRequireTwoStepStore(): ?bool
{
return $this->requireTwoStepStore;
}
public function setRequireTwoStepStore(?bool $requireTwoStepStore): static
{
$this->requireTwoStepStore = $requireTwoStepStore;
return $this;
}
2023-09-21 23:04:08 +03:30
}