1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219 |
- // 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))
- }
- // WaID applies equality check predicate on the "wa_id" field. It's identical to WaIDEQ.
- func WaID(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldWaID, v))
- }
- // WaName applies equality check predicate on the "wa_name" field. It's identical to WaNameEQ.
- func WaName(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldWaName, 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))
- }
- // 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))
- }
- // 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))
- }
- // Cc applies equality check predicate on the "cc" field. It's identical to CcEQ.
- func Cc(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldCc, 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))
- }
- // CcPhone applies equality check predicate on the "cc_phone" field. It's identical to CcPhoneEQ.
- func CcPhone(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldCcPhone, v))
- }
- // PhoneName applies equality check predicate on the "phone_name" field. It's identical to PhoneNameEQ.
- func PhoneName(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldPhoneName, v))
- }
- // PhoneStatus applies equality check predicate on the "phone_status" field. It's identical to PhoneStatusEQ.
- func PhoneStatus(v int8) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldPhoneStatus, 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))
- }
- // 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))
- }
- // WaIDEQ applies the EQ predicate on the "wa_id" field.
- func WaIDEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldWaID, v))
- }
- // WaIDNEQ applies the NEQ predicate on the "wa_id" field.
- func WaIDNEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldWaID, v))
- }
- // WaIDIn applies the In predicate on the "wa_id" field.
- func WaIDIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldWaID, vs...))
- }
- // WaIDNotIn applies the NotIn predicate on the "wa_id" field.
- func WaIDNotIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldWaID, vs...))
- }
- // WaIDGT applies the GT predicate on the "wa_id" field.
- func WaIDGT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldWaID, v))
- }
- // WaIDGTE applies the GTE predicate on the "wa_id" field.
- func WaIDGTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldWaID, v))
- }
- // WaIDLT applies the LT predicate on the "wa_id" field.
- func WaIDLT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldWaID, v))
- }
- // WaIDLTE applies the LTE predicate on the "wa_id" field.
- func WaIDLTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldWaID, v))
- }
- // WaIDContains applies the Contains predicate on the "wa_id" field.
- func WaIDContains(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContains(FieldWaID, v))
- }
- // WaIDHasPrefix applies the HasPrefix predicate on the "wa_id" field.
- func WaIDHasPrefix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasPrefix(FieldWaID, v))
- }
- // WaIDHasSuffix applies the HasSuffix predicate on the "wa_id" field.
- func WaIDHasSuffix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasSuffix(FieldWaID, v))
- }
- // WaIDIsNil applies the IsNil predicate on the "wa_id" field.
- func WaIDIsNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIsNull(FieldWaID))
- }
- // WaIDNotNil applies the NotNil predicate on the "wa_id" field.
- func WaIDNotNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotNull(FieldWaID))
- }
- // WaIDEqualFold applies the EqualFold predicate on the "wa_id" field.
- func WaIDEqualFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEqualFold(FieldWaID, v))
- }
- // WaIDContainsFold applies the ContainsFold predicate on the "wa_id" field.
- func WaIDContainsFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContainsFold(FieldWaID, v))
- }
- // WaNameEQ applies the EQ predicate on the "wa_name" field.
- func WaNameEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldWaName, v))
- }
- // WaNameNEQ applies the NEQ predicate on the "wa_name" field.
- func WaNameNEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldWaName, v))
- }
- // WaNameIn applies the In predicate on the "wa_name" field.
- func WaNameIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldWaName, vs...))
- }
- // WaNameNotIn applies the NotIn predicate on the "wa_name" field.
- func WaNameNotIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldWaName, vs...))
- }
- // WaNameGT applies the GT predicate on the "wa_name" field.
- func WaNameGT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldWaName, v))
- }
- // WaNameGTE applies the GTE predicate on the "wa_name" field.
- func WaNameGTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldWaName, v))
- }
- // WaNameLT applies the LT predicate on the "wa_name" field.
- func WaNameLT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldWaName, v))
- }
- // WaNameLTE applies the LTE predicate on the "wa_name" field.
- func WaNameLTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldWaName, v))
- }
- // WaNameContains applies the Contains predicate on the "wa_name" field.
- func WaNameContains(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContains(FieldWaName, v))
- }
- // WaNameHasPrefix applies the HasPrefix predicate on the "wa_name" field.
- func WaNameHasPrefix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasPrefix(FieldWaName, v))
- }
- // WaNameHasSuffix applies the HasSuffix predicate on the "wa_name" field.
- func WaNameHasSuffix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasSuffix(FieldWaName, v))
- }
- // WaNameIsNil applies the IsNil predicate on the "wa_name" field.
- func WaNameIsNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIsNull(FieldWaName))
- }
- // WaNameNotNil applies the NotNil predicate on the "wa_name" field.
- func WaNameNotNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotNull(FieldWaName))
- }
- // WaNameEqualFold applies the EqualFold predicate on the "wa_name" field.
- func WaNameEqualFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEqualFold(FieldWaName, v))
- }
- // WaNameContainsFold applies the ContainsFold predicate on the "wa_name" field.
- func WaNameContainsFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContainsFold(FieldWaName, 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))
- }
- // CallbackIsNil applies the IsNil predicate on the "callback" field.
- func CallbackIsNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIsNull(FieldCallback))
- }
- // CallbackNotNil applies the NotNil predicate on the "callback" field.
- func CallbackNotNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotNull(FieldCallback))
- }
- // 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))
- }
- // 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...))
- }
- // 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))
- }
- // AccountIsNil applies the IsNil predicate on the "account" field.
- func AccountIsNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIsNull(FieldAccount))
- }
- // AccountNotNil applies the NotNil predicate on the "account" field.
- func AccountNotNil() predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotNull(FieldAccount))
- }
- // 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))
- }
- // CcEQ applies the EQ predicate on the "cc" field.
- func CcEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldCc, v))
- }
- // CcNEQ applies the NEQ predicate on the "cc" field.
- func CcNEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldCc, v))
- }
- // CcIn applies the In predicate on the "cc" field.
- func CcIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldCc, vs...))
- }
- // CcNotIn applies the NotIn predicate on the "cc" field.
- func CcNotIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldCc, vs...))
- }
- // CcGT applies the GT predicate on the "cc" field.
- func CcGT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldCc, v))
- }
- // CcGTE applies the GTE predicate on the "cc" field.
- func CcGTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldCc, v))
- }
- // CcLT applies the LT predicate on the "cc" field.
- func CcLT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldCc, v))
- }
- // CcLTE applies the LTE predicate on the "cc" field.
- func CcLTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldCc, v))
- }
- // CcContains applies the Contains predicate on the "cc" field.
- func CcContains(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContains(FieldCc, v))
- }
- // CcHasPrefix applies the HasPrefix predicate on the "cc" field.
- func CcHasPrefix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasPrefix(FieldCc, v))
- }
- // CcHasSuffix applies the HasSuffix predicate on the "cc" field.
- func CcHasSuffix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasSuffix(FieldCc, v))
- }
- // CcEqualFold applies the EqualFold predicate on the "cc" field.
- func CcEqualFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEqualFold(FieldCc, v))
- }
- // CcContainsFold applies the ContainsFold predicate on the "cc" field.
- func CcContainsFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContainsFold(FieldCc, 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))
- }
- // CcPhoneEQ applies the EQ predicate on the "cc_phone" field.
- func CcPhoneEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldCcPhone, v))
- }
- // CcPhoneNEQ applies the NEQ predicate on the "cc_phone" field.
- func CcPhoneNEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldCcPhone, v))
- }
- // CcPhoneIn applies the In predicate on the "cc_phone" field.
- func CcPhoneIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldCcPhone, vs...))
- }
- // CcPhoneNotIn applies the NotIn predicate on the "cc_phone" field.
- func CcPhoneNotIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldCcPhone, vs...))
- }
- // CcPhoneGT applies the GT predicate on the "cc_phone" field.
- func CcPhoneGT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldCcPhone, v))
- }
- // CcPhoneGTE applies the GTE predicate on the "cc_phone" field.
- func CcPhoneGTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldCcPhone, v))
- }
- // CcPhoneLT applies the LT predicate on the "cc_phone" field.
- func CcPhoneLT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldCcPhone, v))
- }
- // CcPhoneLTE applies the LTE predicate on the "cc_phone" field.
- func CcPhoneLTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldCcPhone, v))
- }
- // CcPhoneContains applies the Contains predicate on the "cc_phone" field.
- func CcPhoneContains(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContains(FieldCcPhone, v))
- }
- // CcPhoneHasPrefix applies the HasPrefix predicate on the "cc_phone" field.
- func CcPhoneHasPrefix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasPrefix(FieldCcPhone, v))
- }
- // CcPhoneHasSuffix applies the HasSuffix predicate on the "cc_phone" field.
- func CcPhoneHasSuffix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasSuffix(FieldCcPhone, v))
- }
- // CcPhoneEqualFold applies the EqualFold predicate on the "cc_phone" field.
- func CcPhoneEqualFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEqualFold(FieldCcPhone, v))
- }
- // CcPhoneContainsFold applies the ContainsFold predicate on the "cc_phone" field.
- func CcPhoneContainsFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContainsFold(FieldCcPhone, v))
- }
- // PhoneNameEQ applies the EQ predicate on the "phone_name" field.
- func PhoneNameEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldPhoneName, v))
- }
- // PhoneNameNEQ applies the NEQ predicate on the "phone_name" field.
- func PhoneNameNEQ(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldPhoneName, v))
- }
- // PhoneNameIn applies the In predicate on the "phone_name" field.
- func PhoneNameIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldPhoneName, vs...))
- }
- // PhoneNameNotIn applies the NotIn predicate on the "phone_name" field.
- func PhoneNameNotIn(vs ...string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldPhoneName, vs...))
- }
- // PhoneNameGT applies the GT predicate on the "phone_name" field.
- func PhoneNameGT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldPhoneName, v))
- }
- // PhoneNameGTE applies the GTE predicate on the "phone_name" field.
- func PhoneNameGTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldPhoneName, v))
- }
- // PhoneNameLT applies the LT predicate on the "phone_name" field.
- func PhoneNameLT(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldPhoneName, v))
- }
- // PhoneNameLTE applies the LTE predicate on the "phone_name" field.
- func PhoneNameLTE(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldPhoneName, v))
- }
- // PhoneNameContains applies the Contains predicate on the "phone_name" field.
- func PhoneNameContains(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContains(FieldPhoneName, v))
- }
- // PhoneNameHasPrefix applies the HasPrefix predicate on the "phone_name" field.
- func PhoneNameHasPrefix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasPrefix(FieldPhoneName, v))
- }
- // PhoneNameHasSuffix applies the HasSuffix predicate on the "phone_name" field.
- func PhoneNameHasSuffix(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldHasSuffix(FieldPhoneName, v))
- }
- // PhoneNameEqualFold applies the EqualFold predicate on the "phone_name" field.
- func PhoneNameEqualFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEqualFold(FieldPhoneName, v))
- }
- // PhoneNameContainsFold applies the ContainsFold predicate on the "phone_name" field.
- func PhoneNameContainsFold(v string) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldContainsFold(FieldPhoneName, v))
- }
- // PhoneStatusEQ applies the EQ predicate on the "phone_status" field.
- func PhoneStatusEQ(v int8) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldEQ(FieldPhoneStatus, v))
- }
- // PhoneStatusNEQ applies the NEQ predicate on the "phone_status" field.
- func PhoneStatusNEQ(v int8) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNEQ(FieldPhoneStatus, v))
- }
- // PhoneStatusIn applies the In predicate on the "phone_status" field.
- func PhoneStatusIn(vs ...int8) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldIn(FieldPhoneStatus, vs...))
- }
- // PhoneStatusNotIn applies the NotIn predicate on the "phone_status" field.
- func PhoneStatusNotIn(vs ...int8) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldNotIn(FieldPhoneStatus, vs...))
- }
- // PhoneStatusGT applies the GT predicate on the "phone_status" field.
- func PhoneStatusGT(v int8) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGT(FieldPhoneStatus, v))
- }
- // PhoneStatusGTE applies the GTE predicate on the "phone_status" field.
- func PhoneStatusGTE(v int8) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldGTE(FieldPhoneStatus, v))
- }
- // PhoneStatusLT applies the LT predicate on the "phone_status" field.
- func PhoneStatusLT(v int8) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLT(FieldPhoneStatus, v))
- }
- // PhoneStatusLTE applies the LTE predicate on the "phone_status" field.
- func PhoneStatusLTE(v int8) predicate.Whatsapp {
- return predicate.Whatsapp(sql.FieldLTE(FieldPhoneStatus, 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))
- }
- // 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))
- }
|