_init(ResourceModel\LogDetail::class); $this->setIdFieldName(self::ID); } public function getLogId(): ?int { return $this->hasData(self::LOG_ID) ? (int)$this->_getData(self::LOG_ID) : null; } public function setLogId(int $logId): LogDetailInterface { $this->setData(self::LOG_ID, $logId); return $this; } public function getName(): ?string { return $this->_getData(self::NAME); } public function setName(string $name): LogDetailInterface { $this->setData(self::NAME, $name); return $this; } public function getOldValue(): ?string { return $this->_getData(self::OLD_VALUE); } public function setOldValue(string $oldValue): LogDetailInterface { $this->setData(self::OLD_VALUE, $oldValue); return $this; } public function getNewValue(): ?string { return $this->_getData(self::NEW_VALUE); } public function setNewValue(string $newValue): LogDetailInterface { $this->setData(self::NEW_VALUE, $newValue); return $this; } public function getModel(): ?string { return $this->_getData(self::MODEL); } public function setModel(string $model): LogDetailInterface { $this->setData(self::MODEL, $model); return $this; } }