Skip to content

Instantly share code, notes, and snippets.

View DaveMacNeil's full-sized avatar

David MacNeil DaveMacNeil

View GitHub Profile

Keybase proof

I hereby claim:

  • I am davidpmacneil on github.
  • I am dmacneil (https://keybase.io/dmacneil) on keybase.
  • I have a public key ASBi45gR_z2cr-WU8B4ys6cDtkzKBPwpeEUoVf3nd0JImwo

To claim this, I am signing this object:

@DaveMacNeil
DaveMacNeil / Customer.ts
Last active July 4, 2017 20:30
FK example
import { Entity, Column, PrimaryColumn, PrimaryGeneratedColumn, OneToMany, ManyToMany, JoinTable } from 'typeorm';
import Location from './Location';
/**
* Customer model
*
* @class Customer
*/
@Entity()