26 lines
802 B
Go
26 lines
802 B
Go
package crawlerinputitemmapping
|
|
|
|
import (
|
|
"git.loafle.net/overflow/commons_go/model/timestamp"
|
|
"encoding/json"
|
|
"git.loafle.net/overflow/overflow_proxy_service/proxy/crawler"
|
|
"git.loafle.net/overflow/overflow_proxy_service/proxy/crawlerInputItem"
|
|
)
|
|
|
|
type CrawlerInputItemMapping struct {
|
|
Id json.Number `json:"id,Number,omitempty"`
|
|
Crawler crawler.Crawler `json:"crawler,omitempty"`
|
|
CrawlerInputItem crawlerInputItem.CrawlerInputItem `json:"crawlerInputItem,omitempty"`
|
|
Order string `json:"order,omitempty"`
|
|
RequireType string `json:"requireType,omitempty"`
|
|
CreateDate timestamp.Timestamp `json:"createDate,omitempty"`
|
|
}
|
|
|
|
|
|
type CrawlerInputItemMappingService struct {
|
|
|
|
}
|
|
|
|
func NewCrawlerInputItemMappingService() *CrawlerInputItemMappingService {
|
|
return &CrawlerInputItemMappingService{}
|
|
} |