import RcModule from '../../lib/rc-module';
import SymbolMap from 'data-types/symbol-map';

const symbols = new SymbolMap([
  'reducer',
  'data',
]);

export default class Brand extends RcModule {
  constructor(options) {
    super();
    const {
      id,
      name,
    } = options;
    this[symbols.data] = {
      id,
      name,
    };
    this[symbols.initialState] = () => this[symbols.data];
  }
  get reducer() {
    return this[symbols.reducer];
  }
  get id() {
    return this.state.id;
  }
  get name() {
    return this.state.name;
  }
}


@@ -357,20 +357,15 @@
 ols.
-initialState
+reducer
 %5D = 

fix bug where brand reducer is missing (#73)