feat: add payment module and factory

This commit is contained in:
mahyargdz
2025-02-03 15:41:53 +03:30
parent 8fb587f976
commit 31368610dd
48 changed files with 931 additions and 81 deletions
@@ -0,0 +1,21 @@
import { Column, Entity } from "typeorm";
import { BaseEntity } from "../../../common/entities/base.entity";
@Entity()
export class BankAccount extends BaseEntity {
@Column({ type: "varchar", length: 100, unique: true, nullable: true })
cardNumber: string;
@Column({ type: "varchar", length: 100, unique: true, nullable: true })
shebaNumber: string;
@Column({ type: "varchar", length: 100, nullable: false })
bankName: string;
@Column({ type: "varchar", length: 150, nullable: false })
accountOwnerName: string;
@Column({ default: true })
isActive: boolean;
}