parent
dd5f4488be
commit
5bf978d32d
|
@ -1,4 +1,4 @@
|
|||
import { PrimaryGeneratedColumn, Column, ManyToOne } from "typeorm";
|
||||
import { PrimaryGeneratedColumn, Column, ManyToOne, Entity } from "typeorm";
|
||||
import {
|
||||
IsInt,
|
||||
IsNotEmpty,
|
||||
|
@ -10,6 +10,7 @@ import { Participant } from "./Participant";
|
|||
/**
|
||||
* Defines the donation interface.
|
||||
*/
|
||||
@Entity()
|
||||
export abstract class Donation {
|
||||
/**
|
||||
* Autogenerated unique id (primary key).
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { PrimaryGeneratedColumn, Column, OneToMany, ManyToOne } from "typeorm";
|
||||
import { PrimaryGeneratedColumn, Column, OneToMany, ManyToOne, Entity } from "typeorm";
|
||||
import {
|
||||
IsEmail,
|
||||
IsInt,
|
||||
|
@ -13,6 +13,7 @@ import { Donation } from "./Donation";
|
|||
/**
|
||||
* Defines the participant interface.
|
||||
*/
|
||||
@Entity()
|
||||
export abstract class Participant {
|
||||
/**
|
||||
* Autogenerated unique id (primary key).
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { PrimaryGeneratedColumn, Column, OneToMany, ManyToOne } from "typeorm";
|
||||
import { PrimaryGeneratedColumn, Column, OneToMany, ManyToOne, Entity } from "typeorm";
|
||||
import {
|
||||
IsInt,
|
||||
IsNotEmpty,
|
||||
|
@ -12,6 +12,7 @@ import { RunnerTeam } from "./RunnerTeam";
|
|||
/**
|
||||
* Defines the runnerGroup interface.
|
||||
*/
|
||||
@Entity()
|
||||
export abstract class RunnerGroup {
|
||||
/**
|
||||
* Autogenerated unique id (primary key).
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { PrimaryGeneratedColumn, Column, ManyToOne } from "typeorm";
|
||||
import { PrimaryGeneratedColumn, Column, ManyToOne, Entity } from "typeorm";
|
||||
import {
|
||||
IsBoolean,
|
||||
IsInt,
|
||||
|
@ -11,6 +11,7 @@ import { Runner } from "./Runner";
|
|||
/**
|
||||
* Defines the scan interface.
|
||||
*/
|
||||
@Entity()
|
||||
export abstract class Scan {
|
||||
/**
|
||||
* Autogenerated unique id (primary key).
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { PrimaryGeneratedColumn, Column, ManyToOne } from "typeorm";
|
||||
import { PrimaryGeneratedColumn, Column, ManyToOne, Entity } from "typeorm";
|
||||
import {
|
||||
IsBoolean,
|
||||
IsDateString,
|
||||
|
@ -16,6 +16,7 @@ import { ScanStation } from "./ScanStation";
|
|||
/**
|
||||
* Defines the scan interface.
|
||||
*/
|
||||
@Entity()
|
||||
export class TrackScan extends Scan {
|
||||
/**
|
||||
* The associated track.
|
||||
|
|
Loading…
Reference in New Issue