event model 생성