attendance model,service