mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-07-09 14:32:44 +08:00
add sqlite plugin(with typeorm and sqlite) and business entities
This commit is contained in:
49
packages/sqlite-plugin/src/entity/JobInfo.ts
Normal file
49
packages/sqlite-plugin/src/entity/JobInfo.ts
Normal file
@@ -0,0 +1,49 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, Unique } from "typeorm";
|
||||
|
||||
@Entity()
|
||||
export class JobInfo {
|
||||
@PrimaryGeneratedColumn()
|
||||
id: number;
|
||||
|
||||
@Column()
|
||||
encryptedJobId: string;
|
||||
|
||||
@Column()
|
||||
jobName: string;
|
||||
|
||||
@Column()
|
||||
positionName: string;
|
||||
|
||||
@Column()
|
||||
salaryLow?: number;
|
||||
|
||||
@Column()
|
||||
salaryHeight?: number;
|
||||
|
||||
@Column()
|
||||
salaryMonth?: number;
|
||||
|
||||
@Column()
|
||||
experienceYearLow?: number;
|
||||
|
||||
@Column()
|
||||
experienceYearHigh?: number;
|
||||
|
||||
@Column()
|
||||
publishDate: Date;
|
||||
|
||||
@Column()
|
||||
degreeName?: string;
|
||||
|
||||
@Column()
|
||||
address: string;
|
||||
|
||||
@Column()
|
||||
description: string;
|
||||
|
||||
@Column()
|
||||
encryptedBossId: string;
|
||||
|
||||
@Column()
|
||||
encryptedCompanyId: string;
|
||||
}
|
||||
Reference in New Issue
Block a user