TP5.1 After setting a field in the model with a getter, how to obtain the original value of the field?
For example: status field
protected getStatusAttr($value)
{
return $value ? 'Normal' : 'Disabled';
}
Want to get the original value of status 1 or 0.
What methods can be used and how many implementation methods are there?