The accepted answer may cause problems with updating timestamps unfortunately.
You’d better override consts on your model:
const CREATED_AT = 'post_date';
const UPDATED_AT = 'post_modified';
then methods getCreatedAtColumn
and getUpdatedAtColumn
will return post_date
and post_modified
respectively, but won’t do any harm.
For the other columns you need use events like @Oni suggested.