Generate subscription model