Brandon Presley
6d46fe959c
I am struggling to remember why I started doing this. I can't think of any real benefit.
11 lines
200 B
TypeScript
11 lines
200 B
TypeScript
import {Column, Entity, PrimaryColumn} from 'typeorm'
|
|
|
|
@Entity('plans_workouts_workouts')
|
|
export class PlanWorkout {
|
|
@PrimaryColumn('int')
|
|
plansId: number
|
|
|
|
@Column('int')
|
|
workoutsId: number
|
|
}
|