feat: add payment module and factory
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user