blow-data
Version:
Data access layer for Blow.
23 lines (17 loc) • 382 B
text/typescript
;
import {PersistedModel} from '../../src/PersistedModel';
import * as decorators from '../../src/decorators';
.model({
name: 'Phone',
connection: 'mongo'
})
export class Phone extends PersistedModel {
.property({
type: 'String'
})
manufacturer: string;
.property({
type: 'String'
})
model: string;
}