Edit This Page

Creating Model Classe

You can create a Model class as follows:

var Post = f.createModel({
  // ...
});

If you are using ES6:

import {Model} from 'firenze';

class Post extends Model {
  // ...
}