using IBeacon entity class