Files
geekgeekrun/packages/sqlite-plugin/src/entity/JobInfo.ts
2026-01-17 11:34:13 +08:00

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;
}