Add TypeORM DB and Resources (#2)
Co-authored-by: Joe Arndt <jmarndt@users.noreply.github.com> Reviewed-on: #2
This commit is contained in:
parent
746adcd2fd
commit
c6434de89d
64 changed files with 2916 additions and 360 deletions
10
src/merchants/entities/merchant.entity.ts
Normal file
10
src/merchants/entities/merchant.entity.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
|
||||
|
||||
@Entity()
|
||||
export class Merchant {
|
||||
@PrimaryGeneratedColumn('uuid')
|
||||
id: string;
|
||||
|
||||
@Column()
|
||||
name: string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue