fix: get deposit return to
This commit is contained in:
@@ -14,6 +14,8 @@ import { BaseModel } from '../../config/basemodel.entity';
|
||||
import { statusTransaction, typeTransaction } from '../../helper/enum-list';
|
||||
import { Partner } from '../../users/entities/partner.entity';
|
||||
import { ProductHistoryPrice } from '../../product/entities/product-history-price.entity';
|
||||
import { User } from '../../users/entities/user.entity';
|
||||
import { UserDetail } from '../../users/entities/user_detail.entity';
|
||||
|
||||
@Entity()
|
||||
export class Transactions extends BaseModel {
|
||||
@@ -26,7 +28,10 @@ export class Transactions extends BaseModel {
|
||||
@Column()
|
||||
type: typeTransaction;
|
||||
|
||||
@Column()
|
||||
@Column({
|
||||
type: 'uuid',
|
||||
nullable: true,
|
||||
})
|
||||
user: string;
|
||||
|
||||
@Column({
|
||||
@@ -43,4 +48,6 @@ export class Transactions extends BaseModel {
|
||||
image_prove: string;
|
||||
|
||||
mark_up_price: number;
|
||||
|
||||
userData: UserDetail;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user