12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004 |
- // Code generated by ent, DO NOT EDIT.
- package whatsapp
- import (
- "time"
- "wechat-api/ent/predicate"
- "entgo.io/ent/dialect/sql"
- "entgo.io/ent/dialect/sql/sqlgraph"
- )
- // ID filters vertices based on their ID field.
- func ID(id uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldID, id))
- }
- // IDEQ applies the EQ predicate on the ID field.
- func IDEQ(id uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldID, id))
- }
- // IDNEQ applies the NEQ predicate on the ID field.
- func IDNEQ(id uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldID, id))
- }
- // IDIn applies the In predicate on the ID field.
- func IDIn(ids ...uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldID, ids...))
- }
- // IDNotIn applies the NotIn predicate on the ID field.
- func IDNotIn(ids ...uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldID, ids...))
- }
- // IDGT applies the GT predicate on the ID field.
- func IDGT(id uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldID, id))
- }
- // IDGTE applies the GTE predicate on the ID field.
- func IDGTE(id uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldID, id))
- }
- // IDLT applies the LT predicate on the ID field.
- func IDLT(id uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldID, id))
- }
- // IDLTE applies the LTE predicate on the ID field.
- func IDLTE(id uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldID, id))
- }
- // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
- func CreatedAt(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldCreatedAt, v))
- }
- // UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
- func UpdatedAt(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
- func Status(v uint8) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldStatus, v))
- }
- // DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
- func DeletedAt(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldDeletedAt, v))
- }
- // Ak applies equality check predicate on the "ak" field. It's identical to AkEQ.
- func Ak(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldAk, v))
- }
- // Sk applies equality check predicate on the "sk" field. It's identical to SkEQ.
- func Sk(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldSk, v))
- }
- // Callback applies equality check predicate on the "callback" field. It's identical to CallbackEQ.
- func Callback(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldCallback, v))
- }
- // Account applies equality check predicate on the "account" field. It's identical to AccountEQ.
- func Account(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldAccount, v))
- }
- // Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.
- func Nickname(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldNickname, v))
- }
- // Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.
- func Phone(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldPhone, v))
- }
- // OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
- func OrganizationID(v uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldOrganizationID, v))
- }
- // AgentID applies equality check predicate on the "agent_id" field. It's identical to AgentIDEQ.
- func AgentID(v uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldAgentID, v))
- }
- // APIBase applies equality check predicate on the "api_base" field. It's identical to APIBaseEQ.
- func APIBase(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldAPIBase, v))
- }
- // APIKey applies equality check predicate on the "api_key" field. It's identical to APIKeyEQ.
- func APIKey(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldAPIKey, v))
- }
- // CreatedAtEQ applies the EQ predicate on the "created_at" field.
- func CreatedAtEQ(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldCreatedAt, v))
- }
- // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
- func CreatedAtNEQ(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldCreatedAt, v))
- }
- // CreatedAtIn applies the In predicate on the "created_at" field.
- func CreatedAtIn(vs ...time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldCreatedAt, vs...))
- }
- // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
- func CreatedAtNotIn(vs ...time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldCreatedAt, vs...))
- }
- // CreatedAtGT applies the GT predicate on the "created_at" field.
- func CreatedAtGT(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldCreatedAt, v))
- }
- // CreatedAtGTE applies the GTE predicate on the "created_at" field.
- func CreatedAtGTE(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldCreatedAt, v))
- }
- // CreatedAtLT applies the LT predicate on the "created_at" field.
- func CreatedAtLT(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldCreatedAt, v))
- }
- // CreatedAtLTE applies the LTE predicate on the "created_at" field.
- func CreatedAtLTE(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldCreatedAt, v))
- }
- // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
- func UpdatedAtEQ(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
- func UpdatedAtNEQ(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtIn applies the In predicate on the "updated_at" field.
- func UpdatedAtIn(vs ...time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
- func UpdatedAtNotIn(vs ...time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtGT applies the GT predicate on the "updated_at" field.
- func UpdatedAtGT(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldUpdatedAt, v))
- }
- // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
- func UpdatedAtGTE(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldUpdatedAt, v))
- }
- // UpdatedAtLT applies the LT predicate on the "updated_at" field.
- func UpdatedAtLT(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldUpdatedAt, v))
- }
- // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
- func UpdatedAtLTE(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldUpdatedAt, v))
- }
- // StatusEQ applies the EQ predicate on the "status" field.
- func StatusEQ(v uint8) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldStatus, v))
- }
- // StatusNEQ applies the NEQ predicate on the "status" field.
- func StatusNEQ(v uint8) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldStatus, v))
- }
- // StatusIn applies the In predicate on the "status" field.
- func StatusIn(vs ...uint8) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldStatus, vs...))
- }
- // StatusNotIn applies the NotIn predicate on the "status" field.
- func StatusNotIn(vs ...uint8) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldStatus, vs...))
- }
- // StatusGT applies the GT predicate on the "status" field.
- func StatusGT(v uint8) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldStatus, v))
- }
- // StatusGTE applies the GTE predicate on the "status" field.
- func StatusGTE(v uint8) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldStatus, v))
- }
- // StatusLT applies the LT predicate on the "status" field.
- func StatusLT(v uint8) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldStatus, v))
- }
- // StatusLTE applies the LTE predicate on the "status" field.
- func StatusLTE(v uint8) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldStatus, v))
- }
- // StatusIsNil applies the IsNil predicate on the "status" field.
- func StatusIsNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIsNull(FieldStatus))
- }
- // StatusNotNil applies the NotNil predicate on the "status" field.
- func StatusNotNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotNull(FieldStatus))
- }
- // DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
- func DeletedAtEQ(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldDeletedAt, v))
- }
- // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
- func DeletedAtNEQ(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldDeletedAt, v))
- }
- // DeletedAtIn applies the In predicate on the "deleted_at" field.
- func DeletedAtIn(vs ...time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldDeletedAt, vs...))
- }
- // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
- func DeletedAtNotIn(vs ...time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldDeletedAt, vs...))
- }
- // DeletedAtGT applies the GT predicate on the "deleted_at" field.
- func DeletedAtGT(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldDeletedAt, v))
- }
- // DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
- func DeletedAtGTE(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldDeletedAt, v))
- }
- // DeletedAtLT applies the LT predicate on the "deleted_at" field.
- func DeletedAtLT(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldDeletedAt, v))
- }
- // DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
- func DeletedAtLTE(v time.Time) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldDeletedAt, v))
- }
- // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
- func DeletedAtIsNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIsNull(FieldDeletedAt))
- }
- // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
- func DeletedAtNotNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotNull(FieldDeletedAt))
- }
- // AkEQ applies the EQ predicate on the "ak" field.
- func AkEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldAk, v))
- }
- // AkNEQ applies the NEQ predicate on the "ak" field.
- func AkNEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldAk, v))
- }
- // AkIn applies the In predicate on the "ak" field.
- func AkIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldAk, vs...))
- }
- // AkNotIn applies the NotIn predicate on the "ak" field.
- func AkNotIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldAk, vs...))
- }
- // AkGT applies the GT predicate on the "ak" field.
- func AkGT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldAk, v))
- }
- // AkGTE applies the GTE predicate on the "ak" field.
- func AkGTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldAk, v))
- }
- // AkLT applies the LT predicate on the "ak" field.
- func AkLT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldAk, v))
- }
- // AkLTE applies the LTE predicate on the "ak" field.
- func AkLTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldAk, v))
- }
- // AkContains applies the Contains predicate on the "ak" field.
- func AkContains(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContains(FieldAk, v))
- }
- // AkHasPrefix applies the HasPrefix predicate on the "ak" field.
- func AkHasPrefix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasPrefix(FieldAk, v))
- }
- // AkHasSuffix applies the HasSuffix predicate on the "ak" field.
- func AkHasSuffix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasSuffix(FieldAk, v))
- }
- // AkIsNil applies the IsNil predicate on the "ak" field.
- func AkIsNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIsNull(FieldAk))
- }
- // AkNotNil applies the NotNil predicate on the "ak" field.
- func AkNotNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotNull(FieldAk))
- }
- // AkEqualFold applies the EqualFold predicate on the "ak" field.
- func AkEqualFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEqualFold(FieldAk, v))
- }
- // AkContainsFold applies the ContainsFold predicate on the "ak" field.
- func AkContainsFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContainsFold(FieldAk, v))
- }
- // SkEQ applies the EQ predicate on the "sk" field.
- func SkEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldSk, v))
- }
- // SkNEQ applies the NEQ predicate on the "sk" field.
- func SkNEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldSk, v))
- }
- // SkIn applies the In predicate on the "sk" field.
- func SkIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldSk, vs...))
- }
- // SkNotIn applies the NotIn predicate on the "sk" field.
- func SkNotIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldSk, vs...))
- }
- // SkGT applies the GT predicate on the "sk" field.
- func SkGT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldSk, v))
- }
- // SkGTE applies the GTE predicate on the "sk" field.
- func SkGTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldSk, v))
- }
- // SkLT applies the LT predicate on the "sk" field.
- func SkLT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldSk, v))
- }
- // SkLTE applies the LTE predicate on the "sk" field.
- func SkLTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldSk, v))
- }
- // SkContains applies the Contains predicate on the "sk" field.
- func SkContains(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContains(FieldSk, v))
- }
- // SkHasPrefix applies the HasPrefix predicate on the "sk" field.
- func SkHasPrefix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasPrefix(FieldSk, v))
- }
- // SkHasSuffix applies the HasSuffix predicate on the "sk" field.
- func SkHasSuffix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasSuffix(FieldSk, v))
- }
- // SkEqualFold applies the EqualFold predicate on the "sk" field.
- func SkEqualFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEqualFold(FieldSk, v))
- }
- // SkContainsFold applies the ContainsFold predicate on the "sk" field.
- func SkContainsFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContainsFold(FieldSk, v))
- }
- // CallbackEQ applies the EQ predicate on the "callback" field.
- func CallbackEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldCallback, v))
- }
- // CallbackNEQ applies the NEQ predicate on the "callback" field.
- func CallbackNEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldCallback, v))
- }
- // CallbackIn applies the In predicate on the "callback" field.
- func CallbackIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldCallback, vs...))
- }
- // CallbackNotIn applies the NotIn predicate on the "callback" field.
- func CallbackNotIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldCallback, vs...))
- }
- // CallbackGT applies the GT predicate on the "callback" field.
- func CallbackGT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldCallback, v))
- }
- // CallbackGTE applies the GTE predicate on the "callback" field.
- func CallbackGTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldCallback, v))
- }
- // CallbackLT applies the LT predicate on the "callback" field.
- func CallbackLT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldCallback, v))
- }
- // CallbackLTE applies the LTE predicate on the "callback" field.
- func CallbackLTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldCallback, v))
- }
- // CallbackContains applies the Contains predicate on the "callback" field.
- func CallbackContains(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContains(FieldCallback, v))
- }
- // CallbackHasPrefix applies the HasPrefix predicate on the "callback" field.
- func CallbackHasPrefix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasPrefix(FieldCallback, v))
- }
- // CallbackHasSuffix applies the HasSuffix predicate on the "callback" field.
- func CallbackHasSuffix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasSuffix(FieldCallback, v))
- }
- // CallbackEqualFold applies the EqualFold predicate on the "callback" field.
- func CallbackEqualFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEqualFold(FieldCallback, v))
- }
- // CallbackContainsFold applies the ContainsFold predicate on the "callback" field.
- func CallbackContainsFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContainsFold(FieldCallback, v))
- }
- // AccountEQ applies the EQ predicate on the "account" field.
- func AccountEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldAccount, v))
- }
- // AccountNEQ applies the NEQ predicate on the "account" field.
- func AccountNEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldAccount, v))
- }
- // AccountIn applies the In predicate on the "account" field.
- func AccountIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldAccount, vs...))
- }
- // AccountNotIn applies the NotIn predicate on the "account" field.
- func AccountNotIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldAccount, vs...))
- }
- // AccountGT applies the GT predicate on the "account" field.
- func AccountGT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldAccount, v))
- }
- // AccountGTE applies the GTE predicate on the "account" field.
- func AccountGTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldAccount, v))
- }
- // AccountLT applies the LT predicate on the "account" field.
- func AccountLT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldAccount, v))
- }
- // AccountLTE applies the LTE predicate on the "account" field.
- func AccountLTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldAccount, v))
- }
- // AccountContains applies the Contains predicate on the "account" field.
- func AccountContains(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContains(FieldAccount, v))
- }
- // AccountHasPrefix applies the HasPrefix predicate on the "account" field.
- func AccountHasPrefix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasPrefix(FieldAccount, v))
- }
- // AccountHasSuffix applies the HasSuffix predicate on the "account" field.
- func AccountHasSuffix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasSuffix(FieldAccount, v))
- }
- // AccountEqualFold applies the EqualFold predicate on the "account" field.
- func AccountEqualFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEqualFold(FieldAccount, v))
- }
- // AccountContainsFold applies the ContainsFold predicate on the "account" field.
- func AccountContainsFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContainsFold(FieldAccount, v))
- }
- // NicknameEQ applies the EQ predicate on the "nickname" field.
- func NicknameEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldNickname, v))
- }
- // NicknameNEQ applies the NEQ predicate on the "nickname" field.
- func NicknameNEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldNickname, v))
- }
- // NicknameIn applies the In predicate on the "nickname" field.
- func NicknameIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldNickname, vs...))
- }
- // NicknameNotIn applies the NotIn predicate on the "nickname" field.
- func NicknameNotIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldNickname, vs...))
- }
- // NicknameGT applies the GT predicate on the "nickname" field.
- func NicknameGT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldNickname, v))
- }
- // NicknameGTE applies the GTE predicate on the "nickname" field.
- func NicknameGTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldNickname, v))
- }
- // NicknameLT applies the LT predicate on the "nickname" field.
- func NicknameLT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldNickname, v))
- }
- // NicknameLTE applies the LTE predicate on the "nickname" field.
- func NicknameLTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldNickname, v))
- }
- // NicknameContains applies the Contains predicate on the "nickname" field.
- func NicknameContains(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContains(FieldNickname, v))
- }
- // NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.
- func NicknameHasPrefix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasPrefix(FieldNickname, v))
- }
- // NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.
- func NicknameHasSuffix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasSuffix(FieldNickname, v))
- }
- // NicknameEqualFold applies the EqualFold predicate on the "nickname" field.
- func NicknameEqualFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEqualFold(FieldNickname, v))
- }
- // NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.
- func NicknameContainsFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContainsFold(FieldNickname, v))
- }
- // PhoneEQ applies the EQ predicate on the "phone" field.
- func PhoneEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldPhone, v))
- }
- // PhoneNEQ applies the NEQ predicate on the "phone" field.
- func PhoneNEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldPhone, v))
- }
- // PhoneIn applies the In predicate on the "phone" field.
- func PhoneIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldPhone, vs...))
- }
- // PhoneNotIn applies the NotIn predicate on the "phone" field.
- func PhoneNotIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldPhone, vs...))
- }
- // PhoneGT applies the GT predicate on the "phone" field.
- func PhoneGT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldPhone, v))
- }
- // PhoneGTE applies the GTE predicate on the "phone" field.
- func PhoneGTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldPhone, v))
- }
- // PhoneLT applies the LT predicate on the "phone" field.
- func PhoneLT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldPhone, v))
- }
- // PhoneLTE applies the LTE predicate on the "phone" field.
- func PhoneLTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldPhone, v))
- }
- // PhoneContains applies the Contains predicate on the "phone" field.
- func PhoneContains(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContains(FieldPhone, v))
- }
- // PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
- func PhoneHasPrefix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasPrefix(FieldPhone, v))
- }
- // PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
- func PhoneHasSuffix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasSuffix(FieldPhone, v))
- }
- // PhoneEqualFold applies the EqualFold predicate on the "phone" field.
- func PhoneEqualFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEqualFold(FieldPhone, v))
- }
- // PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
- func PhoneContainsFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContainsFold(FieldPhone, v))
- }
- // OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
- func OrganizationIDEQ(v uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldOrganizationID, v))
- }
- // OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
- func OrganizationIDNEQ(v uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldOrganizationID, v))
- }
- // OrganizationIDIn applies the In predicate on the "organization_id" field.
- func OrganizationIDIn(vs ...uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldOrganizationID, vs...))
- }
- // OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
- func OrganizationIDNotIn(vs ...uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldOrganizationID, vs...))
- }
- // OrganizationIDGT applies the GT predicate on the "organization_id" field.
- func OrganizationIDGT(v uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldOrganizationID, v))
- }
- // OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
- func OrganizationIDGTE(v uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldOrganizationID, v))
- }
- // OrganizationIDLT applies the LT predicate on the "organization_id" field.
- func OrganizationIDLT(v uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldOrganizationID, v))
- }
- // OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
- func OrganizationIDLTE(v uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldOrganizationID, v))
- }
- // OrganizationIDIsNil applies the IsNil predicate on the "organization_id" field.
- func OrganizationIDIsNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIsNull(FieldOrganizationID))
- }
- // OrganizationIDNotNil applies the NotNil predicate on the "organization_id" field.
- func OrganizationIDNotNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotNull(FieldOrganizationID))
- }
- // AgentIDEQ applies the EQ predicate on the "agent_id" field.
- func AgentIDEQ(v uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldAgentID, v))
- }
- // AgentIDNEQ applies the NEQ predicate on the "agent_id" field.
- func AgentIDNEQ(v uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldAgentID, v))
- }
- // AgentIDIn applies the In predicate on the "agent_id" field.
- func AgentIDIn(vs ...uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldAgentID, vs...))
- }
- // AgentIDNotIn applies the NotIn predicate on the "agent_id" field.
- func AgentIDNotIn(vs ...uint64) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldAgentID, vs...))
- }
- // APIBaseEQ applies the EQ predicate on the "api_base" field.
- func APIBaseEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldAPIBase, v))
- }
- // APIBaseNEQ applies the NEQ predicate on the "api_base" field.
- func APIBaseNEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldAPIBase, v))
- }
- // APIBaseIn applies the In predicate on the "api_base" field.
- func APIBaseIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldAPIBase, vs...))
- }
- // APIBaseNotIn applies the NotIn predicate on the "api_base" field.
- func APIBaseNotIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldAPIBase, vs...))
- }
- // APIBaseGT applies the GT predicate on the "api_base" field.
- func APIBaseGT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldAPIBase, v))
- }
- // APIBaseGTE applies the GTE predicate on the "api_base" field.
- func APIBaseGTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldAPIBase, v))
- }
- // APIBaseLT applies the LT predicate on the "api_base" field.
- func APIBaseLT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldAPIBase, v))
- }
- // APIBaseLTE applies the LTE predicate on the "api_base" field.
- func APIBaseLTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldAPIBase, v))
- }
- // APIBaseContains applies the Contains predicate on the "api_base" field.
- func APIBaseContains(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContains(FieldAPIBase, v))
- }
- // APIBaseHasPrefix applies the HasPrefix predicate on the "api_base" field.
- func APIBaseHasPrefix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasPrefix(FieldAPIBase, v))
- }
- // APIBaseHasSuffix applies the HasSuffix predicate on the "api_base" field.
- func APIBaseHasSuffix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasSuffix(FieldAPIBase, v))
- }
- // APIBaseIsNil applies the IsNil predicate on the "api_base" field.
- func APIBaseIsNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIsNull(FieldAPIBase))
- }
- // APIBaseNotNil applies the NotNil predicate on the "api_base" field.
- func APIBaseNotNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotNull(FieldAPIBase))
- }
- // APIBaseEqualFold applies the EqualFold predicate on the "api_base" field.
- func APIBaseEqualFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEqualFold(FieldAPIBase, v))
- }
- // APIBaseContainsFold applies the ContainsFold predicate on the "api_base" field.
- func APIBaseContainsFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContainsFold(FieldAPIBase, v))
- }
- // APIKeyEQ applies the EQ predicate on the "api_key" field.
- func APIKeyEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldAPIKey, v))
- }
- // APIKeyNEQ applies the NEQ predicate on the "api_key" field.
- func APIKeyNEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldAPIKey, v))
- }
- // APIKeyIn applies the In predicate on the "api_key" field.
- func APIKeyIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldAPIKey, vs...))
- }
- // APIKeyNotIn applies the NotIn predicate on the "api_key" field.
- func APIKeyNotIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldAPIKey, vs...))
- }
- // APIKeyGT applies the GT predicate on the "api_key" field.
- func APIKeyGT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldAPIKey, v))
- }
- // APIKeyGTE applies the GTE predicate on the "api_key" field.
- func APIKeyGTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldAPIKey, v))
- }
- // APIKeyLT applies the LT predicate on the "api_key" field.
- func APIKeyLT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldAPIKey, v))
- }
- // APIKeyLTE applies the LTE predicate on the "api_key" field.
- func APIKeyLTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldAPIKey, v))
- }
- // APIKeyContains applies the Contains predicate on the "api_key" field.
- func APIKeyContains(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContains(FieldAPIKey, v))
- }
- // APIKeyHasPrefix applies the HasPrefix predicate on the "api_key" field.
- func APIKeyHasPrefix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasPrefix(FieldAPIKey, v))
- }
- // APIKeyHasSuffix applies the HasSuffix predicate on the "api_key" field.
- func APIKeyHasSuffix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasSuffix(FieldAPIKey, v))
- }
- // APIKeyIsNil applies the IsNil predicate on the "api_key" field.
- func APIKeyIsNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIsNull(FieldAPIKey))
- }
- // APIKeyNotNil applies the NotNil predicate on the "api_key" field.
- func APIKeyNotNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotNull(FieldAPIKey))
- }
- // APIKeyEqualFold applies the EqualFold predicate on the "api_key" field.
- func APIKeyEqualFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEqualFold(FieldAPIKey, v))
- }
- // APIKeyContainsFold applies the ContainsFold predicate on the "api_key" field.
- func APIKeyContainsFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContainsFold(FieldAPIKey, v))
- }
- // AllowListIsNil applies the IsNil predicate on the "allow_list" field.
- func AllowListIsNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIsNull(FieldAllowList))
- }
- // AllowListNotNil applies the NotNil predicate on the "allow_list" field.
- func AllowListNotNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotNull(FieldAllowList))
- }
- // GroupAllowListIsNil applies the IsNil predicate on the "group_allow_list" field.
- func GroupAllowListIsNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIsNull(FieldGroupAllowList))
- }
- // GroupAllowListNotNil applies the NotNil predicate on the "group_allow_list" field.
- func GroupAllowListNotNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotNull(FieldGroupAllowList))
- }
- // BlockListIsNil applies the IsNil predicate on the "block_list" field.
- func BlockListIsNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIsNull(FieldBlockList))
- }
- // BlockListNotNil applies the NotNil predicate on the "block_list" field.
- func BlockListNotNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotNull(FieldBlockList))
- }
- // GroupBlockListIsNil applies the IsNil predicate on the "group_block_list" field.
- func GroupBlockListIsNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIsNull(FieldGroupBlockList))
- }
- // GroupBlockListNotNil applies the NotNil predicate on the "group_block_list" field.
- func GroupBlockListNotNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotNull(FieldGroupBlockList))
- }
- // HasAgent applies the HasEdge predicate on the "agent" edge.
- func HasAgent() predicate.Whatsapp {
- return predicate.Whatsapp(func(s *sql.Selector) {
- step := sqlgraph.NewStep(
- sqlgraph.From(Table, FieldID),
- sqlgraph.Edge(sqlgraph.M2O, true, AgentTable, AgentColumn),
- )
- sqlgraph.HasNeighbors(s, step)
- })
- }
- // HasAgentWith applies the HasEdge predicate on the "agent" edge with a given conditions (other predicates).
- func HasAgentWith(preds ...predicate.Agent) predicate.Whatsapp {
- return predicate.Whatsapp(func(s *sql.Selector) {
- step := newAgentStep()
- sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
- for _, p := range preds {
- p(s)
- }
- })
- })
- }
- // And groups predicates with the AND operator between them.
- func And(predicates ...predicate.Whatsapp) predicate.Whatsapp {
- return predicate.Whatsapp(sql.AndPredicates(predicates...))
- }
- // Or groups predicates with the OR operator between them.
- func Or(predicates ...predicate.Whatsapp) predicate.Whatsapp {
- return predicate.Whatsapp(sql.OrPredicates(predicates...))
- }
- // Not applies the not operator on the given predicate.
- func Not(p predicate.Whatsapp) predicate.Whatsapp {
- return predicate.Whatsapp(sql.NotPredicates(p))
- }
|