22 lines
541 B
Go
22 lines
541 B
Go
package models
|
|
|
|
// SearchFilters holds the filter configuration for hiring.cafe
|
|
type SearchFilters struct {
|
|
Keywords string
|
|
Location string
|
|
Remote bool
|
|
JobType string // full-time, part-time, contract, internship
|
|
DatePosted string // 24h, 7d, 30d
|
|
}
|
|
|
|
// ScrapedJob holds the raw scraped job data before conversion to domain.Job
|
|
type ScrapedJob struct {
|
|
Title string
|
|
Company string
|
|
CompanyLink string
|
|
Location string
|
|
JobLink string
|
|
PostedTime string
|
|
Description string
|
|
Criteria map[string]string
|
|
}
|