In your example you do not need to override the getter for Id. Why? Because it's in the base class. When referring to static properties one must call out the class that contains them.
If each of the static methods are to return the same thing you only need one in the base class. DRY is good.
Full-time web dev; JS lover since 2002; CSS fanatic. #CSSIsAwesome
I try to stay up with new web platform features. Web feature you don't understand? Tell me! I'll write an article!
He/him
In your example you do not need to override the getter for Id. Why? Because it's in the base class. When referring to static properties one must call out the class that contains them.
If each of the static methods are to return the same thing you only need one in the base class. DRY is good.
Each class's
idColumn
getter returns a different thing, as shown in the example code. That's why I was overriding them.