File tree Expand file tree Collapse file tree 3 files changed +31
-27
lines changed
Expand file tree Collapse file tree 3 files changed +31
-27
lines changed Original file line number Diff line number Diff line change 1- import { Job } from './job.entity' ;
1+
2+ import { Job } from './job.entity'
3+
24
35export class Company {
4- id : number ;
5- name : string ;
6- jobs ?: Job [ ] ;
7- createdAt : Date ;
6+ id : number ;
7+ name : string ;
8+ jobs ?: Job [ ] ;
9+ createdAt : Date ;
810}
Original file line number Diff line number Diff line change 1- import { Prisma } from '@prisma/client' ;
2- import { Company } from './company.entity' ;
3- import { JobTag } from './jobTag.entity' ;
4- import { JobMetadata } from './jobMetadata.entity' ;
1+
2+ import { Prisma } from '@prisma/client'
3+ import { Company } from './company.entity'
4+ import { JobTag } from './jobTag.entity'
5+ import { JobMetadata } from './jobMetadata.entity'
6+
57
68export class Job {
7- id : number ;
8- title : string ;
9- companyId : number | null ;
10- company ?: Company | null ;
11- author : string | null ;
12- location : string | null ;
13- url : string ;
14- postedAt : Date | null ;
15- description : string | null ;
16- isRemote : boolean | null ;
17- createdAt : Date ;
18- updatedAt : Date ;
19- source : string | null ;
20- externalId : string | null ;
21- data : Prisma . JsonValue | null ;
22- tags ?: JobTag [ ] ;
23- metadata ?: JobMetadata [ ] ;
9+ id : number ;
10+ title : string ;
11+ companyId : number | null ;
12+ company ?: Company | null ;
13+ author : string | null ;
14+ location : string | null ;
15+ url : string ;
16+ postedAt : Date | null ;
17+ description : string | null ;
18+ isRemote : boolean | null ;
19+ createdAt : Date ;
20+ updatedAt : Date ;
21+ source : string | null ;
22+ externalId : string | null ;
23+ data : Prisma . JsonValue | null ;
24+ tags ?: JobTag [ ] ;
25+ metadata ?: JobMetadata [ ] ;
2426}
You can’t perform that action at this time.
0 commit comments