model code generated

I put in the model code for articles