src/Leevel/Database/Ddd/Select.php
public function deleteAtColumn(): string
    {
        if (defined(get_class($this->entity).'::DELETE_AT')) {
            $deleteAt = $this->entity::DELETE_AT;
        } else {
            $deleteAt = 'delete_at';
        }

        if (!$this->entity->hasField($deleteAt)) {
            throw new InvalidArgumentException(
                sprintf(
                    'Entity `%s` soft delete field `%s` was not found.',
                    get_class($this->entity), $deleteAt
                )
            );
        }

        return $deleteAt;
    }
public function deleteAtColumn(): string
    {
        if (defined(get_class($this->entity).'::DELETE_AT')) {
            $deleteAt = $this->entity::DELETE_AT;
        } else {
            $deleteAt = 'delete_at';
        }

        if (!$this->entity->hasField($deleteAt)) {
            throw new InvalidArgumentException(
                sprintf(
                    'Entity `%s` soft delete field `%s` was not found.',
                    get_class($this->entity), $deleteAt
                )
            );
        }

        return $deleteAt;
    }
获取软删除字段.

@return string