123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795 |
- // Code generated by ent, DO NOT EDIT.
- package whatsappchannel
- import (
- "time"
- "wechat-api/ent/predicate"
- "entgo.io/ent/dialect/sql"
- )
- // ID filters vertices based on their ID field.
- func ID(id uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldID, id))
- }
- // IDEQ applies the EQ predicate on the ID field.
- func IDEQ(id uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldID, id))
- }
- // IDNEQ applies the NEQ predicate on the ID field.
- func IDNEQ(id uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNEQ(FieldID, id))
- }
- // IDIn applies the In predicate on the ID field.
- func IDIn(ids ...uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldIn(FieldID, ids...))
- }
- // IDNotIn applies the NotIn predicate on the ID field.
- func IDNotIn(ids ...uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNotIn(FieldID, ids...))
- }
- // IDGT applies the GT predicate on the ID field.
- func IDGT(id uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGT(FieldID, id))
- }
- // IDGTE applies the GTE predicate on the ID field.
- func IDGTE(id uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGTE(FieldID, id))
- }
- // IDLT applies the LT predicate on the ID field.
- func IDLT(id uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLT(FieldID, id))
- }
- // IDLTE applies the LTE predicate on the ID field.
- func IDLTE(id uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(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.WhatsappChannel {
- return predicate.WhatsappChannel(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.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
- func Status(v uint8) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(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.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldDeletedAt, v))
- }
- // Ak applies equality check predicate on the "ak" field. It's identical to AkEQ.
- func Ak(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldAk, v))
- }
- // Sk applies equality check predicate on the "sk" field. It's identical to SkEQ.
- func Sk(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldSk, v))
- }
- // WaID applies equality check predicate on the "wa_id" field. It's identical to WaIDEQ.
- func WaID(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldWaID, v))
- }
- // WaName applies equality check predicate on the "wa_name" field. It's identical to WaNameEQ.
- func WaName(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldWaName, v))
- }
- // WabaID applies equality check predicate on the "waba_id" field. It's identical to WabaIDEQ.
- func WabaID(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldWabaID, v))
- }
- // BusinessID applies equality check predicate on the "business_id" field. It's identical to BusinessIDEQ.
- func BusinessID(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldBusinessID, v))
- }
- // OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
- func OrganizationID(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldOrganizationID, v))
- }
- // VerifyAccount applies equality check predicate on the "verify_account" field. It's identical to VerifyAccountEQ.
- func VerifyAccount(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldVerifyAccount, v))
- }
- // CreatedAtEQ applies the EQ predicate on the "created_at" field.
- func CreatedAtEQ(v time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldCreatedAt, v))
- }
- // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
- func CreatedAtNEQ(v time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNEQ(FieldCreatedAt, v))
- }
- // CreatedAtIn applies the In predicate on the "created_at" field.
- func CreatedAtIn(vs ...time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldIn(FieldCreatedAt, vs...))
- }
- // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
- func CreatedAtNotIn(vs ...time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNotIn(FieldCreatedAt, vs...))
- }
- // CreatedAtGT applies the GT predicate on the "created_at" field.
- func CreatedAtGT(v time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGT(FieldCreatedAt, v))
- }
- // CreatedAtGTE applies the GTE predicate on the "created_at" field.
- func CreatedAtGTE(v time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGTE(FieldCreatedAt, v))
- }
- // CreatedAtLT applies the LT predicate on the "created_at" field.
- func CreatedAtLT(v time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLT(FieldCreatedAt, v))
- }
- // CreatedAtLTE applies the LTE predicate on the "created_at" field.
- func CreatedAtLTE(v time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLTE(FieldCreatedAt, v))
- }
- // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
- func UpdatedAtEQ(v time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
- func UpdatedAtNEQ(v time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtIn applies the In predicate on the "updated_at" field.
- func UpdatedAtIn(vs ...time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
- func UpdatedAtNotIn(vs ...time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNotIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtGT applies the GT predicate on the "updated_at" field.
- func UpdatedAtGT(v time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGT(FieldUpdatedAt, v))
- }
- // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
- func UpdatedAtGTE(v time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGTE(FieldUpdatedAt, v))
- }
- // UpdatedAtLT applies the LT predicate on the "updated_at" field.
- func UpdatedAtLT(v time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLT(FieldUpdatedAt, v))
- }
- // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
- func UpdatedAtLTE(v time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLTE(FieldUpdatedAt, v))
- }
- // StatusEQ applies the EQ predicate on the "status" field.
- func StatusEQ(v uint8) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldStatus, v))
- }
- // StatusNEQ applies the NEQ predicate on the "status" field.
- func StatusNEQ(v uint8) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNEQ(FieldStatus, v))
- }
- // StatusIn applies the In predicate on the "status" field.
- func StatusIn(vs ...uint8) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldIn(FieldStatus, vs...))
- }
- // StatusNotIn applies the NotIn predicate on the "status" field.
- func StatusNotIn(vs ...uint8) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNotIn(FieldStatus, vs...))
- }
- // StatusGT applies the GT predicate on the "status" field.
- func StatusGT(v uint8) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGT(FieldStatus, v))
- }
- // StatusGTE applies the GTE predicate on the "status" field.
- func StatusGTE(v uint8) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGTE(FieldStatus, v))
- }
- // StatusLT applies the LT predicate on the "status" field.
- func StatusLT(v uint8) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLT(FieldStatus, v))
- }
- // StatusLTE applies the LTE predicate on the "status" field.
- func StatusLTE(v uint8) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLTE(FieldStatus, v))
- }
- // StatusIsNil applies the IsNil predicate on the "status" field.
- func StatusIsNil() predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldIsNull(FieldStatus))
- }
- // StatusNotNil applies the NotNil predicate on the "status" field.
- func StatusNotNil() predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNotNull(FieldStatus))
- }
- // DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
- func DeletedAtEQ(v time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldDeletedAt, v))
- }
- // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
- func DeletedAtNEQ(v time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNEQ(FieldDeletedAt, v))
- }
- // DeletedAtIn applies the In predicate on the "deleted_at" field.
- func DeletedAtIn(vs ...time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldIn(FieldDeletedAt, vs...))
- }
- // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
- func DeletedAtNotIn(vs ...time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNotIn(FieldDeletedAt, vs...))
- }
- // DeletedAtGT applies the GT predicate on the "deleted_at" field.
- func DeletedAtGT(v time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGT(FieldDeletedAt, v))
- }
- // DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
- func DeletedAtGTE(v time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGTE(FieldDeletedAt, v))
- }
- // DeletedAtLT applies the LT predicate on the "deleted_at" field.
- func DeletedAtLT(v time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLT(FieldDeletedAt, v))
- }
- // DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
- func DeletedAtLTE(v time.Time) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLTE(FieldDeletedAt, v))
- }
- // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
- func DeletedAtIsNil() predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldIsNull(FieldDeletedAt))
- }
- // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
- func DeletedAtNotNil() predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNotNull(FieldDeletedAt))
- }
- // AkEQ applies the EQ predicate on the "ak" field.
- func AkEQ(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldAk, v))
- }
- // AkNEQ applies the NEQ predicate on the "ak" field.
- func AkNEQ(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNEQ(FieldAk, v))
- }
- // AkIn applies the In predicate on the "ak" field.
- func AkIn(vs ...string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldIn(FieldAk, vs...))
- }
- // AkNotIn applies the NotIn predicate on the "ak" field.
- func AkNotIn(vs ...string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNotIn(FieldAk, vs...))
- }
- // AkGT applies the GT predicate on the "ak" field.
- func AkGT(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGT(FieldAk, v))
- }
- // AkGTE applies the GTE predicate on the "ak" field.
- func AkGTE(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGTE(FieldAk, v))
- }
- // AkLT applies the LT predicate on the "ak" field.
- func AkLT(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLT(FieldAk, v))
- }
- // AkLTE applies the LTE predicate on the "ak" field.
- func AkLTE(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLTE(FieldAk, v))
- }
- // AkContains applies the Contains predicate on the "ak" field.
- func AkContains(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldContains(FieldAk, v))
- }
- // AkHasPrefix applies the HasPrefix predicate on the "ak" field.
- func AkHasPrefix(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldHasPrefix(FieldAk, v))
- }
- // AkHasSuffix applies the HasSuffix predicate on the "ak" field.
- func AkHasSuffix(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldHasSuffix(FieldAk, v))
- }
- // AkIsNil applies the IsNil predicate on the "ak" field.
- func AkIsNil() predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldIsNull(FieldAk))
- }
- // AkNotNil applies the NotNil predicate on the "ak" field.
- func AkNotNil() predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNotNull(FieldAk))
- }
- // AkEqualFold applies the EqualFold predicate on the "ak" field.
- func AkEqualFold(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEqualFold(FieldAk, v))
- }
- // AkContainsFold applies the ContainsFold predicate on the "ak" field.
- func AkContainsFold(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldContainsFold(FieldAk, v))
- }
- // SkEQ applies the EQ predicate on the "sk" field.
- func SkEQ(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldSk, v))
- }
- // SkNEQ applies the NEQ predicate on the "sk" field.
- func SkNEQ(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNEQ(FieldSk, v))
- }
- // SkIn applies the In predicate on the "sk" field.
- func SkIn(vs ...string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldIn(FieldSk, vs...))
- }
- // SkNotIn applies the NotIn predicate on the "sk" field.
- func SkNotIn(vs ...string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNotIn(FieldSk, vs...))
- }
- // SkGT applies the GT predicate on the "sk" field.
- func SkGT(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGT(FieldSk, v))
- }
- // SkGTE applies the GTE predicate on the "sk" field.
- func SkGTE(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGTE(FieldSk, v))
- }
- // SkLT applies the LT predicate on the "sk" field.
- func SkLT(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLT(FieldSk, v))
- }
- // SkLTE applies the LTE predicate on the "sk" field.
- func SkLTE(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLTE(FieldSk, v))
- }
- // SkContains applies the Contains predicate on the "sk" field.
- func SkContains(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldContains(FieldSk, v))
- }
- // SkHasPrefix applies the HasPrefix predicate on the "sk" field.
- func SkHasPrefix(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldHasPrefix(FieldSk, v))
- }
- // SkHasSuffix applies the HasSuffix predicate on the "sk" field.
- func SkHasSuffix(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldHasSuffix(FieldSk, v))
- }
- // SkEqualFold applies the EqualFold predicate on the "sk" field.
- func SkEqualFold(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEqualFold(FieldSk, v))
- }
- // SkContainsFold applies the ContainsFold predicate on the "sk" field.
- func SkContainsFold(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldContainsFold(FieldSk, v))
- }
- // WaIDEQ applies the EQ predicate on the "wa_id" field.
- func WaIDEQ(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldWaID, v))
- }
- // WaIDNEQ applies the NEQ predicate on the "wa_id" field.
- func WaIDNEQ(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNEQ(FieldWaID, v))
- }
- // WaIDIn applies the In predicate on the "wa_id" field.
- func WaIDIn(vs ...string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldIn(FieldWaID, vs...))
- }
- // WaIDNotIn applies the NotIn predicate on the "wa_id" field.
- func WaIDNotIn(vs ...string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNotIn(FieldWaID, vs...))
- }
- // WaIDGT applies the GT predicate on the "wa_id" field.
- func WaIDGT(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGT(FieldWaID, v))
- }
- // WaIDGTE applies the GTE predicate on the "wa_id" field.
- func WaIDGTE(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGTE(FieldWaID, v))
- }
- // WaIDLT applies the LT predicate on the "wa_id" field.
- func WaIDLT(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLT(FieldWaID, v))
- }
- // WaIDLTE applies the LTE predicate on the "wa_id" field.
- func WaIDLTE(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLTE(FieldWaID, v))
- }
- // WaIDContains applies the Contains predicate on the "wa_id" field.
- func WaIDContains(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldContains(FieldWaID, v))
- }
- // WaIDHasPrefix applies the HasPrefix predicate on the "wa_id" field.
- func WaIDHasPrefix(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldHasPrefix(FieldWaID, v))
- }
- // WaIDHasSuffix applies the HasSuffix predicate on the "wa_id" field.
- func WaIDHasSuffix(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldHasSuffix(FieldWaID, v))
- }
- // WaIDIsNil applies the IsNil predicate on the "wa_id" field.
- func WaIDIsNil() predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldIsNull(FieldWaID))
- }
- // WaIDNotNil applies the NotNil predicate on the "wa_id" field.
- func WaIDNotNil() predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNotNull(FieldWaID))
- }
- // WaIDEqualFold applies the EqualFold predicate on the "wa_id" field.
- func WaIDEqualFold(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEqualFold(FieldWaID, v))
- }
- // WaIDContainsFold applies the ContainsFold predicate on the "wa_id" field.
- func WaIDContainsFold(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldContainsFold(FieldWaID, v))
- }
- // WaNameEQ applies the EQ predicate on the "wa_name" field.
- func WaNameEQ(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldWaName, v))
- }
- // WaNameNEQ applies the NEQ predicate on the "wa_name" field.
- func WaNameNEQ(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNEQ(FieldWaName, v))
- }
- // WaNameIn applies the In predicate on the "wa_name" field.
- func WaNameIn(vs ...string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldIn(FieldWaName, vs...))
- }
- // WaNameNotIn applies the NotIn predicate on the "wa_name" field.
- func WaNameNotIn(vs ...string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNotIn(FieldWaName, vs...))
- }
- // WaNameGT applies the GT predicate on the "wa_name" field.
- func WaNameGT(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGT(FieldWaName, v))
- }
- // WaNameGTE applies the GTE predicate on the "wa_name" field.
- func WaNameGTE(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGTE(FieldWaName, v))
- }
- // WaNameLT applies the LT predicate on the "wa_name" field.
- func WaNameLT(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLT(FieldWaName, v))
- }
- // WaNameLTE applies the LTE predicate on the "wa_name" field.
- func WaNameLTE(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLTE(FieldWaName, v))
- }
- // WaNameContains applies the Contains predicate on the "wa_name" field.
- func WaNameContains(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldContains(FieldWaName, v))
- }
- // WaNameHasPrefix applies the HasPrefix predicate on the "wa_name" field.
- func WaNameHasPrefix(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldHasPrefix(FieldWaName, v))
- }
- // WaNameHasSuffix applies the HasSuffix predicate on the "wa_name" field.
- func WaNameHasSuffix(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldHasSuffix(FieldWaName, v))
- }
- // WaNameIsNil applies the IsNil predicate on the "wa_name" field.
- func WaNameIsNil() predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldIsNull(FieldWaName))
- }
- // WaNameNotNil applies the NotNil predicate on the "wa_name" field.
- func WaNameNotNil() predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNotNull(FieldWaName))
- }
- // WaNameEqualFold applies the EqualFold predicate on the "wa_name" field.
- func WaNameEqualFold(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEqualFold(FieldWaName, v))
- }
- // WaNameContainsFold applies the ContainsFold predicate on the "wa_name" field.
- func WaNameContainsFold(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldContainsFold(FieldWaName, v))
- }
- // WabaIDEQ applies the EQ predicate on the "waba_id" field.
- func WabaIDEQ(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldWabaID, v))
- }
- // WabaIDNEQ applies the NEQ predicate on the "waba_id" field.
- func WabaIDNEQ(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNEQ(FieldWabaID, v))
- }
- // WabaIDIn applies the In predicate on the "waba_id" field.
- func WabaIDIn(vs ...uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldIn(FieldWabaID, vs...))
- }
- // WabaIDNotIn applies the NotIn predicate on the "waba_id" field.
- func WabaIDNotIn(vs ...uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNotIn(FieldWabaID, vs...))
- }
- // WabaIDGT applies the GT predicate on the "waba_id" field.
- func WabaIDGT(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGT(FieldWabaID, v))
- }
- // WabaIDGTE applies the GTE predicate on the "waba_id" field.
- func WabaIDGTE(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGTE(FieldWabaID, v))
- }
- // WabaIDLT applies the LT predicate on the "waba_id" field.
- func WabaIDLT(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLT(FieldWabaID, v))
- }
- // WabaIDLTE applies the LTE predicate on the "waba_id" field.
- func WabaIDLTE(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLTE(FieldWabaID, v))
- }
- // BusinessIDEQ applies the EQ predicate on the "business_id" field.
- func BusinessIDEQ(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldBusinessID, v))
- }
- // BusinessIDNEQ applies the NEQ predicate on the "business_id" field.
- func BusinessIDNEQ(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNEQ(FieldBusinessID, v))
- }
- // BusinessIDIn applies the In predicate on the "business_id" field.
- func BusinessIDIn(vs ...uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldIn(FieldBusinessID, vs...))
- }
- // BusinessIDNotIn applies the NotIn predicate on the "business_id" field.
- func BusinessIDNotIn(vs ...uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNotIn(FieldBusinessID, vs...))
- }
- // BusinessIDGT applies the GT predicate on the "business_id" field.
- func BusinessIDGT(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGT(FieldBusinessID, v))
- }
- // BusinessIDGTE applies the GTE predicate on the "business_id" field.
- func BusinessIDGTE(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGTE(FieldBusinessID, v))
- }
- // BusinessIDLT applies the LT predicate on the "business_id" field.
- func BusinessIDLT(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLT(FieldBusinessID, v))
- }
- // BusinessIDLTE applies the LTE predicate on the "business_id" field.
- func BusinessIDLTE(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLTE(FieldBusinessID, v))
- }
- // OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
- func OrganizationIDEQ(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldOrganizationID, v))
- }
- // OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
- func OrganizationIDNEQ(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNEQ(FieldOrganizationID, v))
- }
- // OrganizationIDIn applies the In predicate on the "organization_id" field.
- func OrganizationIDIn(vs ...uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldIn(FieldOrganizationID, vs...))
- }
- // OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
- func OrganizationIDNotIn(vs ...uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNotIn(FieldOrganizationID, vs...))
- }
- // OrganizationIDGT applies the GT predicate on the "organization_id" field.
- func OrganizationIDGT(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGT(FieldOrganizationID, v))
- }
- // OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
- func OrganizationIDGTE(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGTE(FieldOrganizationID, v))
- }
- // OrganizationIDLT applies the LT predicate on the "organization_id" field.
- func OrganizationIDLT(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLT(FieldOrganizationID, v))
- }
- // OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
- func OrganizationIDLTE(v uint64) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLTE(FieldOrganizationID, v))
- }
- // OrganizationIDIsNil applies the IsNil predicate on the "organization_id" field.
- func OrganizationIDIsNil() predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldIsNull(FieldOrganizationID))
- }
- // OrganizationIDNotNil applies the NotNil predicate on the "organization_id" field.
- func OrganizationIDNotNil() predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNotNull(FieldOrganizationID))
- }
- // VerifyAccountEQ applies the EQ predicate on the "verify_account" field.
- func VerifyAccountEQ(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEQ(FieldVerifyAccount, v))
- }
- // VerifyAccountNEQ applies the NEQ predicate on the "verify_account" field.
- func VerifyAccountNEQ(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNEQ(FieldVerifyAccount, v))
- }
- // VerifyAccountIn applies the In predicate on the "verify_account" field.
- func VerifyAccountIn(vs ...string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldIn(FieldVerifyAccount, vs...))
- }
- // VerifyAccountNotIn applies the NotIn predicate on the "verify_account" field.
- func VerifyAccountNotIn(vs ...string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldNotIn(FieldVerifyAccount, vs...))
- }
- // VerifyAccountGT applies the GT predicate on the "verify_account" field.
- func VerifyAccountGT(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGT(FieldVerifyAccount, v))
- }
- // VerifyAccountGTE applies the GTE predicate on the "verify_account" field.
- func VerifyAccountGTE(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldGTE(FieldVerifyAccount, v))
- }
- // VerifyAccountLT applies the LT predicate on the "verify_account" field.
- func VerifyAccountLT(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLT(FieldVerifyAccount, v))
- }
- // VerifyAccountLTE applies the LTE predicate on the "verify_account" field.
- func VerifyAccountLTE(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldLTE(FieldVerifyAccount, v))
- }
- // VerifyAccountContains applies the Contains predicate on the "verify_account" field.
- func VerifyAccountContains(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldContains(FieldVerifyAccount, v))
- }
- // VerifyAccountHasPrefix applies the HasPrefix predicate on the "verify_account" field.
- func VerifyAccountHasPrefix(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldHasPrefix(FieldVerifyAccount, v))
- }
- // VerifyAccountHasSuffix applies the HasSuffix predicate on the "verify_account" field.
- func VerifyAccountHasSuffix(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldHasSuffix(FieldVerifyAccount, v))
- }
- // VerifyAccountEqualFold applies the EqualFold predicate on the "verify_account" field.
- func VerifyAccountEqualFold(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldEqualFold(FieldVerifyAccount, v))
- }
- // VerifyAccountContainsFold applies the ContainsFold predicate on the "verify_account" field.
- func VerifyAccountContainsFold(v string) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.FieldContainsFold(FieldVerifyAccount, v))
- }
- // And groups predicates with the AND operator between them.
- func And(predicates ...predicate.WhatsappChannel) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.AndPredicates(predicates...))
- }
- // Or groups predicates with the OR operator between them.
- func Or(predicates ...predicate.WhatsappChannel) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.OrPredicates(predicates...))
- }
- // Not applies the not operator on the given predicate.
- func Not(p predicate.WhatsappChannel) predicate.WhatsappChannel {
- return predicate.WhatsappChannel(sql.NotPredicates(p))
- }
|