chore: add new route for get single transaction for user

This commit is contained in:
mahyargdz
2025-03-03 15:28:57 +03:30
parent 1b722d0e79
commit e234f98998
8 changed files with 71 additions and 19 deletions
@@ -5,7 +5,7 @@ import { GatewayEnum } from "../enums/gateway.enum";
@Entity()
export class PaymentGateway extends BaseEntity {
@Column({ type: "enum", enum: GatewayEnum, nullable: false })
@Column({ type: "enum", enum: GatewayEnum, nullable: false, unique: true })
name: GatewayEnum;
@Column({ type: "varchar", length: 150, nullable: false })