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

@Entity('company_recruiters')
export class CompanyRecruiters {
  @PrimaryGeneratedColumn()
  id: number;

  @Column()
  company_id: number;

  @Column()
  recruiter_id: number;

  @Column({ type: 'varchar', length: 255 })
  role: string;

  @Column({ type: 'timestamp' })
  assigned_at: Date;
}
