Hi, welcome!
Please have a look at this topic: Why are state variables private rather than public in OpenZeppelin Contracts? - Support / Contracts - OpenZeppelin Community