AR with column "charge" and function "setCharge"

Hi all,

If I have a field in my table called “charge”, how can i then create a function in the AR model which handles requests like: $model->charge = ‘’;? I’ve tried to make a function like this: public function setCharge($value), but it seems to be ignored, if the field also exists in the table. public function setOtherValue($value), works fine.

See explanation by core developer:

Click here for full ticket