<?phpnamespace App\Entity;use App\Repository\MemberRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: MemberRepository::class)]#[ORM\Table(name: "dtb_member")]class Member{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(nullable: true)] private ?int $work_id = null; #[ORM\Column(nullable: true)] private ?int $authority_id = null; #[ORM\ManyToOne(targetEntity: Member::class)] #[ORM\JoinColumn(name: "creator_id", referencedColumnName: "id", nullable: true)] private ?Member $Creator = null; #[ORM\Column(length: 255, nullable: true)] private ?string $name = null; #[ORM\Column(length: 255, nullable: true)] private ?string $department = null; #[ORM\Column(length: 255)] private ?string $login_id = null; #[ORM\Column(length: 255)] private ?string $password = null; #[ORM\Column(length: 255, nullable: true)] private ?string $salt = null; #[ORM\Column] private ?int $sort_no = null; #[ORM\Column(length: 255, nullable: true)] private ?string $two_factor_auth_key = null; #[ORM\Column] private ?int $two_factor_auth_enabled = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $create_date = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $update_date = null; #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)] private ?\DateTimeInterface $login_date = null; #[ORM\Column(length: 255)] private ?string $discriminator_type = 'member'; public function getId(): ?int { return $this->id; } public function getWorkId(): ?int { return $this->work_id; } public function setWorkId(?int $work_id): static { $this->work_id = $work_id; return $this; } public function getAuthorityId(): ?int { return $this->authority_id; } public function setAuthorityId(?int $authority_id): static { $this->authority_id = $authority_id; return $this; } /** * Set the creator. * * @param Member|null $creator * @return self */ public function setCreator(?Member $creator): self { $this->Creator = $creator; return $this; } /** * Get the creator. * * @return Member|null */ public function getCreator(): ?Member { return $this->Creator; } public function getName(): ?string { return $this->name; } public function setName(?string $name): static { $this->name = $name; return $this; } public function getDepartment(): ?string { return $this->department; } public function setDepartment(?string $department): static { $this->department = $department; return $this; } public function getLoginId(): ?string { return $this->login_id; } public function setLoginId(string $login_id): static { $this->login_id = $login_id; return $this; } public function getPassword(): ?string { return $this->password; } public function setPassword(string $password): static { $this->password = $password; return $this; } public function getSalt(): ?string { return $this->salt; } public function setSalt(?string $salt): static { $this->salt = $salt; return $this; } public function getSortNo(): ?int { return $this->sort_no; } public function setSortNo(int $sort_no): static { $this->sort_no = $sort_no; return $this; } public function getTwoFactorAuthKey(): ?string { return $this->two_factor_auth_key; } public function setTwoFactorAuthKey(?string $two_factor_auth_key): static { $this->two_factor_auth_key = $two_factor_auth_key; return $this; } public function getTwoFactorAuthEnabled(): ?int { return $this->two_factor_auth_enabled; } public function setTwoFactorAuthEnabled(int $two_factor_auth_enabled): static { $this->two_factor_auth_enabled = $two_factor_auth_enabled; return $this; } public function getCreateDate(): ?\DateTimeInterface { return $this->create_date; } public function setCreateDate(\DateTimeInterface $create_date): static { $this->create_date = $create_date; return $this; } public function getUpdateDate(): ?\DateTimeInterface { return $this->update_date; } public function setUpdateDate(\DateTimeInterface $update_date): static { $this->update_date = $update_date; return $this; } public function getLoginDate(): ?\DateTimeInterface { return $this->login_date; } public function setLoginDate(?\DateTimeInterface $login_date): static { $this->login_date = $login_date; return $this; } public function getDiscriminatorType(): ?string { return $this->discriminator_type; } public function setDiscriminatorType(string $discriminator_type): static { $this->discriminator_type = $discriminator_type; return $this; }}