Notes on discrete compound Poisson model with applications to risk theory