123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- package main
- type QueryObject struct {
- Must []interface{} `json:"must,omitempty"`
- MustNot []interface{} `json:"must_not,omitempty"`
- Should []interface{} `json:"should,omitempty"`
- }
- type NesEsObject struct {
- Query QueryObject `json:"bool,omitempty"`
- }
- type PnameObj struct {
- Match ProjectName `json:"match,omitempty"`
- }
- type ProjectName struct {
- Pname string `json:"s_projectname,omitempty"`
- }
- type PurObj struct {
- Match Purchasing `json:"terms,omitempty"`
- }
- type Purchasing struct {
- Pur []string `json:"purchasing,omitempty"`
- }
- type BuyerObj struct {
- Match Buyer `json:"match,omitempty"`
- }
- type Buyer struct {
- Buyer string `json:"buyer,omitempty"`
- }
- type AreaObj struct {
- Match Area `json:"match,omitempty"`
- }
- type Area struct {
- Area string `json:"area,omitempty"`
- }
- type CityObj struct {
- Match City `json:"match,omitempty"`
- }
- type City struct {
- City string `json:"city,omitempty"`
- }
|