123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855 |
- // Code generated by ent, DO NOT EDIT.
- package usagestatistichour
- import (
- "time"
- "wechat-api/ent/predicate"
- "entgo.io/ent/dialect/sql"
- )
- // ID filters vertices based on their ID field.
- func ID(id uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldID, id))
- }
- // IDEQ applies the EQ predicate on the ID field.
- func IDEQ(id uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldID, id))
- }
- // IDNEQ applies the NEQ predicate on the ID field.
- func IDNEQ(id uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNEQ(FieldID, id))
- }
- // IDIn applies the In predicate on the ID field.
- func IDIn(ids ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIn(FieldID, ids...))
- }
- // IDNotIn applies the NotIn predicate on the ID field.
- func IDNotIn(ids ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotIn(FieldID, ids...))
- }
- // IDGT applies the GT predicate on the ID field.
- func IDGT(id uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGT(FieldID, id))
- }
- // IDGTE applies the GTE predicate on the ID field.
- func IDGTE(id uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGTE(FieldID, id))
- }
- // IDLT applies the LT predicate on the ID field.
- func IDLT(id uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLT(FieldID, id))
- }
- // IDLTE applies the LTE predicate on the ID field.
- func IDLTE(id uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(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.UsageStatisticHour {
- return predicate.UsageStatisticHour(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.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
- func Status(v uint8) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(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.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldDeletedAt, v))
- }
- // Addtime applies equality check predicate on the "addtime" field. It's identical to AddtimeEQ.
- func Addtime(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldAddtime, v))
- }
- // Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
- func Type(v int) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldType, v))
- }
- // BotID applies equality check predicate on the "bot_id" field. It's identical to BotIDEQ.
- func BotID(v string) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldBotID, v))
- }
- // OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
- func OrganizationID(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldOrganizationID, v))
- }
- // AiResponse applies equality check predicate on the "ai_response" field. It's identical to AiResponseEQ.
- func AiResponse(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldAiResponse, v))
- }
- // SopRun applies equality check predicate on the "sop_run" field. It's identical to SopRunEQ.
- func SopRun(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldSopRun, v))
- }
- // TotalFriend applies equality check predicate on the "total_friend" field. It's identical to TotalFriendEQ.
- func TotalFriend(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldTotalFriend, v))
- }
- // TotalGroup applies equality check predicate on the "total_group" field. It's identical to TotalGroupEQ.
- func TotalGroup(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldTotalGroup, v))
- }
- // AccountBalance applies equality check predicate on the "account_balance" field. It's identical to AccountBalanceEQ.
- func AccountBalance(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldAccountBalance, v))
- }
- // ConsumeToken applies equality check predicate on the "consume_token" field. It's identical to ConsumeTokenEQ.
- func ConsumeToken(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldConsumeToken, v))
- }
- // ActiveUser applies equality check predicate on the "active_user" field. It's identical to ActiveUserEQ.
- func ActiveUser(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldActiveUser, v))
- }
- // NewUser applies equality check predicate on the "new_user" field. It's identical to NewUserEQ.
- func NewUser(v int64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldNewUser, v))
- }
- // CreatedAtEQ applies the EQ predicate on the "created_at" field.
- func CreatedAtEQ(v time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldCreatedAt, v))
- }
- // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
- func CreatedAtNEQ(v time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNEQ(FieldCreatedAt, v))
- }
- // CreatedAtIn applies the In predicate on the "created_at" field.
- func CreatedAtIn(vs ...time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIn(FieldCreatedAt, vs...))
- }
- // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
- func CreatedAtNotIn(vs ...time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotIn(FieldCreatedAt, vs...))
- }
- // CreatedAtGT applies the GT predicate on the "created_at" field.
- func CreatedAtGT(v time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGT(FieldCreatedAt, v))
- }
- // CreatedAtGTE applies the GTE predicate on the "created_at" field.
- func CreatedAtGTE(v time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGTE(FieldCreatedAt, v))
- }
- // CreatedAtLT applies the LT predicate on the "created_at" field.
- func CreatedAtLT(v time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLT(FieldCreatedAt, v))
- }
- // CreatedAtLTE applies the LTE predicate on the "created_at" field.
- func CreatedAtLTE(v time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLTE(FieldCreatedAt, v))
- }
- // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
- func UpdatedAtEQ(v time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
- func UpdatedAtNEQ(v time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtIn applies the In predicate on the "updated_at" field.
- func UpdatedAtIn(vs ...time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
- func UpdatedAtNotIn(vs ...time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtGT applies the GT predicate on the "updated_at" field.
- func UpdatedAtGT(v time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGT(FieldUpdatedAt, v))
- }
- // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
- func UpdatedAtGTE(v time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGTE(FieldUpdatedAt, v))
- }
- // UpdatedAtLT applies the LT predicate on the "updated_at" field.
- func UpdatedAtLT(v time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLT(FieldUpdatedAt, v))
- }
- // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
- func UpdatedAtLTE(v time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLTE(FieldUpdatedAt, v))
- }
- // StatusEQ applies the EQ predicate on the "status" field.
- func StatusEQ(v uint8) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldStatus, v))
- }
- // StatusNEQ applies the NEQ predicate on the "status" field.
- func StatusNEQ(v uint8) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNEQ(FieldStatus, v))
- }
- // StatusIn applies the In predicate on the "status" field.
- func StatusIn(vs ...uint8) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIn(FieldStatus, vs...))
- }
- // StatusNotIn applies the NotIn predicate on the "status" field.
- func StatusNotIn(vs ...uint8) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotIn(FieldStatus, vs...))
- }
- // StatusGT applies the GT predicate on the "status" field.
- func StatusGT(v uint8) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGT(FieldStatus, v))
- }
- // StatusGTE applies the GTE predicate on the "status" field.
- func StatusGTE(v uint8) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGTE(FieldStatus, v))
- }
- // StatusLT applies the LT predicate on the "status" field.
- func StatusLT(v uint8) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLT(FieldStatus, v))
- }
- // StatusLTE applies the LTE predicate on the "status" field.
- func StatusLTE(v uint8) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLTE(FieldStatus, v))
- }
- // StatusIsNil applies the IsNil predicate on the "status" field.
- func StatusIsNil() predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIsNull(FieldStatus))
- }
- // StatusNotNil applies the NotNil predicate on the "status" field.
- func StatusNotNil() predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotNull(FieldStatus))
- }
- // DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
- func DeletedAtEQ(v time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldDeletedAt, v))
- }
- // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
- func DeletedAtNEQ(v time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNEQ(FieldDeletedAt, v))
- }
- // DeletedAtIn applies the In predicate on the "deleted_at" field.
- func DeletedAtIn(vs ...time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIn(FieldDeletedAt, vs...))
- }
- // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
- func DeletedAtNotIn(vs ...time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotIn(FieldDeletedAt, vs...))
- }
- // DeletedAtGT applies the GT predicate on the "deleted_at" field.
- func DeletedAtGT(v time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGT(FieldDeletedAt, v))
- }
- // DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
- func DeletedAtGTE(v time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGTE(FieldDeletedAt, v))
- }
- // DeletedAtLT applies the LT predicate on the "deleted_at" field.
- func DeletedAtLT(v time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLT(FieldDeletedAt, v))
- }
- // DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
- func DeletedAtLTE(v time.Time) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLTE(FieldDeletedAt, v))
- }
- // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
- func DeletedAtIsNil() predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIsNull(FieldDeletedAt))
- }
- // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
- func DeletedAtNotNil() predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotNull(FieldDeletedAt))
- }
- // AddtimeEQ applies the EQ predicate on the "addtime" field.
- func AddtimeEQ(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldAddtime, v))
- }
- // AddtimeNEQ applies the NEQ predicate on the "addtime" field.
- func AddtimeNEQ(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNEQ(FieldAddtime, v))
- }
- // AddtimeIn applies the In predicate on the "addtime" field.
- func AddtimeIn(vs ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIn(FieldAddtime, vs...))
- }
- // AddtimeNotIn applies the NotIn predicate on the "addtime" field.
- func AddtimeNotIn(vs ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotIn(FieldAddtime, vs...))
- }
- // AddtimeGT applies the GT predicate on the "addtime" field.
- func AddtimeGT(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGT(FieldAddtime, v))
- }
- // AddtimeGTE applies the GTE predicate on the "addtime" field.
- func AddtimeGTE(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGTE(FieldAddtime, v))
- }
- // AddtimeLT applies the LT predicate on the "addtime" field.
- func AddtimeLT(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLT(FieldAddtime, v))
- }
- // AddtimeLTE applies the LTE predicate on the "addtime" field.
- func AddtimeLTE(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLTE(FieldAddtime, v))
- }
- // TypeEQ applies the EQ predicate on the "type" field.
- func TypeEQ(v int) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldType, v))
- }
- // TypeNEQ applies the NEQ predicate on the "type" field.
- func TypeNEQ(v int) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNEQ(FieldType, v))
- }
- // TypeIn applies the In predicate on the "type" field.
- func TypeIn(vs ...int) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIn(FieldType, vs...))
- }
- // TypeNotIn applies the NotIn predicate on the "type" field.
- func TypeNotIn(vs ...int) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotIn(FieldType, vs...))
- }
- // TypeGT applies the GT predicate on the "type" field.
- func TypeGT(v int) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGT(FieldType, v))
- }
- // TypeGTE applies the GTE predicate on the "type" field.
- func TypeGTE(v int) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGTE(FieldType, v))
- }
- // TypeLT applies the LT predicate on the "type" field.
- func TypeLT(v int) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLT(FieldType, v))
- }
- // TypeLTE applies the LTE predicate on the "type" field.
- func TypeLTE(v int) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLTE(FieldType, v))
- }
- // BotIDEQ applies the EQ predicate on the "bot_id" field.
- func BotIDEQ(v string) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldBotID, v))
- }
- // BotIDNEQ applies the NEQ predicate on the "bot_id" field.
- func BotIDNEQ(v string) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNEQ(FieldBotID, v))
- }
- // BotIDIn applies the In predicate on the "bot_id" field.
- func BotIDIn(vs ...string) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIn(FieldBotID, vs...))
- }
- // BotIDNotIn applies the NotIn predicate on the "bot_id" field.
- func BotIDNotIn(vs ...string) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotIn(FieldBotID, vs...))
- }
- // BotIDGT applies the GT predicate on the "bot_id" field.
- func BotIDGT(v string) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGT(FieldBotID, v))
- }
- // BotIDGTE applies the GTE predicate on the "bot_id" field.
- func BotIDGTE(v string) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGTE(FieldBotID, v))
- }
- // BotIDLT applies the LT predicate on the "bot_id" field.
- func BotIDLT(v string) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLT(FieldBotID, v))
- }
- // BotIDLTE applies the LTE predicate on the "bot_id" field.
- func BotIDLTE(v string) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLTE(FieldBotID, v))
- }
- // BotIDContains applies the Contains predicate on the "bot_id" field.
- func BotIDContains(v string) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldContains(FieldBotID, v))
- }
- // BotIDHasPrefix applies the HasPrefix predicate on the "bot_id" field.
- func BotIDHasPrefix(v string) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldHasPrefix(FieldBotID, v))
- }
- // BotIDHasSuffix applies the HasSuffix predicate on the "bot_id" field.
- func BotIDHasSuffix(v string) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldHasSuffix(FieldBotID, v))
- }
- // BotIDIsNil applies the IsNil predicate on the "bot_id" field.
- func BotIDIsNil() predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIsNull(FieldBotID))
- }
- // BotIDNotNil applies the NotNil predicate on the "bot_id" field.
- func BotIDNotNil() predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotNull(FieldBotID))
- }
- // BotIDEqualFold applies the EqualFold predicate on the "bot_id" field.
- func BotIDEqualFold(v string) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEqualFold(FieldBotID, v))
- }
- // BotIDContainsFold applies the ContainsFold predicate on the "bot_id" field.
- func BotIDContainsFold(v string) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldContainsFold(FieldBotID, v))
- }
- // OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
- func OrganizationIDEQ(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldOrganizationID, v))
- }
- // OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
- func OrganizationIDNEQ(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNEQ(FieldOrganizationID, v))
- }
- // OrganizationIDIn applies the In predicate on the "organization_id" field.
- func OrganizationIDIn(vs ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIn(FieldOrganizationID, vs...))
- }
- // OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
- func OrganizationIDNotIn(vs ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotIn(FieldOrganizationID, vs...))
- }
- // OrganizationIDGT applies the GT predicate on the "organization_id" field.
- func OrganizationIDGT(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGT(FieldOrganizationID, v))
- }
- // OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
- func OrganizationIDGTE(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGTE(FieldOrganizationID, v))
- }
- // OrganizationIDLT applies the LT predicate on the "organization_id" field.
- func OrganizationIDLT(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLT(FieldOrganizationID, v))
- }
- // OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
- func OrganizationIDLTE(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLTE(FieldOrganizationID, v))
- }
- // OrganizationIDIsNil applies the IsNil predicate on the "organization_id" field.
- func OrganizationIDIsNil() predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIsNull(FieldOrganizationID))
- }
- // OrganizationIDNotNil applies the NotNil predicate on the "organization_id" field.
- func OrganizationIDNotNil() predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotNull(FieldOrganizationID))
- }
- // AiResponseEQ applies the EQ predicate on the "ai_response" field.
- func AiResponseEQ(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldAiResponse, v))
- }
- // AiResponseNEQ applies the NEQ predicate on the "ai_response" field.
- func AiResponseNEQ(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNEQ(FieldAiResponse, v))
- }
- // AiResponseIn applies the In predicate on the "ai_response" field.
- func AiResponseIn(vs ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIn(FieldAiResponse, vs...))
- }
- // AiResponseNotIn applies the NotIn predicate on the "ai_response" field.
- func AiResponseNotIn(vs ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotIn(FieldAiResponse, vs...))
- }
- // AiResponseGT applies the GT predicate on the "ai_response" field.
- func AiResponseGT(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGT(FieldAiResponse, v))
- }
- // AiResponseGTE applies the GTE predicate on the "ai_response" field.
- func AiResponseGTE(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGTE(FieldAiResponse, v))
- }
- // AiResponseLT applies the LT predicate on the "ai_response" field.
- func AiResponseLT(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLT(FieldAiResponse, v))
- }
- // AiResponseLTE applies the LTE predicate on the "ai_response" field.
- func AiResponseLTE(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLTE(FieldAiResponse, v))
- }
- // SopRunEQ applies the EQ predicate on the "sop_run" field.
- func SopRunEQ(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldSopRun, v))
- }
- // SopRunNEQ applies the NEQ predicate on the "sop_run" field.
- func SopRunNEQ(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNEQ(FieldSopRun, v))
- }
- // SopRunIn applies the In predicate on the "sop_run" field.
- func SopRunIn(vs ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIn(FieldSopRun, vs...))
- }
- // SopRunNotIn applies the NotIn predicate on the "sop_run" field.
- func SopRunNotIn(vs ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotIn(FieldSopRun, vs...))
- }
- // SopRunGT applies the GT predicate on the "sop_run" field.
- func SopRunGT(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGT(FieldSopRun, v))
- }
- // SopRunGTE applies the GTE predicate on the "sop_run" field.
- func SopRunGTE(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGTE(FieldSopRun, v))
- }
- // SopRunLT applies the LT predicate on the "sop_run" field.
- func SopRunLT(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLT(FieldSopRun, v))
- }
- // SopRunLTE applies the LTE predicate on the "sop_run" field.
- func SopRunLTE(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLTE(FieldSopRun, v))
- }
- // TotalFriendEQ applies the EQ predicate on the "total_friend" field.
- func TotalFriendEQ(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldTotalFriend, v))
- }
- // TotalFriendNEQ applies the NEQ predicate on the "total_friend" field.
- func TotalFriendNEQ(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNEQ(FieldTotalFriend, v))
- }
- // TotalFriendIn applies the In predicate on the "total_friend" field.
- func TotalFriendIn(vs ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIn(FieldTotalFriend, vs...))
- }
- // TotalFriendNotIn applies the NotIn predicate on the "total_friend" field.
- func TotalFriendNotIn(vs ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotIn(FieldTotalFriend, vs...))
- }
- // TotalFriendGT applies the GT predicate on the "total_friend" field.
- func TotalFriendGT(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGT(FieldTotalFriend, v))
- }
- // TotalFriendGTE applies the GTE predicate on the "total_friend" field.
- func TotalFriendGTE(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGTE(FieldTotalFriend, v))
- }
- // TotalFriendLT applies the LT predicate on the "total_friend" field.
- func TotalFriendLT(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLT(FieldTotalFriend, v))
- }
- // TotalFriendLTE applies the LTE predicate on the "total_friend" field.
- func TotalFriendLTE(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLTE(FieldTotalFriend, v))
- }
- // TotalGroupEQ applies the EQ predicate on the "total_group" field.
- func TotalGroupEQ(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldTotalGroup, v))
- }
- // TotalGroupNEQ applies the NEQ predicate on the "total_group" field.
- func TotalGroupNEQ(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNEQ(FieldTotalGroup, v))
- }
- // TotalGroupIn applies the In predicate on the "total_group" field.
- func TotalGroupIn(vs ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIn(FieldTotalGroup, vs...))
- }
- // TotalGroupNotIn applies the NotIn predicate on the "total_group" field.
- func TotalGroupNotIn(vs ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotIn(FieldTotalGroup, vs...))
- }
- // TotalGroupGT applies the GT predicate on the "total_group" field.
- func TotalGroupGT(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGT(FieldTotalGroup, v))
- }
- // TotalGroupGTE applies the GTE predicate on the "total_group" field.
- func TotalGroupGTE(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGTE(FieldTotalGroup, v))
- }
- // TotalGroupLT applies the LT predicate on the "total_group" field.
- func TotalGroupLT(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLT(FieldTotalGroup, v))
- }
- // TotalGroupLTE applies the LTE predicate on the "total_group" field.
- func TotalGroupLTE(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLTE(FieldTotalGroup, v))
- }
- // AccountBalanceEQ applies the EQ predicate on the "account_balance" field.
- func AccountBalanceEQ(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldAccountBalance, v))
- }
- // AccountBalanceNEQ applies the NEQ predicate on the "account_balance" field.
- func AccountBalanceNEQ(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNEQ(FieldAccountBalance, v))
- }
- // AccountBalanceIn applies the In predicate on the "account_balance" field.
- func AccountBalanceIn(vs ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIn(FieldAccountBalance, vs...))
- }
- // AccountBalanceNotIn applies the NotIn predicate on the "account_balance" field.
- func AccountBalanceNotIn(vs ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotIn(FieldAccountBalance, vs...))
- }
- // AccountBalanceGT applies the GT predicate on the "account_balance" field.
- func AccountBalanceGT(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGT(FieldAccountBalance, v))
- }
- // AccountBalanceGTE applies the GTE predicate on the "account_balance" field.
- func AccountBalanceGTE(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGTE(FieldAccountBalance, v))
- }
- // AccountBalanceLT applies the LT predicate on the "account_balance" field.
- func AccountBalanceLT(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLT(FieldAccountBalance, v))
- }
- // AccountBalanceLTE applies the LTE predicate on the "account_balance" field.
- func AccountBalanceLTE(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLTE(FieldAccountBalance, v))
- }
- // ConsumeTokenEQ applies the EQ predicate on the "consume_token" field.
- func ConsumeTokenEQ(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldConsumeToken, v))
- }
- // ConsumeTokenNEQ applies the NEQ predicate on the "consume_token" field.
- func ConsumeTokenNEQ(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNEQ(FieldConsumeToken, v))
- }
- // ConsumeTokenIn applies the In predicate on the "consume_token" field.
- func ConsumeTokenIn(vs ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIn(FieldConsumeToken, vs...))
- }
- // ConsumeTokenNotIn applies the NotIn predicate on the "consume_token" field.
- func ConsumeTokenNotIn(vs ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotIn(FieldConsumeToken, vs...))
- }
- // ConsumeTokenGT applies the GT predicate on the "consume_token" field.
- func ConsumeTokenGT(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGT(FieldConsumeToken, v))
- }
- // ConsumeTokenGTE applies the GTE predicate on the "consume_token" field.
- func ConsumeTokenGTE(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGTE(FieldConsumeToken, v))
- }
- // ConsumeTokenLT applies the LT predicate on the "consume_token" field.
- func ConsumeTokenLT(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLT(FieldConsumeToken, v))
- }
- // ConsumeTokenLTE applies the LTE predicate on the "consume_token" field.
- func ConsumeTokenLTE(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLTE(FieldConsumeToken, v))
- }
- // ActiveUserEQ applies the EQ predicate on the "active_user" field.
- func ActiveUserEQ(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldActiveUser, v))
- }
- // ActiveUserNEQ applies the NEQ predicate on the "active_user" field.
- func ActiveUserNEQ(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNEQ(FieldActiveUser, v))
- }
- // ActiveUserIn applies the In predicate on the "active_user" field.
- func ActiveUserIn(vs ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIn(FieldActiveUser, vs...))
- }
- // ActiveUserNotIn applies the NotIn predicate on the "active_user" field.
- func ActiveUserNotIn(vs ...uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotIn(FieldActiveUser, vs...))
- }
- // ActiveUserGT applies the GT predicate on the "active_user" field.
- func ActiveUserGT(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGT(FieldActiveUser, v))
- }
- // ActiveUserGTE applies the GTE predicate on the "active_user" field.
- func ActiveUserGTE(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGTE(FieldActiveUser, v))
- }
- // ActiveUserLT applies the LT predicate on the "active_user" field.
- func ActiveUserLT(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLT(FieldActiveUser, v))
- }
- // ActiveUserLTE applies the LTE predicate on the "active_user" field.
- func ActiveUserLTE(v uint64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLTE(FieldActiveUser, v))
- }
- // NewUserEQ applies the EQ predicate on the "new_user" field.
- func NewUserEQ(v int64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldEQ(FieldNewUser, v))
- }
- // NewUserNEQ applies the NEQ predicate on the "new_user" field.
- func NewUserNEQ(v int64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNEQ(FieldNewUser, v))
- }
- // NewUserIn applies the In predicate on the "new_user" field.
- func NewUserIn(vs ...int64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldIn(FieldNewUser, vs...))
- }
- // NewUserNotIn applies the NotIn predicate on the "new_user" field.
- func NewUserNotIn(vs ...int64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldNotIn(FieldNewUser, vs...))
- }
- // NewUserGT applies the GT predicate on the "new_user" field.
- func NewUserGT(v int64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGT(FieldNewUser, v))
- }
- // NewUserGTE applies the GTE predicate on the "new_user" field.
- func NewUserGTE(v int64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldGTE(FieldNewUser, v))
- }
- // NewUserLT applies the LT predicate on the "new_user" field.
- func NewUserLT(v int64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLT(FieldNewUser, v))
- }
- // NewUserLTE applies the LTE predicate on the "new_user" field.
- func NewUserLTE(v int64) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.FieldLTE(FieldNewUser, v))
- }
- // And groups predicates with the AND operator between them.
- func And(predicates ...predicate.UsageStatisticHour) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.AndPredicates(predicates...))
- }
- // Or groups predicates with the OR operator between them.
- func Or(predicates ...predicate.UsageStatisticHour) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.OrPredicates(predicates...))
- }
- // Not applies the not operator on the given predicate.
- func Not(p predicate.UsageStatisticHour) predicate.UsageStatisticHour {
- return predicate.UsageStatisticHour(sql.NotPredicates(p))
- }
|