Generator generate model