123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805 |
- // Code generated by ent, DO NOT EDIT.
- package aliyunavatar
- import (
- "time"
- "wechat-api/ent/predicate"
- "entgo.io/ent/dialect/sql"
- )
- // ID filters vertices based on their ID field.
- func ID(id uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldID, id))
- }
- // IDEQ applies the EQ predicate on the ID field.
- func IDEQ(id uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldID, id))
- }
- // IDNEQ applies the NEQ predicate on the ID field.
- func IDNEQ(id uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNEQ(FieldID, id))
- }
- // IDIn applies the In predicate on the ID field.
- func IDIn(ids ...uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldIn(FieldID, ids...))
- }
- // IDNotIn applies the NotIn predicate on the ID field.
- func IDNotIn(ids ...uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNotIn(FieldID, ids...))
- }
- // IDGT applies the GT predicate on the ID field.
- func IDGT(id uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGT(FieldID, id))
- }
- // IDGTE applies the GTE predicate on the ID field.
- func IDGTE(id uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGTE(FieldID, id))
- }
- // IDLT applies the LT predicate on the ID field.
- func IDLT(id uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLT(FieldID, id))
- }
- // IDLTE applies the LTE predicate on the ID field.
- func IDLTE(id uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(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.AliyunAvatar {
- return predicate.AliyunAvatar(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.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
- func DeletedAt(v time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldDeletedAt, v))
- }
- // UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
- func UserID(v uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldUserID, v))
- }
- // BizID applies equality check predicate on the "biz_id" field. It's identical to BizIDEQ.
- func BizID(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldBizID, v))
- }
- // AccessKeyID applies equality check predicate on the "access_key_id" field. It's identical to AccessKeyIDEQ.
- func AccessKeyID(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldAccessKeyID, v))
- }
- // AccessKeySecret applies equality check predicate on the "access_key_secret" field. It's identical to AccessKeySecretEQ.
- func AccessKeySecret(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldAccessKeySecret, v))
- }
- // AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.
- func AppID(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldAppID, v))
- }
- // TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
- func TenantID(v uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldTenantID, v))
- }
- // Response applies equality check predicate on the "response" field. It's identical to ResponseEQ.
- func Response(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldResponse, v))
- }
- // Token applies equality check predicate on the "token" field. It's identical to TokenEQ.
- func Token(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldToken, v))
- }
- // SessionID applies equality check predicate on the "session_id" field. It's identical to SessionIDEQ.
- func SessionID(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldSessionID, v))
- }
- // CreatedAtEQ applies the EQ predicate on the "created_at" field.
- func CreatedAtEQ(v time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldCreatedAt, v))
- }
- // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
- func CreatedAtNEQ(v time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNEQ(FieldCreatedAt, v))
- }
- // CreatedAtIn applies the In predicate on the "created_at" field.
- func CreatedAtIn(vs ...time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldIn(FieldCreatedAt, vs...))
- }
- // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
- func CreatedAtNotIn(vs ...time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNotIn(FieldCreatedAt, vs...))
- }
- // CreatedAtGT applies the GT predicate on the "created_at" field.
- func CreatedAtGT(v time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGT(FieldCreatedAt, v))
- }
- // CreatedAtGTE applies the GTE predicate on the "created_at" field.
- func CreatedAtGTE(v time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGTE(FieldCreatedAt, v))
- }
- // CreatedAtLT applies the LT predicate on the "created_at" field.
- func CreatedAtLT(v time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLT(FieldCreatedAt, v))
- }
- // CreatedAtLTE applies the LTE predicate on the "created_at" field.
- func CreatedAtLTE(v time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLTE(FieldCreatedAt, v))
- }
- // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
- func UpdatedAtEQ(v time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
- func UpdatedAtNEQ(v time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtIn applies the In predicate on the "updated_at" field.
- func UpdatedAtIn(vs ...time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
- func UpdatedAtNotIn(vs ...time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNotIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtGT applies the GT predicate on the "updated_at" field.
- func UpdatedAtGT(v time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGT(FieldUpdatedAt, v))
- }
- // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
- func UpdatedAtGTE(v time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGTE(FieldUpdatedAt, v))
- }
- // UpdatedAtLT applies the LT predicate on the "updated_at" field.
- func UpdatedAtLT(v time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLT(FieldUpdatedAt, v))
- }
- // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
- func UpdatedAtLTE(v time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLTE(FieldUpdatedAt, v))
- }
- // DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
- func DeletedAtEQ(v time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldDeletedAt, v))
- }
- // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
- func DeletedAtNEQ(v time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNEQ(FieldDeletedAt, v))
- }
- // DeletedAtIn applies the In predicate on the "deleted_at" field.
- func DeletedAtIn(vs ...time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldIn(FieldDeletedAt, vs...))
- }
- // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
- func DeletedAtNotIn(vs ...time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNotIn(FieldDeletedAt, vs...))
- }
- // DeletedAtGT applies the GT predicate on the "deleted_at" field.
- func DeletedAtGT(v time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGT(FieldDeletedAt, v))
- }
- // DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
- func DeletedAtGTE(v time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGTE(FieldDeletedAt, v))
- }
- // DeletedAtLT applies the LT predicate on the "deleted_at" field.
- func DeletedAtLT(v time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLT(FieldDeletedAt, v))
- }
- // DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
- func DeletedAtLTE(v time.Time) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLTE(FieldDeletedAt, v))
- }
- // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
- func DeletedAtIsNil() predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldIsNull(FieldDeletedAt))
- }
- // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
- func DeletedAtNotNil() predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNotNull(FieldDeletedAt))
- }
- // UserIDEQ applies the EQ predicate on the "user_id" field.
- func UserIDEQ(v uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldUserID, v))
- }
- // UserIDNEQ applies the NEQ predicate on the "user_id" field.
- func UserIDNEQ(v uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNEQ(FieldUserID, v))
- }
- // UserIDIn applies the In predicate on the "user_id" field.
- func UserIDIn(vs ...uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldIn(FieldUserID, vs...))
- }
- // UserIDNotIn applies the NotIn predicate on the "user_id" field.
- func UserIDNotIn(vs ...uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNotIn(FieldUserID, vs...))
- }
- // UserIDGT applies the GT predicate on the "user_id" field.
- func UserIDGT(v uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGT(FieldUserID, v))
- }
- // UserIDGTE applies the GTE predicate on the "user_id" field.
- func UserIDGTE(v uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGTE(FieldUserID, v))
- }
- // UserIDLT applies the LT predicate on the "user_id" field.
- func UserIDLT(v uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLT(FieldUserID, v))
- }
- // UserIDLTE applies the LTE predicate on the "user_id" field.
- func UserIDLTE(v uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLTE(FieldUserID, v))
- }
- // BizIDEQ applies the EQ predicate on the "biz_id" field.
- func BizIDEQ(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldBizID, v))
- }
- // BizIDNEQ applies the NEQ predicate on the "biz_id" field.
- func BizIDNEQ(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNEQ(FieldBizID, v))
- }
- // BizIDIn applies the In predicate on the "biz_id" field.
- func BizIDIn(vs ...string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldIn(FieldBizID, vs...))
- }
- // BizIDNotIn applies the NotIn predicate on the "biz_id" field.
- func BizIDNotIn(vs ...string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNotIn(FieldBizID, vs...))
- }
- // BizIDGT applies the GT predicate on the "biz_id" field.
- func BizIDGT(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGT(FieldBizID, v))
- }
- // BizIDGTE applies the GTE predicate on the "biz_id" field.
- func BizIDGTE(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGTE(FieldBizID, v))
- }
- // BizIDLT applies the LT predicate on the "biz_id" field.
- func BizIDLT(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLT(FieldBizID, v))
- }
- // BizIDLTE applies the LTE predicate on the "biz_id" field.
- func BizIDLTE(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLTE(FieldBizID, v))
- }
- // BizIDContains applies the Contains predicate on the "biz_id" field.
- func BizIDContains(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldContains(FieldBizID, v))
- }
- // BizIDHasPrefix applies the HasPrefix predicate on the "biz_id" field.
- func BizIDHasPrefix(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldHasPrefix(FieldBizID, v))
- }
- // BizIDHasSuffix applies the HasSuffix predicate on the "biz_id" field.
- func BizIDHasSuffix(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldHasSuffix(FieldBizID, v))
- }
- // BizIDEqualFold applies the EqualFold predicate on the "biz_id" field.
- func BizIDEqualFold(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEqualFold(FieldBizID, v))
- }
- // BizIDContainsFold applies the ContainsFold predicate on the "biz_id" field.
- func BizIDContainsFold(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldContainsFold(FieldBizID, v))
- }
- // AccessKeyIDEQ applies the EQ predicate on the "access_key_id" field.
- func AccessKeyIDEQ(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldAccessKeyID, v))
- }
- // AccessKeyIDNEQ applies the NEQ predicate on the "access_key_id" field.
- func AccessKeyIDNEQ(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNEQ(FieldAccessKeyID, v))
- }
- // AccessKeyIDIn applies the In predicate on the "access_key_id" field.
- func AccessKeyIDIn(vs ...string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldIn(FieldAccessKeyID, vs...))
- }
- // AccessKeyIDNotIn applies the NotIn predicate on the "access_key_id" field.
- func AccessKeyIDNotIn(vs ...string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNotIn(FieldAccessKeyID, vs...))
- }
- // AccessKeyIDGT applies the GT predicate on the "access_key_id" field.
- func AccessKeyIDGT(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGT(FieldAccessKeyID, v))
- }
- // AccessKeyIDGTE applies the GTE predicate on the "access_key_id" field.
- func AccessKeyIDGTE(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGTE(FieldAccessKeyID, v))
- }
- // AccessKeyIDLT applies the LT predicate on the "access_key_id" field.
- func AccessKeyIDLT(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLT(FieldAccessKeyID, v))
- }
- // AccessKeyIDLTE applies the LTE predicate on the "access_key_id" field.
- func AccessKeyIDLTE(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLTE(FieldAccessKeyID, v))
- }
- // AccessKeyIDContains applies the Contains predicate on the "access_key_id" field.
- func AccessKeyIDContains(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldContains(FieldAccessKeyID, v))
- }
- // AccessKeyIDHasPrefix applies the HasPrefix predicate on the "access_key_id" field.
- func AccessKeyIDHasPrefix(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldHasPrefix(FieldAccessKeyID, v))
- }
- // AccessKeyIDHasSuffix applies the HasSuffix predicate on the "access_key_id" field.
- func AccessKeyIDHasSuffix(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldHasSuffix(FieldAccessKeyID, v))
- }
- // AccessKeyIDEqualFold applies the EqualFold predicate on the "access_key_id" field.
- func AccessKeyIDEqualFold(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEqualFold(FieldAccessKeyID, v))
- }
- // AccessKeyIDContainsFold applies the ContainsFold predicate on the "access_key_id" field.
- func AccessKeyIDContainsFold(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldContainsFold(FieldAccessKeyID, v))
- }
- // AccessKeySecretEQ applies the EQ predicate on the "access_key_secret" field.
- func AccessKeySecretEQ(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldAccessKeySecret, v))
- }
- // AccessKeySecretNEQ applies the NEQ predicate on the "access_key_secret" field.
- func AccessKeySecretNEQ(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNEQ(FieldAccessKeySecret, v))
- }
- // AccessKeySecretIn applies the In predicate on the "access_key_secret" field.
- func AccessKeySecretIn(vs ...string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldIn(FieldAccessKeySecret, vs...))
- }
- // AccessKeySecretNotIn applies the NotIn predicate on the "access_key_secret" field.
- func AccessKeySecretNotIn(vs ...string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNotIn(FieldAccessKeySecret, vs...))
- }
- // AccessKeySecretGT applies the GT predicate on the "access_key_secret" field.
- func AccessKeySecretGT(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGT(FieldAccessKeySecret, v))
- }
- // AccessKeySecretGTE applies the GTE predicate on the "access_key_secret" field.
- func AccessKeySecretGTE(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGTE(FieldAccessKeySecret, v))
- }
- // AccessKeySecretLT applies the LT predicate on the "access_key_secret" field.
- func AccessKeySecretLT(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLT(FieldAccessKeySecret, v))
- }
- // AccessKeySecretLTE applies the LTE predicate on the "access_key_secret" field.
- func AccessKeySecretLTE(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLTE(FieldAccessKeySecret, v))
- }
- // AccessKeySecretContains applies the Contains predicate on the "access_key_secret" field.
- func AccessKeySecretContains(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldContains(FieldAccessKeySecret, v))
- }
- // AccessKeySecretHasPrefix applies the HasPrefix predicate on the "access_key_secret" field.
- func AccessKeySecretHasPrefix(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldHasPrefix(FieldAccessKeySecret, v))
- }
- // AccessKeySecretHasSuffix applies the HasSuffix predicate on the "access_key_secret" field.
- func AccessKeySecretHasSuffix(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldHasSuffix(FieldAccessKeySecret, v))
- }
- // AccessKeySecretEqualFold applies the EqualFold predicate on the "access_key_secret" field.
- func AccessKeySecretEqualFold(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEqualFold(FieldAccessKeySecret, v))
- }
- // AccessKeySecretContainsFold applies the ContainsFold predicate on the "access_key_secret" field.
- func AccessKeySecretContainsFold(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldContainsFold(FieldAccessKeySecret, v))
- }
- // AppIDEQ applies the EQ predicate on the "app_id" field.
- func AppIDEQ(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldAppID, v))
- }
- // AppIDNEQ applies the NEQ predicate on the "app_id" field.
- func AppIDNEQ(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNEQ(FieldAppID, v))
- }
- // AppIDIn applies the In predicate on the "app_id" field.
- func AppIDIn(vs ...string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldIn(FieldAppID, vs...))
- }
- // AppIDNotIn applies the NotIn predicate on the "app_id" field.
- func AppIDNotIn(vs ...string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNotIn(FieldAppID, vs...))
- }
- // AppIDGT applies the GT predicate on the "app_id" field.
- func AppIDGT(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGT(FieldAppID, v))
- }
- // AppIDGTE applies the GTE predicate on the "app_id" field.
- func AppIDGTE(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGTE(FieldAppID, v))
- }
- // AppIDLT applies the LT predicate on the "app_id" field.
- func AppIDLT(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLT(FieldAppID, v))
- }
- // AppIDLTE applies the LTE predicate on the "app_id" field.
- func AppIDLTE(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLTE(FieldAppID, v))
- }
- // AppIDContains applies the Contains predicate on the "app_id" field.
- func AppIDContains(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldContains(FieldAppID, v))
- }
- // AppIDHasPrefix applies the HasPrefix predicate on the "app_id" field.
- func AppIDHasPrefix(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldHasPrefix(FieldAppID, v))
- }
- // AppIDHasSuffix applies the HasSuffix predicate on the "app_id" field.
- func AppIDHasSuffix(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldHasSuffix(FieldAppID, v))
- }
- // AppIDIsNil applies the IsNil predicate on the "app_id" field.
- func AppIDIsNil() predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldIsNull(FieldAppID))
- }
- // AppIDNotNil applies the NotNil predicate on the "app_id" field.
- func AppIDNotNil() predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNotNull(FieldAppID))
- }
- // AppIDEqualFold applies the EqualFold predicate on the "app_id" field.
- func AppIDEqualFold(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEqualFold(FieldAppID, v))
- }
- // AppIDContainsFold applies the ContainsFold predicate on the "app_id" field.
- func AppIDContainsFold(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldContainsFold(FieldAppID, v))
- }
- // TenantIDEQ applies the EQ predicate on the "tenant_id" field.
- func TenantIDEQ(v uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldTenantID, v))
- }
- // TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
- func TenantIDNEQ(v uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNEQ(FieldTenantID, v))
- }
- // TenantIDIn applies the In predicate on the "tenant_id" field.
- func TenantIDIn(vs ...uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldIn(FieldTenantID, vs...))
- }
- // TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
- func TenantIDNotIn(vs ...uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNotIn(FieldTenantID, vs...))
- }
- // TenantIDGT applies the GT predicate on the "tenant_id" field.
- func TenantIDGT(v uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGT(FieldTenantID, v))
- }
- // TenantIDGTE applies the GTE predicate on the "tenant_id" field.
- func TenantIDGTE(v uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGTE(FieldTenantID, v))
- }
- // TenantIDLT applies the LT predicate on the "tenant_id" field.
- func TenantIDLT(v uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLT(FieldTenantID, v))
- }
- // TenantIDLTE applies the LTE predicate on the "tenant_id" field.
- func TenantIDLTE(v uint64) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLTE(FieldTenantID, v))
- }
- // ResponseEQ applies the EQ predicate on the "response" field.
- func ResponseEQ(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldResponse, v))
- }
- // ResponseNEQ applies the NEQ predicate on the "response" field.
- func ResponseNEQ(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNEQ(FieldResponse, v))
- }
- // ResponseIn applies the In predicate on the "response" field.
- func ResponseIn(vs ...string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldIn(FieldResponse, vs...))
- }
- // ResponseNotIn applies the NotIn predicate on the "response" field.
- func ResponseNotIn(vs ...string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNotIn(FieldResponse, vs...))
- }
- // ResponseGT applies the GT predicate on the "response" field.
- func ResponseGT(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGT(FieldResponse, v))
- }
- // ResponseGTE applies the GTE predicate on the "response" field.
- func ResponseGTE(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGTE(FieldResponse, v))
- }
- // ResponseLT applies the LT predicate on the "response" field.
- func ResponseLT(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLT(FieldResponse, v))
- }
- // ResponseLTE applies the LTE predicate on the "response" field.
- func ResponseLTE(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLTE(FieldResponse, v))
- }
- // ResponseContains applies the Contains predicate on the "response" field.
- func ResponseContains(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldContains(FieldResponse, v))
- }
- // ResponseHasPrefix applies the HasPrefix predicate on the "response" field.
- func ResponseHasPrefix(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldHasPrefix(FieldResponse, v))
- }
- // ResponseHasSuffix applies the HasSuffix predicate on the "response" field.
- func ResponseHasSuffix(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldHasSuffix(FieldResponse, v))
- }
- // ResponseEqualFold applies the EqualFold predicate on the "response" field.
- func ResponseEqualFold(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEqualFold(FieldResponse, v))
- }
- // ResponseContainsFold applies the ContainsFold predicate on the "response" field.
- func ResponseContainsFold(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldContainsFold(FieldResponse, v))
- }
- // TokenEQ applies the EQ predicate on the "token" field.
- func TokenEQ(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldToken, v))
- }
- // TokenNEQ applies the NEQ predicate on the "token" field.
- func TokenNEQ(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNEQ(FieldToken, v))
- }
- // TokenIn applies the In predicate on the "token" field.
- func TokenIn(vs ...string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldIn(FieldToken, vs...))
- }
- // TokenNotIn applies the NotIn predicate on the "token" field.
- func TokenNotIn(vs ...string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNotIn(FieldToken, vs...))
- }
- // TokenGT applies the GT predicate on the "token" field.
- func TokenGT(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGT(FieldToken, v))
- }
- // TokenGTE applies the GTE predicate on the "token" field.
- func TokenGTE(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGTE(FieldToken, v))
- }
- // TokenLT applies the LT predicate on the "token" field.
- func TokenLT(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLT(FieldToken, v))
- }
- // TokenLTE applies the LTE predicate on the "token" field.
- func TokenLTE(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLTE(FieldToken, v))
- }
- // TokenContains applies the Contains predicate on the "token" field.
- func TokenContains(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldContains(FieldToken, v))
- }
- // TokenHasPrefix applies the HasPrefix predicate on the "token" field.
- func TokenHasPrefix(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldHasPrefix(FieldToken, v))
- }
- // TokenHasSuffix applies the HasSuffix predicate on the "token" field.
- func TokenHasSuffix(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldHasSuffix(FieldToken, v))
- }
- // TokenEqualFold applies the EqualFold predicate on the "token" field.
- func TokenEqualFold(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEqualFold(FieldToken, v))
- }
- // TokenContainsFold applies the ContainsFold predicate on the "token" field.
- func TokenContainsFold(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldContainsFold(FieldToken, v))
- }
- // SessionIDEQ applies the EQ predicate on the "session_id" field.
- func SessionIDEQ(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEQ(FieldSessionID, v))
- }
- // SessionIDNEQ applies the NEQ predicate on the "session_id" field.
- func SessionIDNEQ(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNEQ(FieldSessionID, v))
- }
- // SessionIDIn applies the In predicate on the "session_id" field.
- func SessionIDIn(vs ...string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldIn(FieldSessionID, vs...))
- }
- // SessionIDNotIn applies the NotIn predicate on the "session_id" field.
- func SessionIDNotIn(vs ...string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldNotIn(FieldSessionID, vs...))
- }
- // SessionIDGT applies the GT predicate on the "session_id" field.
- func SessionIDGT(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGT(FieldSessionID, v))
- }
- // SessionIDGTE applies the GTE predicate on the "session_id" field.
- func SessionIDGTE(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldGTE(FieldSessionID, v))
- }
- // SessionIDLT applies the LT predicate on the "session_id" field.
- func SessionIDLT(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLT(FieldSessionID, v))
- }
- // SessionIDLTE applies the LTE predicate on the "session_id" field.
- func SessionIDLTE(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldLTE(FieldSessionID, v))
- }
- // SessionIDContains applies the Contains predicate on the "session_id" field.
- func SessionIDContains(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldContains(FieldSessionID, v))
- }
- // SessionIDHasPrefix applies the HasPrefix predicate on the "session_id" field.
- func SessionIDHasPrefix(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldHasPrefix(FieldSessionID, v))
- }
- // SessionIDHasSuffix applies the HasSuffix predicate on the "session_id" field.
- func SessionIDHasSuffix(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldHasSuffix(FieldSessionID, v))
- }
- // SessionIDEqualFold applies the EqualFold predicate on the "session_id" field.
- func SessionIDEqualFold(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldEqualFold(FieldSessionID, v))
- }
- // SessionIDContainsFold applies the ContainsFold predicate on the "session_id" field.
- func SessionIDContainsFold(v string) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.FieldContainsFold(FieldSessionID, v))
- }
- // And groups predicates with the AND operator between them.
- func And(predicates ...predicate.AliyunAvatar) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.AndPredicates(predicates...))
- }
- // Or groups predicates with the OR operator between them.
- func Or(predicates ...predicate.AliyunAvatar) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.OrPredicates(predicates...))
- }
- // Not applies the not operator on the given predicate.
- func Not(p predicate.AliyunAvatar) predicate.AliyunAvatar {
- return predicate.AliyunAvatar(sql.NotPredicates(p))
- }
|