Skip to content
Snippets Groups Projects
Commit 6c62d19a authored by L4168's avatar L4168
Browse files

center: CenterDTO

parent c8bf1900
No related branches found
No related tags found
3 merge requests!59Development to master,!31Development,!29Json validation
......@@ -14,6 +14,7 @@ import { PersonEntity } from '../user/user.entity';
import { GameGroupEntity } from '../faction/faction.entity';
import { FactionEntity } from '../faction/faction.entity';
import { TaskEntity } from '../task/task.entity';
import { CenterDTO } from './game.json.dto';
// table that stores all created games
@Entity('Game')
......@@ -21,7 +22,7 @@ export class GameEntity {
@PrimaryGeneratedColumn('uuid') id: string;
@Column('text') name: string;
@Column('text') desc: string;
@Column('json') center: JSON;
@Column('json') center: CenterDTO;
@Column({ type: 'json', nullable: true }) map: JSON;
@Column({ type: 'json', nullable: true }) nodesettings?: JSON;
@Column('timestamp') startdate: Timestamp;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment