package models import "go.mongodb.org/mongo-driver/bson/primitive" type Tag struct { Id primitive.ObjectID `json:"_id" bson:"_id"` Scustomer string `json:"s_customer" bson:"s_customer"` Scustomerkey string `json:"s_customerkey" bson:"s_customerkey"` Scustomername string `json:"s_customername" bson:"s_customername"` Stagname string `json:"s_name" bson:"s_name"` Stagnamekey string `json:"s_namekey" bson:"s_namekey"` Ssalesperson string `json:"s_salesperson" bson:"s_salesperson"` Istarttime int `json:"i_starttime" bson:"i_starttime"` Iendtime int `json:"i_endtime" bson:"i_endtime"` Sarea string `json:"s_area" bson:"s_area"` Scity string `json:"s_city" bson:"s_city"` Sdistrict string `json:"s_district" bson:"s_district"` Sbudget string `json:"s_budgetlimit" bson:"s_budgetlimit"` Sbidamount string `json:"s_bidamountlimit" bson:"s_bidamountlimit"` Sglobaladdkey string `json:"s_globaladdkey" bson:"s_globaladdkey"` Sglobaladdkeymatch string `json:"s_globaladdkeymatch" bson:"s_globaladdkeymatch"` Sglobalnotkey string `json:"s_globalnotkey" bson:"s_globalnotkey"` Sglobalnotkeymatch string `json:"s_globalnotkeymatch" bson:"s_globalnotkeymatch"` Stoptype string `json:"s_toptype" bson:"s_toptype"` Ssubtype string `json:"s_subtype" bson:"s_subtype"` Sglobalbuyerclass string `json:"s_globalbuyerclass" bson:"s_globalbuyerclass"` Sglobalsubscopeclass string `json:"s_globalsubscopeclass" bson:"s_globalsubscopeclass"` Sglobaltopscopeclass string `json:"s_globaltopscopeclass" bson:"s_globaltopscopeclass"` Orules []ORules `json:"o_rules" bson:"s_buyerclass"` Sexistfields string `json:"s_existfields" bson:"s_existfields"` Imaxnum int `json:"i_maxnum" bson:"i_maxnum"` Iextfieldstype int `json:"i_extfieldstype" bson:"i_extfieldstype"` Sesquery string `json:"s_esquery" bson:"s_esquery"` Iesquerytype int `json:"i_esquerytype" bson:"i_esquerytype"` Sdataid string `json:"s_dataid" bson:"s_dataid"` Icreatetime int `json:"i_createtime" bson:"i_createtime"` Iupdatetime int `json:"i_updatetime" bson:"i_updatetime"` Screateuser string `json:"s_createuser" bson:"s_createuser"` Supdateuser string `json:"s_updateuser" bson:"s_updateuser"` SbudgetFieldExist int `json:"i_budgetfieldexist" bson:"i_budgetfieldexist"` SbidamountFieldExist int `json:"i_bidamountfieldexist" bson:"i_bidamountfieldexist"` Site string `json:"s_sites" bson:"s_sites"` ExpurasingtimeStart int `json:"i_expurasingtimeStart" bson:"i_expurasingtimeStart"` ExpurasingtimeEnd int `json:"i_expurasingtimeEnd" bson:"i_expurasingtimeEnd"` } type ORules struct { Smatchkey string `json:"s_matchkey" bson:"s_matchkey"` Skeymatch string `json:"s_keymatch" bson:"s_keymatch"` Saddkey string `json:"s_addkey" bson:"s_addkey"` Saddkeymatch string `json:"s_addkeymatch" bson:"s_addkeymatch"` Snotkey string `json:"s_notkey" bson:"s_notkey"` Snotkeymatch string `json:"s_notkeymatch" bson:"s_notkeymatch"` Stopscopeclass string `json:"s_topscopeclass" bson:"s_topscopeclass"` Ssubscopeclass string `json:"s_subscopeclass" bson:"s_subscopeclass"` Sbuyerclass string `json:"s_buyerclass" bson:"s_buyerclass"` }