mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
add server to monorepo.
This commit is contained in:
25
packages/server/src/models/CreditNoteAppliedInvoiceEntry.ts
Normal file
25
packages/server/src/models/CreditNoteAppliedInvoiceEntry.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
import { mixin } from 'objection';
|
||||
import TenantModel from 'models/TenantModel';
|
||||
import ModelSetting from './ModelSetting';
|
||||
import CustomViewBaseModel from './CustomViewBaseModel';
|
||||
import ModelSearchable from './ModelSearchable';
|
||||
|
||||
export default class CreditNoteAppliedInvoiceEntry extends mixin(TenantModel, [
|
||||
ModelSetting,
|
||||
CustomViewBaseModel,
|
||||
ModelSearchable,
|
||||
]) {
|
||||
/**
|
||||
* Table name
|
||||
*/
|
||||
static get tableName() {
|
||||
return 'credit_associated_transaction_entry';
|
||||
}
|
||||
|
||||
/**
|
||||
* Relationship mapping.
|
||||
*/
|
||||
static get relationMappings() {
|
||||
return {};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user