alarm model and mapper