Skip to content

Commit

Permalink
Add address for company
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Feb 27, 2024
1 parent 1b90097 commit 1bbe26d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion api/src/modules/suppliers/supplier.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,14 @@ export class Supplier extends TimestampedBaseEntity {
@Column({ nullable: true })
description?: string;

@Column({ type: 'varchar' })
@ApiPropertyOptional()
@Column({ type: 'varchar', nullable: true })
companyId: string;

@ApiPropertyOptional()
@Column({ type: 'varchar', nullable: true })
address: string;

@ApiProperty()
@Column({
type: 'enum',
Expand Down

0 comments on commit 1bbe26d

Please sign in to comment.