Skip to content
Snippets Groups Projects

Faction task edit

Merged Ghost User requested to merge faction-task-edit into Development
9 files
+ 181
58
Compare changes
  • Side-by-side
  • Inline
Files
9
+ 4
4
@@ -12,10 +12,8 @@ import {
import { PersonEntity } from '../user/user.entity';
import { GameGroupEntity } from './group.entity';
import { FactionEntity } from './faction.entity';
import {
MapDrawingEntity,
Game_Person_MapDrawingEntity,
} from './coordinate.entity';
import { MapDrawingEntity } from './coordinate.entity';
import { TaskEntity } from '../task/task.entity';
// table that stores all created games
@Entity('Game')
@@ -40,6 +38,8 @@ export class GameEntity {
objective_points => objective_points.game,
)
objective_points: ObjectivePointEntity[];
@OneToMany(type => TaskEntity, tasks => tasks.taskGame)
tasks: TaskEntity[];
gameObject() {
const { id, name } = this;
Loading