Class attribute in Accounting-Request

When using hotspot+radius and PPPoE+radius, the Mikrotik returns Class attribute in Accounting-Request, but when using DHCP+radius, it does not.

What’s the alternative for it? I want to use it to filter accounting requests from suspended or unauthorized devices.