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 | 1x 1x 1x 1x 2x 2x 1x 1x 1x | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.customerEntity = exports.Customers = exports.Customer = exports.columns = exports.tableName = void 0;
exports.tableName = 'customer';
exports.columns = ['id', 'email'];
class Customer {
constructor(props) {
this.id = props.id;
this.email = props.email;
}
}
exports.Customer = Customer;
class Customers {
constructor({ models }) {
this.models = models;
}
}
exports.Customers = Customers;
exports.customerEntity = {
tableName: exports.tableName,
columns: exports.columns,
Model: Customer,
Collection: Customers
};
|