All files / dist/examples/order-more/business-objects utm-source.js

91.67% Statements 11/12
100% Branches 0/0
50% Functions 1/2
91.67% Lines 11/12

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27  1x 1x 1x 1x     47x 47x 47x 47x     1x           1x 1x            
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.utmSourceConfiguration = exports.UtmSources = exports.UtmSource = exports.columns = exports.tableName = void 0;
exports.tableName = 'utm_source';
exports.columns = ['id', 'value', 'label', 'internal'];
class UtmSource {
    constructor(props) {
        this.id = props.id;
        this.value = props.value;
        this.label = props.label;
        this.internal = props.internal;
    }
}
exports.UtmSource = UtmSource;
class UtmSources {
    constructor({ models }) {
        this.models = models;
    }
}
exports.UtmSources = UtmSources;
exports.utmSourceConfiguration = {
    tableName: exports.tableName,
    columns: exports.columns,
    entityClass: UtmSource,
    collectionClass: UtmSources,
};