1 | /**
|
2 | * define of transaction model
|
3 | */
|
4 |
|
5 | let transactionchainTransModel = {
|
6 | TxHash: '',
|
7 | TxReceiptStatus: '',
|
8 | Version: '',
|
9 | TimeStamp: '',
|
10 | SellerAddress: '',
|
11 | BuyerAddress: '',
|
12 | ShareHash: '',
|
13 | ShareTimeStamp: '',
|
14 | ProductInfo: {
|
15 | Name: '',
|
16 | Category: '',
|
17 | Brand: '',
|
18 | Manifactory: '',
|
19 | Seller: '',
|
20 | Buyer: '',
|
21 | SKU: '',
|
22 | EAN: '',
|
23 | Price: '',
|
24 | Currency: '',
|
25 | Description: ''
|
26 | },
|
27 | SharedTimes: 0,
|
28 | Status: '',
|
29 | InputData: '',
|
30 | TxHeight: ''
|
31 | }
|
32 |
|
33 | module.exports = transactionchainTransModel
|