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

@Entity('seeker_skills')
export class SeekerSkill {
  @PrimaryGeneratedColumn()
  id: number;

  @Column()
  seeker_id: number;

  @Column()
  skill_id: number;

  @Column({ nullable: true })
  proficiency_percentage: number;

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