fixing: ppob
This commit is contained in:
		
							
								
								
									
										42
									
								
								src/transaction/entities/check-bill-history.entity.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								src/transaction/entities/check-bill-history.entity.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,42 @@ | ||||
| import { Column, Entity, ManyToOne, OneToMany } from 'typeorm'; | ||||
| import { BaseModel } from '../../config/basemodel.entity'; | ||||
| import { statusTransaction, typeTransaction } from '../../helper/enum-list'; | ||||
| import { ProductHistoryPrice } from '../../product/entities/product-history-price.entity'; | ||||
| import { UserDetail } from '../../users/entities/user_detail.entity'; | ||||
| import { TransactionJournal } from './transaction-journal.entity'; | ||||
|  | ||||
| @Entity() | ||||
| export class CheckBillHistory extends BaseModel { | ||||
|   @Column() | ||||
|   trx_id: string; | ||||
|  | ||||
|   @Column() | ||||
|   partner_trx_id: string; | ||||
|  | ||||
|   @Column() | ||||
|   amount: number; | ||||
|  | ||||
|   @Column({ | ||||
|     type: 'uuid', | ||||
|     nullable: true, | ||||
|   }) | ||||
|   user: string; | ||||
|  | ||||
|   @Column({ | ||||
|     nullable: true, | ||||
|   }) | ||||
|   destination: string; | ||||
|  | ||||
|   @Column({ | ||||
|     nullable: true, | ||||
|   }) | ||||
|   request_json: string; | ||||
|  | ||||
|   @Column({ | ||||
|     nullable: true, | ||||
|   }) | ||||
|   callback_json: string; | ||||
|  | ||||
|   @Column() | ||||
|   product_code: string; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user