cecon-interfaces 1.2.79 → 1.2.80
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/transaction/entities/transaction.entity.mjs +3 -1
- package/dist/esm2022/transaction/interfaces/i-transaction.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/transaction/entities/transaction.entity.d.ts +2 -0
- package/dist/transaction/entities/transaction.entity.js +2 -0
- package/dist/transaction/interfaces/i-transaction.d.ts +2 -0
- package/package.json +1 -1
package/dist/package.json
CHANGED
@@ -32,5 +32,7 @@ export declare class TransactionEntity implements ITransaction {
|
|
32
32
|
total: TransactionTotalEntity | null;
|
33
33
|
balance: TransactionBalanceEntity | null;
|
34
34
|
transactionStatus: ETransactionStatus;
|
35
|
+
createdAt: Date;
|
36
|
+
updatedAt: Date;
|
35
37
|
constructor(data?: Partial<TransactionEntity>);
|
36
38
|
}
|
@@ -32,6 +32,8 @@ var TransactionEntity = /** @class */ (function () {
|
|
32
32
|
this.total = null;
|
33
33
|
this.balance = null;
|
34
34
|
this.transactionStatus = enums_1.ETransactionStatus.PROCESSING;
|
35
|
+
this.createdAt = new Date();
|
36
|
+
this.updatedAt = new Date();
|
35
37
|
if (data) {
|
36
38
|
for (var key in data) {
|
37
39
|
if (data.hasOwnProperty(key) && key in this) {
|