pure-orm
Version:
A SQL Toolkit based on pure business objects passed to and from stateful data access objects
27 lines (26 loc) • 762 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.utmSourceEntity = 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.utmSourceEntity = {
tableName: exports.tableName,
columns: exports.columns,
Model: UtmSource,
Collection: UtmSources
};