Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Neo-Ryo committed Apr 10, 2024
1 parent db1b323 commit c171307
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions server/entities/country.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';

@Entity()
export class Country {
@PrimaryGeneratedColumn()
public id: number;

@Column({ type: 'text', nullable: false })
public code: string;

@Column({ type: 'text', nullable: false })
public name: string;
}

0 comments on commit c171307

Please sign in to comment.