|
|
@ -1,4 +1,4 @@ |
|
|
|
import { Entity, PrimaryGeneratedColumn, Column, BaseEntity, ManyToOne, OneToMany, OneToOne, JoinColumn, CreateDateColumn } from "typeorm"; |
|
|
|
import { Entity, PrimaryGeneratedColumn, Column, BaseEntity, ManyToOne, OneToMany, OneToOne, JoinColumn, CreateDateColumn, Not, IsNull } from "typeorm"; |
|
|
|
import { MovieInfo } from "./MovieInfo"; |
|
|
|
import { MovieTorrent } from "./MovieTorrent"; |
|
|
|
import { User } from "./User"; |
|
|
@ -9,6 +9,9 @@ export class MovieTicket extends BaseEntity |
|
|
|
@PrimaryGeneratedColumn() |
|
|
|
id!: number; |
|
|
|
|
|
|
|
@Column({ type: "int", nullable: true }) |
|
|
|
tmdbId!: number | null; |
|
|
|
|
|
|
|
@Column({ type: "varchar", length: 27, nullable: true }) |
|
|
|
imdbId!: string | null; |
|
|
|
|
|
|
|