How to implement PlayerState

Hi.
I’m start working on my own game and want to ask if I have correct way to implement player/NPC properties state.
For example my main hero and different NPC can have HP, Stamina etc.

All this properties must be writen in APlayerState and after I can extend my Character from this class and implement how I want to work with this properties? Am I right?

make class playerstate with members you want (health, stamina, ect) then add : public playerstate after your player/npc class name to inherit the playerstate class

One more question. Does PlayerInventory must consist in PlayerState class?