import { Record, Map } from 'immutable';

export const itemModel = new Record({
	id: 0,
	userId: 0,
	title: '',
	body: ''
});

  constructor() {
    this.userId = 0;
    this.id = 0;
    this.title = null;
    this.body = null;
  }

}

export const itemModel = new Record( new Item() );
export const itemCollection = new Record({ data: new Map() });

@@ -77,17 +77,19 @@
 d(%7B%0A
-%09
+  
 id: 0,%0A
-%09
+  
 user
@@ -95,17 +95,18 @@
 rId: 0,%0A
-%09
+  
 title: '
@@ -112,9 +112,10 @@
 '',%0A
-%09
+  
 body
@@ -128,168 +128,8 @@
 );%0A%0A
-  constructor() %7B%0A    this.userId = 0;%0A    this.id = 0;%0A    this.title = null;%0A    this.body = null;%0A  %7D%0A%0A%7D%0A%0Aexport const itemModel = new Record( new Item() );%0A
 expo
@@ -186,9 +186,8 @@
 ap() %7D);
-%0A

update lint