29 lines
524 B
Go
29 lines
524 B
Go
package domain
|
|
|
|
// JobProvider represents different job board providers
|
|
type JobProvider int
|
|
|
|
const (
|
|
LinkedIn JobProvider = iota
|
|
Indeed
|
|
Glassdoor
|
|
Bayt
|
|
TokyoDev
|
|
JapanDev
|
|
)
|
|
|
|
type Job struct {
|
|
ID int64
|
|
Title string
|
|
Company string
|
|
CompanyLink string
|
|
Location string
|
|
JobLink string
|
|
Provider JobProvider
|
|
}
|
|
|
|
type SearchQuery struct {
|
|
Keywords string `json:"keywords"`
|
|
Location string `json:"location"`
|
|
FWT string `json:"f_WT"` // Work type filter (1=onsite, 2=remote, 3=hybrid)
|
|
}
|