Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
objectivepoint.entity.ts 406 B
import { Entity, Column, PrimaryGeneratedColumn, BeforeInsert } from 'typeorm';

@Entity('ObjectivePoint')
export class ObjectivePointEntity {
    @PrimaryGeneratedColumn('uuid') objectivePointId: string;
    @Column({type: 'text'}) powerUpDescription: string;
    @Column({type: 'int'}) amount: number;
    @Column({type: 'time'}) cooldown: string;
    //history; milloin käytetty (timestamp) taulukko

}