@experts_hub/shared
Version:
Shared DTOs, interfaces, and utilities for experts hub applications
35 lines (34 loc) • 1.03 kB
TypeScript
import { BaseEntity } from "./base.entity";
import { Job } from "./job.entity";
import { User } from "./user.entity";
export declare enum ApplicationStatusEnum {
PENDING = "PENDING",
SHORTLISTED = "SHORTLISTED",
INTERVIEW_IN_PROGRESS = "INTERVIEW_IN_PROGRESS",
INTERVIEWED = "INTERVIEWED",
OFFERED = "OFFERED",
HIRED = "HIRED",
REJECTED_BEFORE_INTERVIEW = "REJECTED_BEFORE_INTERVIEW",
REJECTED_IN_INTERVIEW = "REJECTED_IN_INTERVIEW",
REJECTED_AFTER_INTERVIEW = "REJECTED_AFTER_INTERVIEW",
NOT_SUITABLE = "NOT_SUITABLE",
WITHDRAWN = "WITHDRAWN"
}
export declare class JobApplication extends BaseEntity {
jobApplicationId: string;
jobId: number;
job: Job;
userId: number;
user: User;
status: ApplicationStatusEnum;
appliedAt: Date;
shortlistedAt: Date;
interviewStartedAt: Date;
interviewCompletedAt: Date;
offeredAt: Date;
hiredAt: Date;
rejectedAt: Date;
rejectionReason: string;
withdrawnAt: Date;
withdrawnReason: string;
}