mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-07-23 05:27:41 +08:00
57 lines
744 B
TypeScript
57 lines
744 B
TypeScript
import * as typeorm from 'typeorm';
|
|
const { Entity, Column, PrimaryColumn } = typeorm
|
|
|
|
@Entity()
|
|
export class JobInfo {
|
|
@PrimaryColumn()
|
|
encryptJobId: string;
|
|
|
|
@Column()
|
|
jobName: string;
|
|
|
|
@Column()
|
|
positionName: string;
|
|
|
|
@Column({
|
|
nullable: true
|
|
})
|
|
salaryLow?: number;
|
|
|
|
@Column({
|
|
nullable: true
|
|
})
|
|
salaryHigh?: number;
|
|
|
|
@Column({
|
|
nullable: true
|
|
})
|
|
salaryMonth?: number;
|
|
|
|
@Column()
|
|
experienceName: string;
|
|
|
|
@Column({
|
|
nullable: true
|
|
})
|
|
publishDate?: Date;
|
|
|
|
@Column({
|
|
nullable: true
|
|
})
|
|
degreeName?: string;
|
|
|
|
@Column({
|
|
nullable: true
|
|
})
|
|
address?: string;
|
|
|
|
@Column()
|
|
description: string;
|
|
|
|
@Column()
|
|
encryptBossId: string;
|
|
|
|
@Column()
|
|
encryptCompanyId: string;
|
|
}
|