Generate link model