text: 'use strict';
  
  import Model from './model';
  
  export default class PlantCommunityType extends Model {
    static get fields() {
      // primary key *must* be first!
      return ['id', 'name', 'active']
        .map(field => `${this.table}.${field}`);
    }
  
    static get table() {
      return 'ref_plant_community_type';
    }
  }
  