mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
WIP server side.
This commit is contained in:
16
server/src/models/Option.js
Normal file
16
server/src/models/Option.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import { mixin } from 'objection';
|
||||
import BaseModel from '@/models/Model';
|
||||
import MetableCollection from '@/lib/Metable/MetableCollection';
|
||||
|
||||
export default class Option extends mixin(BaseModel, [mixin]) {
|
||||
/**
|
||||
* Table name.
|
||||
*/
|
||||
static get tableName() {
|
||||
return 'options';
|
||||
}
|
||||
|
||||
static get collection() {
|
||||
return MetableCollection;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user