proflores-db-model 0.2.53 → 0.2.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/Bank/TransactionBank.d.ts +4 -0
- package/dist/entities/Bank/TransactionBank.js +14 -0
- package/dist/entities/BudgetExpenditure.d.ts +22 -0
- package/dist/entities/BudgetExpenditure.js +97 -0
- package/dist/entities/BudgetExpenditureDetail.d.ts +17 -0
- package/dist/entities/BudgetExpenditureDetail.js +70 -0
- package/dist/entities/Expenditure.d.ts +28 -0
- package/dist/entities/Expenditure.js +126 -0
- package/dist/entities/ExpenditureDetail.d.ts +17 -0
- package/dist/entities/ExpenditureDetail.js +70 -0
- package/dist/entities/Income.js +1 -1
- package/dist/entities/index.d.ts +26 -0
- package/dist/entities/index.js +65 -0
- package/dist/index.d.ts +1 -24
- package/dist/index.js +4 -49
- package/dist/models/apu/Budget.d.ts +2 -0
- package/dist/models/apu/Budget.js +5 -0
- package/dist/models/production/CropActivity.d.ts +2 -0
- package/dist/models/production/CropActivity.js +5 -0
- package/dist/models/production/CropLot.d.ts +2 -0
- package/dist/models/production/CropLot.js +5 -0
- package/dist/models/production/ProductionExpenditure.d.ts +24 -0
- package/dist/models/production/ProductionExpenditure.js +107 -0
- package/dist/models/production/ProductionExpenditureDetail.d.ts +17 -0
- package/dist/models/production/ProductionExpenditureDetail.js +70 -0
- package/dist/types/ExpenditureStatus.d.ts +6 -0
- package/dist/types/ExpenditureStatus.js +10 -0
- package/dist/types/ExpenditureType.d.ts +5 -0
- package/dist/types/ExpenditureType.js +9 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +6 -1
- package/package.json +1 -1
- package/src/entities/Bank/TransactionBank.ts +12 -0
- package/src/entities/Expenditure.ts +108 -0
- package/src/entities/ExpenditureDetail.ts +52 -0
- package/src/entities/Income.ts +1 -1
- package/src/entities/index.ts +45 -0
- package/src/index.ts +5 -24
- package/src/models/apu/Budget.ts +4 -0
- package/src/models/production/CropActivity.ts +4 -0
- package/src/models/production/CropLot.ts +4 -0
- package/src/types/ExpenditureStatus.ts +6 -0
- package/src/types/ExpenditureType.ts +5 -0
- package/src/types/index.ts +5 -1
|
@@ -2,6 +2,8 @@ import { ObjectLiteral } from "typeorm";
|
|
|
2
2
|
import { BankAccount } from "./BankAccount";
|
|
3
3
|
import { ExpenseTransaction } from "../ExpenseTransaction";
|
|
4
4
|
import { Payment } from "../Payment";
|
|
5
|
+
import { Income } from "../Income";
|
|
6
|
+
import { Expenditure } from "../Expenditure";
|
|
5
7
|
export declare class TransactionBank implements ObjectLiteral {
|
|
6
8
|
idTransactionBank: number;
|
|
7
9
|
amount: number;
|
|
@@ -10,4 +12,6 @@ export declare class TransactionBank implements ObjectLiteral {
|
|
|
10
12
|
bankAccount: BankAccount;
|
|
11
13
|
expenseTransaction?: ExpenseTransaction;
|
|
12
14
|
payment?: Payment;
|
|
15
|
+
income?: Income;
|
|
16
|
+
expenditure?: Expenditure;
|
|
13
17
|
}
|
|
@@ -14,6 +14,8 @@ const typeorm_1 = require("typeorm");
|
|
|
14
14
|
const BankAccount_1 = require("./BankAccount");
|
|
15
15
|
const ExpenseTransaction_1 = require("../ExpenseTransaction");
|
|
16
16
|
const Payment_1 = require("../Payment");
|
|
17
|
+
const Income_1 = require("../Income");
|
|
18
|
+
const Expenditure_1 = require("../Expenditure");
|
|
17
19
|
let TransactionBank = class TransactionBank {
|
|
18
20
|
};
|
|
19
21
|
exports.TransactionBank = TransactionBank;
|
|
@@ -53,6 +55,18 @@ __decorate([
|
|
|
53
55
|
}),
|
|
54
56
|
__metadata("design:type", Payment_1.Payment)
|
|
55
57
|
], TransactionBank.prototype, "payment", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, typeorm_1.OneToOne)(() => Income_1.Income, (income) => income.transactionBank, {
|
|
60
|
+
nullable: true
|
|
61
|
+
}),
|
|
62
|
+
__metadata("design:type", Income_1.Income)
|
|
63
|
+
], TransactionBank.prototype, "income", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.OneToOne)(() => Expenditure_1.Expenditure, (expenditure) => expenditure.transactionBank, {
|
|
66
|
+
nullable: true
|
|
67
|
+
}),
|
|
68
|
+
__metadata("design:type", Expenditure_1.Expenditure)
|
|
69
|
+
], TransactionBank.prototype, "expenditure", void 0);
|
|
56
70
|
exports.TransactionBank = TransactionBank = __decorate([
|
|
57
71
|
(0, typeorm_1.Entity)("transactions_bank")
|
|
58
72
|
], TransactionBank);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ObjectLiteral } from "typeorm";
|
|
2
|
+
import { Budget } from "../models/apu/Budget";
|
|
3
|
+
import { TransactionBank } from "./Bank/TransactionBank";
|
|
4
|
+
import { ExpenditureStatus } from "../types/ExpenditureStatus";
|
|
5
|
+
import { BudgetExpenditureDetail } from "./BudgetExpenditureDetail";
|
|
6
|
+
export declare class BudgetExpenditure implements ObjectLiteral {
|
|
7
|
+
idBudgetExpenditure: number;
|
|
8
|
+
budget: Budget;
|
|
9
|
+
code?: string | null;
|
|
10
|
+
description: string;
|
|
11
|
+
totalAmount: number;
|
|
12
|
+
expenditureDate: Date;
|
|
13
|
+
status: ExpenditureStatus;
|
|
14
|
+
paymentMethod?: string | null;
|
|
15
|
+
invoiceUuid?: string | null;
|
|
16
|
+
supplierName?: string | null;
|
|
17
|
+
notes?: string | null;
|
|
18
|
+
transactionBank?: TransactionBank | null;
|
|
19
|
+
createdAt: Date;
|
|
20
|
+
updatedAt: Date;
|
|
21
|
+
details?: BudgetExpenditureDetail[];
|
|
22
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.BudgetExpenditure = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const Budget_1 = require("../models/apu/Budget");
|
|
15
|
+
const TransactionBank_1 = require("./Bank/TransactionBank");
|
|
16
|
+
const ExpenditureStatus_1 = require("../types/ExpenditureStatus");
|
|
17
|
+
const BudgetExpenditureDetail_1 = require("./BudgetExpenditureDetail");
|
|
18
|
+
let BudgetExpenditure = class BudgetExpenditure {
|
|
19
|
+
};
|
|
20
|
+
exports.BudgetExpenditure = BudgetExpenditure;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("increment"),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], BudgetExpenditure.prototype, "idBudgetExpenditure", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.ManyToOne)(() => Budget_1.Budget, (budget) => budget.expenditures, {
|
|
27
|
+
nullable: false,
|
|
28
|
+
onDelete: "RESTRICT",
|
|
29
|
+
}),
|
|
30
|
+
(0, typeorm_1.JoinColumn)({ name: "idBudget" }),
|
|
31
|
+
__metadata("design:type", Budget_1.Budget)
|
|
32
|
+
], BudgetExpenditure.prototype, "budget", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)("varchar", { length: 64, nullable: true, unique: true }),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], BudgetExpenditure.prototype, "code", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)("varchar", { length: 255, nullable: false }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], BudgetExpenditure.prototype, "description", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)("decimal", { precision: 14, scale: 2, nullable: false }),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], BudgetExpenditure.prototype, "totalAmount", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)("date", { nullable: false }),
|
|
47
|
+
__metadata("design:type", Date)
|
|
48
|
+
], BudgetExpenditure.prototype, "expenditureDate", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({
|
|
51
|
+
type: "enum",
|
|
52
|
+
enum: ExpenditureStatus_1.ExpenditureStatus,
|
|
53
|
+
default: ExpenditureStatus_1.ExpenditureStatus.PENDING,
|
|
54
|
+
}),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], BudgetExpenditure.prototype, "status", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)("varchar", { length: 32, nullable: true }),
|
|
59
|
+
__metadata("design:type", Object)
|
|
60
|
+
], BudgetExpenditure.prototype, "paymentMethod", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)("varchar", { length: 255, nullable: true }),
|
|
63
|
+
__metadata("design:type", Object)
|
|
64
|
+
], BudgetExpenditure.prototype, "invoiceUuid", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)("varchar", { length: 255, nullable: true }),
|
|
67
|
+
__metadata("design:type", Object)
|
|
68
|
+
], BudgetExpenditure.prototype, "supplierName", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)("text", { nullable: true }),
|
|
71
|
+
__metadata("design:type", Object)
|
|
72
|
+
], BudgetExpenditure.prototype, "notes", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.OneToOne)(() => TransactionBank_1.TransactionBank, { nullable: true, cascade: true }),
|
|
75
|
+
(0, typeorm_1.JoinColumn)({ name: "idTransactionBank" }),
|
|
76
|
+
__metadata("design:type", Object)
|
|
77
|
+
], BudgetExpenditure.prototype, "transactionBank", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, typeorm_1.CreateDateColumn)({ type: "timestamp" }),
|
|
80
|
+
__metadata("design:type", Date)
|
|
81
|
+
], BudgetExpenditure.prototype, "createdAt", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, typeorm_1.UpdateDateColumn)({ type: "timestamp" }),
|
|
84
|
+
__metadata("design:type", Date)
|
|
85
|
+
], BudgetExpenditure.prototype, "updatedAt", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, typeorm_1.OneToMany)(() => BudgetExpenditureDetail_1.BudgetExpenditureDetail, (detail) => detail.budgetExpenditure, {
|
|
88
|
+
cascade: true,
|
|
89
|
+
}),
|
|
90
|
+
__metadata("design:type", Array)
|
|
91
|
+
], BudgetExpenditure.prototype, "details", void 0);
|
|
92
|
+
exports.BudgetExpenditure = BudgetExpenditure = __decorate([
|
|
93
|
+
(0, typeorm_1.Entity)("budget_expenditures"),
|
|
94
|
+
(0, typeorm_1.Index)(["budget"]),
|
|
95
|
+
(0, typeorm_1.Index)(["expenditureDate"]),
|
|
96
|
+
(0, typeorm_1.Index)(["status"])
|
|
97
|
+
], BudgetExpenditure);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ObjectLiteral } from "typeorm";
|
|
2
|
+
import { BudgetExpenditure } from "./BudgetExpenditure";
|
|
3
|
+
import { Resource } from "../models/apu/Resource";
|
|
4
|
+
import { Inventory } from "./Inventory";
|
|
5
|
+
import { UnitOfMeasure } from "./UnitOfMesure";
|
|
6
|
+
export declare class BudgetExpenditureDetail implements ObjectLiteral {
|
|
7
|
+
idBudgetExpenditureDetail: number;
|
|
8
|
+
budgetExpenditure: BudgetExpenditure;
|
|
9
|
+
concept: string;
|
|
10
|
+
quantity: number;
|
|
11
|
+
unitOfMeasure?: UnitOfMeasure | null;
|
|
12
|
+
unitPrice: number;
|
|
13
|
+
subtotal: number;
|
|
14
|
+
resource?: Resource | null;
|
|
15
|
+
inventory?: Inventory | null;
|
|
16
|
+
notes?: string | null;
|
|
17
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.BudgetExpenditureDetail = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BudgetExpenditure_1 = require("./BudgetExpenditure");
|
|
15
|
+
const Resource_1 = require("../models/apu/Resource");
|
|
16
|
+
const Inventory_1 = require("./Inventory");
|
|
17
|
+
const UnitOfMesure_1 = require("./UnitOfMesure");
|
|
18
|
+
let BudgetExpenditureDetail = class BudgetExpenditureDetail {
|
|
19
|
+
};
|
|
20
|
+
exports.BudgetExpenditureDetail = BudgetExpenditureDetail;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("increment"),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], BudgetExpenditureDetail.prototype, "idBudgetExpenditureDetail", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.ManyToOne)(() => BudgetExpenditure_1.BudgetExpenditure, (expenditure) => expenditure.details, {
|
|
27
|
+
nullable: false,
|
|
28
|
+
onDelete: "CASCADE",
|
|
29
|
+
}),
|
|
30
|
+
(0, typeorm_1.JoinColumn)({ name: "idBudgetExpenditure" }),
|
|
31
|
+
__metadata("design:type", BudgetExpenditure_1.BudgetExpenditure)
|
|
32
|
+
], BudgetExpenditureDetail.prototype, "budgetExpenditure", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)("varchar", { length: 255, nullable: false }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], BudgetExpenditureDetail.prototype, "concept", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)("decimal", { precision: 12, scale: 4, nullable: false, default: 1 }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], BudgetExpenditureDetail.prototype, "quantity", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.ManyToOne)(() => UnitOfMesure_1.UnitOfMeasure, { nullable: true, onDelete: "SET NULL" }),
|
|
43
|
+
(0, typeorm_1.JoinColumn)({ name: "idUnitOfMeasure" }),
|
|
44
|
+
__metadata("design:type", Object)
|
|
45
|
+
], BudgetExpenditureDetail.prototype, "unitOfMeasure", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.Column)("decimal", { precision: 14, scale: 4, nullable: false }),
|
|
48
|
+
__metadata("design:type", Number)
|
|
49
|
+
], BudgetExpenditureDetail.prototype, "unitPrice", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.Column)("decimal", { precision: 14, scale: 2, nullable: false }),
|
|
52
|
+
__metadata("design:type", Number)
|
|
53
|
+
], BudgetExpenditureDetail.prototype, "subtotal", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, typeorm_1.ManyToOne)(() => Resource_1.Resource, { nullable: true, onDelete: "SET NULL" }),
|
|
56
|
+
(0, typeorm_1.JoinColumn)({ name: "idResource" }),
|
|
57
|
+
__metadata("design:type", Object)
|
|
58
|
+
], BudgetExpenditureDetail.prototype, "resource", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, typeorm_1.ManyToOne)(() => Inventory_1.Inventory, { nullable: true, onDelete: "SET NULL" }),
|
|
61
|
+
(0, typeorm_1.JoinColumn)({ name: "idInventory" }),
|
|
62
|
+
__metadata("design:type", Object)
|
|
63
|
+
], BudgetExpenditureDetail.prototype, "inventory", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.Column)("text", { nullable: true }),
|
|
66
|
+
__metadata("design:type", Object)
|
|
67
|
+
], BudgetExpenditureDetail.prototype, "notes", void 0);
|
|
68
|
+
exports.BudgetExpenditureDetail = BudgetExpenditureDetail = __decorate([
|
|
69
|
+
(0, typeorm_1.Entity)("budget_expenditure_details")
|
|
70
|
+
], BudgetExpenditureDetail);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ObjectLiteral } from "typeorm";
|
|
2
|
+
import { Budget } from "../models/apu/Budget";
|
|
3
|
+
import { CropLot } from "../models/production/CropLot";
|
|
4
|
+
import { CropActivity } from "../models/production/CropActivity";
|
|
5
|
+
import { TransactionBank } from "./Bank/TransactionBank";
|
|
6
|
+
import { ExpenditureType } from "../types/ExpenditureType";
|
|
7
|
+
import { ExpenditureStatus } from "../types/ExpenditureStatus";
|
|
8
|
+
import { ExpenditureDetail } from "./ExpenditureDetail";
|
|
9
|
+
export declare class Expenditure implements ObjectLiteral {
|
|
10
|
+
idExpenditure: number;
|
|
11
|
+
expenditureType: ExpenditureType;
|
|
12
|
+
code?: string | null;
|
|
13
|
+
description: string;
|
|
14
|
+
totalAmount: number;
|
|
15
|
+
expenditureDate: Date;
|
|
16
|
+
status: ExpenditureStatus;
|
|
17
|
+
budget?: Budget | null;
|
|
18
|
+
cropLot?: CropLot | null;
|
|
19
|
+
cropActivity?: CropActivity | null;
|
|
20
|
+
paymentMethod?: string | null;
|
|
21
|
+
invoiceUuid?: string | null;
|
|
22
|
+
supplierName?: string | null;
|
|
23
|
+
notes?: string | null;
|
|
24
|
+
transactionBank?: TransactionBank | null;
|
|
25
|
+
createdAt: Date;
|
|
26
|
+
updatedAt: Date;
|
|
27
|
+
details?: ExpenditureDetail[];
|
|
28
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Expenditure = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const Budget_1 = require("../models/apu/Budget");
|
|
15
|
+
const CropLot_1 = require("../models/production/CropLot");
|
|
16
|
+
const CropActivity_1 = require("../models/production/CropActivity");
|
|
17
|
+
const TransactionBank_1 = require("./Bank/TransactionBank");
|
|
18
|
+
const ExpenditureType_1 = require("../types/ExpenditureType");
|
|
19
|
+
const ExpenditureStatus_1 = require("../types/ExpenditureStatus");
|
|
20
|
+
const ExpenditureDetail_1 = require("./ExpenditureDetail");
|
|
21
|
+
let Expenditure = class Expenditure {
|
|
22
|
+
};
|
|
23
|
+
exports.Expenditure = Expenditure;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("increment"),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], Expenditure.prototype, "idExpenditure", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({
|
|
30
|
+
type: "enum",
|
|
31
|
+
enum: ExpenditureType_1.ExpenditureType,
|
|
32
|
+
default: ExpenditureType_1.ExpenditureType.OTHER,
|
|
33
|
+
}),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], Expenditure.prototype, "expenditureType", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)("varchar", { length: 64, nullable: true, unique: true }),
|
|
38
|
+
__metadata("design:type", Object)
|
|
39
|
+
], Expenditure.prototype, "code", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)("varchar", { length: 255, nullable: false }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], Expenditure.prototype, "description", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)("decimal", { precision: 14, scale: 2, nullable: false }),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], Expenditure.prototype, "totalAmount", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)("date", { nullable: false }),
|
|
50
|
+
__metadata("design:type", Date)
|
|
51
|
+
], Expenditure.prototype, "expenditureDate", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({
|
|
54
|
+
type: "enum",
|
|
55
|
+
enum: ExpenditureStatus_1.ExpenditureStatus,
|
|
56
|
+
default: ExpenditureStatus_1.ExpenditureStatus.PENDING,
|
|
57
|
+
}),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], Expenditure.prototype, "status", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.ManyToOne)(() => Budget_1.Budget, (budget) => budget.expenditures, {
|
|
62
|
+
nullable: true,
|
|
63
|
+
onDelete: "SET NULL",
|
|
64
|
+
}),
|
|
65
|
+
(0, typeorm_1.JoinColumn)({ name: "idBudget" }),
|
|
66
|
+
__metadata("design:type", Object)
|
|
67
|
+
], Expenditure.prototype, "budget", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.ManyToOne)(() => CropLot_1.CropLot, (cropLot) => cropLot.expenditures, {
|
|
70
|
+
nullable: true,
|
|
71
|
+
onDelete: "SET NULL",
|
|
72
|
+
}),
|
|
73
|
+
(0, typeorm_1.JoinColumn)({ name: "idCropLot" }),
|
|
74
|
+
__metadata("design:type", Object)
|
|
75
|
+
], Expenditure.prototype, "cropLot", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, typeorm_1.ManyToOne)(() => CropActivity_1.CropActivity, (activity) => activity.expenditures, {
|
|
78
|
+
nullable: true,
|
|
79
|
+
onDelete: "SET NULL",
|
|
80
|
+
}),
|
|
81
|
+
(0, typeorm_1.JoinColumn)({ name: "idCropActivity" }),
|
|
82
|
+
__metadata("design:type", Object)
|
|
83
|
+
], Expenditure.prototype, "cropActivity", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, typeorm_1.Column)("varchar", { length: 32, nullable: true }),
|
|
86
|
+
__metadata("design:type", Object)
|
|
87
|
+
], Expenditure.prototype, "paymentMethod", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, typeorm_1.Column)("varchar", { length: 255, nullable: true }),
|
|
90
|
+
__metadata("design:type", Object)
|
|
91
|
+
], Expenditure.prototype, "invoiceUuid", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, typeorm_1.Column)("varchar", { length: 255, nullable: true }),
|
|
94
|
+
__metadata("design:type", Object)
|
|
95
|
+
], Expenditure.prototype, "supplierName", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, typeorm_1.Column)("text", { nullable: true }),
|
|
98
|
+
__metadata("design:type", Object)
|
|
99
|
+
], Expenditure.prototype, "notes", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
(0, typeorm_1.OneToOne)(() => TransactionBank_1.TransactionBank, (tb) => tb.expenditure, { nullable: true, cascade: true }),
|
|
102
|
+
(0, typeorm_1.JoinColumn)({ name: "idTransactionBank" }),
|
|
103
|
+
__metadata("design:type", Object)
|
|
104
|
+
], Expenditure.prototype, "transactionBank", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, typeorm_1.CreateDateColumn)({ type: "timestamp" }),
|
|
107
|
+
__metadata("design:type", Date)
|
|
108
|
+
], Expenditure.prototype, "createdAt", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, typeorm_1.UpdateDateColumn)({ type: "timestamp" }),
|
|
111
|
+
__metadata("design:type", Date)
|
|
112
|
+
], Expenditure.prototype, "updatedAt", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, typeorm_1.OneToMany)(() => ExpenditureDetail_1.ExpenditureDetail, (detail) => detail.expenditure, {
|
|
115
|
+
cascade: true,
|
|
116
|
+
}),
|
|
117
|
+
__metadata("design:type", Array)
|
|
118
|
+
], Expenditure.prototype, "details", void 0);
|
|
119
|
+
exports.Expenditure = Expenditure = __decorate([
|
|
120
|
+
(0, typeorm_1.Entity)("expenditures"),
|
|
121
|
+
(0, typeorm_1.Index)(["expenditureType"]),
|
|
122
|
+
(0, typeorm_1.Index)(["expenditureDate"]),
|
|
123
|
+
(0, typeorm_1.Index)(["status"]),
|
|
124
|
+
(0, typeorm_1.Index)(["budget"]),
|
|
125
|
+
(0, typeorm_1.Index)(["cropLot"])
|
|
126
|
+
], Expenditure);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ObjectLiteral } from "typeorm";
|
|
2
|
+
import { Expenditure } from "./Expenditure";
|
|
3
|
+
import { Resource } from "../models/apu/Resource";
|
|
4
|
+
import { Inventory } from "./Inventory";
|
|
5
|
+
import { UnitOfMeasure } from "./UnitOfMesure";
|
|
6
|
+
export declare class ExpenditureDetail implements ObjectLiteral {
|
|
7
|
+
idExpenditureDetail: number;
|
|
8
|
+
expenditure: Expenditure;
|
|
9
|
+
concept: string;
|
|
10
|
+
quantity: number;
|
|
11
|
+
unitOfMeasure?: UnitOfMeasure | null;
|
|
12
|
+
unitPrice: number;
|
|
13
|
+
subtotal: number;
|
|
14
|
+
resource?: Resource | null;
|
|
15
|
+
inventory?: Inventory | null;
|
|
16
|
+
notes?: string | null;
|
|
17
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ExpenditureDetail = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const Expenditure_1 = require("./Expenditure");
|
|
15
|
+
const Resource_1 = require("../models/apu/Resource");
|
|
16
|
+
const Inventory_1 = require("./Inventory");
|
|
17
|
+
const UnitOfMesure_1 = require("./UnitOfMesure");
|
|
18
|
+
let ExpenditureDetail = class ExpenditureDetail {
|
|
19
|
+
};
|
|
20
|
+
exports.ExpenditureDetail = ExpenditureDetail;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("increment"),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], ExpenditureDetail.prototype, "idExpenditureDetail", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.ManyToOne)(() => Expenditure_1.Expenditure, (expenditure) => expenditure.details, {
|
|
27
|
+
nullable: false,
|
|
28
|
+
onDelete: "CASCADE",
|
|
29
|
+
}),
|
|
30
|
+
(0, typeorm_1.JoinColumn)({ name: "idExpenditure" }),
|
|
31
|
+
__metadata("design:type", Expenditure_1.Expenditure)
|
|
32
|
+
], ExpenditureDetail.prototype, "expenditure", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)("varchar", { length: 255, nullable: false }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], ExpenditureDetail.prototype, "concept", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)("decimal", { precision: 12, scale: 4, nullable: false, default: 1 }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], ExpenditureDetail.prototype, "quantity", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.ManyToOne)(() => UnitOfMesure_1.UnitOfMeasure, { nullable: true, onDelete: "SET NULL" }),
|
|
43
|
+
(0, typeorm_1.JoinColumn)({ name: "idUnitOfMeasure" }),
|
|
44
|
+
__metadata("design:type", Object)
|
|
45
|
+
], ExpenditureDetail.prototype, "unitOfMeasure", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.Column)("decimal", { precision: 14, scale: 4, nullable: false }),
|
|
48
|
+
__metadata("design:type", Number)
|
|
49
|
+
], ExpenditureDetail.prototype, "unitPrice", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.Column)("decimal", { precision: 14, scale: 2, nullable: false }),
|
|
52
|
+
__metadata("design:type", Number)
|
|
53
|
+
], ExpenditureDetail.prototype, "subtotal", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, typeorm_1.ManyToOne)(() => Resource_1.Resource, { nullable: true, onDelete: "SET NULL" }),
|
|
56
|
+
(0, typeorm_1.JoinColumn)({ name: "idResource" }),
|
|
57
|
+
__metadata("design:type", Object)
|
|
58
|
+
], ExpenditureDetail.prototype, "resource", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, typeorm_1.ManyToOne)(() => Inventory_1.Inventory, { nullable: true, onDelete: "SET NULL" }),
|
|
61
|
+
(0, typeorm_1.JoinColumn)({ name: "idInventory" }),
|
|
62
|
+
__metadata("design:type", Object)
|
|
63
|
+
], ExpenditureDetail.prototype, "inventory", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.Column)("text", { nullable: true }),
|
|
66
|
+
__metadata("design:type", Object)
|
|
67
|
+
], ExpenditureDetail.prototype, "notes", void 0);
|
|
68
|
+
exports.ExpenditureDetail = ExpenditureDetail = __decorate([
|
|
69
|
+
(0, typeorm_1.Entity)("expenditure_details")
|
|
70
|
+
], ExpenditureDetail);
|
package/dist/entities/Income.js
CHANGED
|
@@ -95,7 +95,7 @@ __decorate([
|
|
|
95
95
|
__metadata("design:type", Object)
|
|
96
96
|
], Income.prototype, "invoiceUuid", void 0);
|
|
97
97
|
__decorate([
|
|
98
|
-
(0, typeorm_1.OneToOne)(() => TransactionBank_1.TransactionBank, { nullable: true, cascade: true }),
|
|
98
|
+
(0, typeorm_1.OneToOne)(() => TransactionBank_1.TransactionBank, (tb) => tb.income, { nullable: true, cascade: true }),
|
|
99
99
|
(0, typeorm_1.JoinColumn)({ name: "idTransactionBank" }),
|
|
100
100
|
__metadata("design:type", Object)
|
|
101
101
|
], Income.prototype, "transactionBank", void 0);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export { BankAccount } from "./Bank/BankAccount";
|
|
2
|
+
export { TransactionBank } from "./Bank/TransactionBank";
|
|
3
|
+
export { CategoryForCosting } from "./CategoryForCosting";
|
|
4
|
+
export { CategoryForPlantType } from "./CategoryForPlantType";
|
|
5
|
+
export { Branch } from "./Branches";
|
|
6
|
+
export { BranchImage } from "./BranchImage";
|
|
7
|
+
export { Product } from "./Products";
|
|
8
|
+
export { ProductImage } from "./ProductImage";
|
|
9
|
+
export { Inventory } from "./Inventory";
|
|
10
|
+
export { InventoryItem } from "./InventoryItem";
|
|
11
|
+
export { InventoryImage } from "./InventoryImage";
|
|
12
|
+
export { InventoryMovement } from "./InventoryMovement";
|
|
13
|
+
export { ContainerType } from "./ContainerType";
|
|
14
|
+
export { Supplier } from "./Suppliers";
|
|
15
|
+
export { SupplierImage } from "./SupplierImage";
|
|
16
|
+
export { ExpenseDetail } from "./ExpenseDetail";
|
|
17
|
+
export { ExpenseTransaction } from "./ExpenseTransaction";
|
|
18
|
+
export { ExpenseType } from "./ExpenseType";
|
|
19
|
+
export { Payment } from "./Payment";
|
|
20
|
+
export { PaymentCfdi } from "./PaymentCfdi";
|
|
21
|
+
export { Income } from "./Income";
|
|
22
|
+
export { Expenditure } from "./Expenditure";
|
|
23
|
+
export { ExpenditureDetail } from "./ExpenditureDetail";
|
|
24
|
+
export { ProjectOrder } from "./ProjectOrder";
|
|
25
|
+
export { UnitOfMeasure } from "./UnitOfMesure";
|
|
26
|
+
export { User } from "./User";
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.User = exports.UnitOfMeasure = exports.ProjectOrder = exports.ExpenditureDetail = exports.Expenditure = exports.Income = exports.PaymentCfdi = exports.Payment = exports.ExpenseType = exports.ExpenseTransaction = exports.ExpenseDetail = exports.SupplierImage = exports.Supplier = exports.ContainerType = exports.InventoryMovement = exports.InventoryImage = exports.InventoryItem = exports.Inventory = exports.ProductImage = exports.Product = exports.BranchImage = exports.Branch = exports.CategoryForPlantType = exports.CategoryForCosting = exports.TransactionBank = exports.BankAccount = void 0;
|
|
4
|
+
// Bank
|
|
5
|
+
var BankAccount_1 = require("./Bank/BankAccount");
|
|
6
|
+
Object.defineProperty(exports, "BankAccount", { enumerable: true, get: function () { return BankAccount_1.BankAccount; } });
|
|
7
|
+
var TransactionBank_1 = require("./Bank/TransactionBank");
|
|
8
|
+
Object.defineProperty(exports, "TransactionBank", { enumerable: true, get: function () { return TransactionBank_1.TransactionBank; } });
|
|
9
|
+
// Categories
|
|
10
|
+
var CategoryForCosting_1 = require("./CategoryForCosting");
|
|
11
|
+
Object.defineProperty(exports, "CategoryForCosting", { enumerable: true, get: function () { return CategoryForCosting_1.CategoryForCosting; } });
|
|
12
|
+
var CategoryForPlantType_1 = require("./CategoryForPlantType");
|
|
13
|
+
Object.defineProperty(exports, "CategoryForPlantType", { enumerable: true, get: function () { return CategoryForPlantType_1.CategoryForPlantType; } });
|
|
14
|
+
// Branches
|
|
15
|
+
var Branches_1 = require("./Branches");
|
|
16
|
+
Object.defineProperty(exports, "Branch", { enumerable: true, get: function () { return Branches_1.Branch; } });
|
|
17
|
+
var BranchImage_1 = require("./BranchImage");
|
|
18
|
+
Object.defineProperty(exports, "BranchImage", { enumerable: true, get: function () { return BranchImage_1.BranchImage; } });
|
|
19
|
+
// Products & Inventory
|
|
20
|
+
var Products_1 = require("./Products");
|
|
21
|
+
Object.defineProperty(exports, "Product", { enumerable: true, get: function () { return Products_1.Product; } });
|
|
22
|
+
var ProductImage_1 = require("./ProductImage");
|
|
23
|
+
Object.defineProperty(exports, "ProductImage", { enumerable: true, get: function () { return ProductImage_1.ProductImage; } });
|
|
24
|
+
var Inventory_1 = require("./Inventory");
|
|
25
|
+
Object.defineProperty(exports, "Inventory", { enumerable: true, get: function () { return Inventory_1.Inventory; } });
|
|
26
|
+
var InventoryItem_1 = require("./InventoryItem");
|
|
27
|
+
Object.defineProperty(exports, "InventoryItem", { enumerable: true, get: function () { return InventoryItem_1.InventoryItem; } });
|
|
28
|
+
var InventoryImage_1 = require("./InventoryImage");
|
|
29
|
+
Object.defineProperty(exports, "InventoryImage", { enumerable: true, get: function () { return InventoryImage_1.InventoryImage; } });
|
|
30
|
+
var InventoryMovement_1 = require("./InventoryMovement");
|
|
31
|
+
Object.defineProperty(exports, "InventoryMovement", { enumerable: true, get: function () { return InventoryMovement_1.InventoryMovement; } });
|
|
32
|
+
var ContainerType_1 = require("./ContainerType");
|
|
33
|
+
Object.defineProperty(exports, "ContainerType", { enumerable: true, get: function () { return ContainerType_1.ContainerType; } });
|
|
34
|
+
// Suppliers
|
|
35
|
+
var Suppliers_1 = require("./Suppliers");
|
|
36
|
+
Object.defineProperty(exports, "Supplier", { enumerable: true, get: function () { return Suppliers_1.Supplier; } });
|
|
37
|
+
var SupplierImage_1 = require("./SupplierImage");
|
|
38
|
+
Object.defineProperty(exports, "SupplierImage", { enumerable: true, get: function () { return SupplierImage_1.SupplierImage; } });
|
|
39
|
+
// Expenses
|
|
40
|
+
var ExpenseDetail_1 = require("./ExpenseDetail");
|
|
41
|
+
Object.defineProperty(exports, "ExpenseDetail", { enumerable: true, get: function () { return ExpenseDetail_1.ExpenseDetail; } });
|
|
42
|
+
var ExpenseTransaction_1 = require("./ExpenseTransaction");
|
|
43
|
+
Object.defineProperty(exports, "ExpenseTransaction", { enumerable: true, get: function () { return ExpenseTransaction_1.ExpenseTransaction; } });
|
|
44
|
+
var ExpenseType_1 = require("./ExpenseType");
|
|
45
|
+
Object.defineProperty(exports, "ExpenseType", { enumerable: true, get: function () { return ExpenseType_1.ExpenseType; } });
|
|
46
|
+
// Payments
|
|
47
|
+
var Payment_1 = require("./Payment");
|
|
48
|
+
Object.defineProperty(exports, "Payment", { enumerable: true, get: function () { return Payment_1.Payment; } });
|
|
49
|
+
var PaymentCfdi_1 = require("./PaymentCfdi");
|
|
50
|
+
Object.defineProperty(exports, "PaymentCfdi", { enumerable: true, get: function () { return PaymentCfdi_1.PaymentCfdi; } });
|
|
51
|
+
// Income
|
|
52
|
+
var Income_1 = require("./Income");
|
|
53
|
+
Object.defineProperty(exports, "Income", { enumerable: true, get: function () { return Income_1.Income; } });
|
|
54
|
+
// Expenditures
|
|
55
|
+
var Expenditure_1 = require("./Expenditure");
|
|
56
|
+
Object.defineProperty(exports, "Expenditure", { enumerable: true, get: function () { return Expenditure_1.Expenditure; } });
|
|
57
|
+
var ExpenditureDetail_1 = require("./ExpenditureDetail");
|
|
58
|
+
Object.defineProperty(exports, "ExpenditureDetail", { enumerable: true, get: function () { return ExpenditureDetail_1.ExpenditureDetail; } });
|
|
59
|
+
// Others
|
|
60
|
+
var ProjectOrder_1 = require("./ProjectOrder");
|
|
61
|
+
Object.defineProperty(exports, "ProjectOrder", { enumerable: true, get: function () { return ProjectOrder_1.ProjectOrder; } });
|
|
62
|
+
var UnitOfMesure_1 = require("./UnitOfMesure");
|
|
63
|
+
Object.defineProperty(exports, "UnitOfMeasure", { enumerable: true, get: function () { return UnitOfMesure_1.UnitOfMeasure; } });
|
|
64
|
+
var User_1 = require("./User");
|
|
65
|
+
Object.defineProperty(exports, "User", { enumerable: true, get: function () { return User_1.User; } });
|
package/dist/index.d.ts
CHANGED
|
@@ -1,27 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export { ExpenseType } from "./entities/ExpenseType";
|
|
3
|
-
export { ProjectOrder } from "./entities/ProjectOrder";
|
|
4
|
-
export { User } from "./entities/User";
|
|
5
|
-
export { ExpenseTransaction } from "./entities/ExpenseTransaction";
|
|
6
|
-
export { InventoryItem } from "./entities/InventoryItem";
|
|
7
|
-
export { ContainerType } from "./entities/ContainerType";
|
|
8
|
-
export { Supplier } from "./entities/Suppliers";
|
|
9
|
-
export { CategoryForCosting } from "./entities/CategoryForCosting";
|
|
10
|
-
export { CategoryForPlantType } from "./entities/CategoryForPlantType";
|
|
11
|
-
export { UnitOfMeasure } from "./entities/UnitOfMesure";
|
|
12
|
-
export { BankAccount } from "./entities/Bank/BankAccount";
|
|
13
|
-
export { TransactionBank } from "./entities/Bank/TransactionBank";
|
|
14
|
-
export { ProductImage } from "./entities/ProductImage";
|
|
15
|
-
export { Product } from "./entities/Products";
|
|
16
|
-
export { Inventory } from "./entities/Inventory";
|
|
17
|
-
export { InventoryMovement } from "./entities/InventoryMovement";
|
|
18
|
-
export { Branch } from "./entities/Branches";
|
|
19
|
-
export { BranchImage } from "./entities/BranchImage";
|
|
20
|
-
export { SupplierImage } from "./entities/SupplierImage";
|
|
21
|
-
export { InventoryImage } from "./entities/InventoryImage";
|
|
22
|
-
export { Payment } from "./entities/Payment";
|
|
23
|
-
export { PaymentCfdi } from "./entities/PaymentCfdi";
|
|
24
|
-
export { Income } from "./entities/Income";
|
|
1
|
+
export * from "./entities";
|
|
25
2
|
export * from "./types";
|
|
26
3
|
export * from "./models/technical-sheet";
|
|
27
4
|
export * from "./models/apu";
|