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

@Entity('job_post_skills')
export class JobPostSkills {
  @PrimaryGeneratedColumn()
  id: number;

  @Column()
  job_post_id: number;

  @Column()
  skill_id: number;

  @CreateDateColumn({ type: 'timestamp', default: () => 'CURRENT_TIMESTAMP' })
  created_at: Date;
}
