import { BaseEntity, Column, Entity, PrimaryGeneratedColumn } from 'typeorm';

@Entity('blacklists')
export class Blacklists extends BaseEntity {
  @PrimaryGeneratedColumn({
    comment: 'the unique identifier',
  })
  idBlacklists: number;

  @Column({
    type: 'varchar',
    length: 45,
    nullable: false,
  })
  Type: string;

  @Column({
    type: 'text',
    nullable: false,
  })
  Details: string;

  @Column({
    type: 'text',
    nullable: false,
  })
  Description: string;

  @Column({
    type: 'varchar',
    length: 45,
    nullable: false,
  })
  Date_Time: string;

  @Column({
    type: 'int',
    nullable: false,
  })
  User_idUser: number;
}
