where.go 118 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950
  1. // Code generated by ent, DO NOT EDIT.
  2. package group
  3. import (
  4. "time"
  5. "entgo.io/ent/dialect/sql"
  6. "entgo.io/ent/dialect/sql/sqlgraph"
  7. "github.com/Wei-Shaw/sub2api/ent/predicate"
  8. )
  9. // ID filters vertices based on their ID field.
  10. func ID(id int64) predicate.Group {
  11. return predicate.Group(sql.FieldEQ(FieldID, id))
  12. }
  13. // IDEQ applies the EQ predicate on the ID field.
  14. func IDEQ(id int64) predicate.Group {
  15. return predicate.Group(sql.FieldEQ(FieldID, id))
  16. }
  17. // IDNEQ applies the NEQ predicate on the ID field.
  18. func IDNEQ(id int64) predicate.Group {
  19. return predicate.Group(sql.FieldNEQ(FieldID, id))
  20. }
  21. // IDIn applies the In predicate on the ID field.
  22. func IDIn(ids ...int64) predicate.Group {
  23. return predicate.Group(sql.FieldIn(FieldID, ids...))
  24. }
  25. // IDNotIn applies the NotIn predicate on the ID field.
  26. func IDNotIn(ids ...int64) predicate.Group {
  27. return predicate.Group(sql.FieldNotIn(FieldID, ids...))
  28. }
  29. // IDGT applies the GT predicate on the ID field.
  30. func IDGT(id int64) predicate.Group {
  31. return predicate.Group(sql.FieldGT(FieldID, id))
  32. }
  33. // IDGTE applies the GTE predicate on the ID field.
  34. func IDGTE(id int64) predicate.Group {
  35. return predicate.Group(sql.FieldGTE(FieldID, id))
  36. }
  37. // IDLT applies the LT predicate on the ID field.
  38. func IDLT(id int64) predicate.Group {
  39. return predicate.Group(sql.FieldLT(FieldID, id))
  40. }
  41. // IDLTE applies the LTE predicate on the ID field.
  42. func IDLTE(id int64) predicate.Group {
  43. return predicate.Group(sql.FieldLTE(FieldID, id))
  44. }
  45. // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
  46. func CreatedAt(v time.Time) predicate.Group {
  47. return predicate.Group(sql.FieldEQ(FieldCreatedAt, v))
  48. }
  49. // UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
  50. func UpdatedAt(v time.Time) predicate.Group {
  51. return predicate.Group(sql.FieldEQ(FieldUpdatedAt, v))
  52. }
  53. // DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
  54. func DeletedAt(v time.Time) predicate.Group {
  55. return predicate.Group(sql.FieldEQ(FieldDeletedAt, v))
  56. }
  57. // Name applies equality check predicate on the "name" field. It's identical to NameEQ.
  58. func Name(v string) predicate.Group {
  59. return predicate.Group(sql.FieldEQ(FieldName, v))
  60. }
  61. // Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
  62. func Description(v string) predicate.Group {
  63. return predicate.Group(sql.FieldEQ(FieldDescription, v))
  64. }
  65. // RateMultiplier applies equality check predicate on the "rate_multiplier" field. It's identical to RateMultiplierEQ.
  66. func RateMultiplier(v float64) predicate.Group {
  67. return predicate.Group(sql.FieldEQ(FieldRateMultiplier, v))
  68. }
  69. // PeakRateEnabled applies equality check predicate on the "peak_rate_enabled" field. It's identical to PeakRateEnabledEQ.
  70. func PeakRateEnabled(v bool) predicate.Group {
  71. return predicate.Group(sql.FieldEQ(FieldPeakRateEnabled, v))
  72. }
  73. // PeakStart applies equality check predicate on the "peak_start" field. It's identical to PeakStartEQ.
  74. func PeakStart(v string) predicate.Group {
  75. return predicate.Group(sql.FieldEQ(FieldPeakStart, v))
  76. }
  77. // PeakEnd applies equality check predicate on the "peak_end" field. It's identical to PeakEndEQ.
  78. func PeakEnd(v string) predicate.Group {
  79. return predicate.Group(sql.FieldEQ(FieldPeakEnd, v))
  80. }
  81. // PeakRateMultiplier applies equality check predicate on the "peak_rate_multiplier" field. It's identical to PeakRateMultiplierEQ.
  82. func PeakRateMultiplier(v float64) predicate.Group {
  83. return predicate.Group(sql.FieldEQ(FieldPeakRateMultiplier, v))
  84. }
  85. // IsExclusive applies equality check predicate on the "is_exclusive" field. It's identical to IsExclusiveEQ.
  86. func IsExclusive(v bool) predicate.Group {
  87. return predicate.Group(sql.FieldEQ(FieldIsExclusive, v))
  88. }
  89. // SecurityPolicyEnabled applies equality check predicate on the "security_policy_enabled" field. It's identical to SecurityPolicyEnabledEQ.
  90. func SecurityPolicyEnabled(v bool) predicate.Group {
  91. return predicate.Group(sql.FieldEQ(FieldSecurityPolicyEnabled, v))
  92. }
  93. // SecurityPolicyMode applies equality check predicate on the "security_policy_mode" field. It's identical to SecurityPolicyModeEQ.
  94. func SecurityPolicyMode(v string) predicate.Group {
  95. return predicate.Group(sql.FieldEQ(FieldSecurityPolicyMode, v))
  96. }
  97. // SecurityPolicyEmailEnabled applies equality check predicate on the "security_policy_email_enabled" field. It's identical to SecurityPolicyEmailEnabledEQ.
  98. func SecurityPolicyEmailEnabled(v bool) predicate.Group {
  99. return predicate.Group(sql.FieldEQ(FieldSecurityPolicyEmailEnabled, v))
  100. }
  101. // Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
  102. func Status(v string) predicate.Group {
  103. return predicate.Group(sql.FieldEQ(FieldStatus, v))
  104. }
  105. // DuplicateOperationID applies equality check predicate on the "duplicate_operation_id" field. It's identical to DuplicateOperationIDEQ.
  106. func DuplicateOperationID(v string) predicate.Group {
  107. return predicate.Group(sql.FieldEQ(FieldDuplicateOperationID, v))
  108. }
  109. // Platform applies equality check predicate on the "platform" field. It's identical to PlatformEQ.
  110. func Platform(v string) predicate.Group {
  111. return predicate.Group(sql.FieldEQ(FieldPlatform, v))
  112. }
  113. // SubscriptionType applies equality check predicate on the "subscription_type" field. It's identical to SubscriptionTypeEQ.
  114. func SubscriptionType(v string) predicate.Group {
  115. return predicate.Group(sql.FieldEQ(FieldSubscriptionType, v))
  116. }
  117. // DailyLimitUsd applies equality check predicate on the "daily_limit_usd" field. It's identical to DailyLimitUsdEQ.
  118. func DailyLimitUsd(v float64) predicate.Group {
  119. return predicate.Group(sql.FieldEQ(FieldDailyLimitUsd, v))
  120. }
  121. // WeeklyLimitUsd applies equality check predicate on the "weekly_limit_usd" field. It's identical to WeeklyLimitUsdEQ.
  122. func WeeklyLimitUsd(v float64) predicate.Group {
  123. return predicate.Group(sql.FieldEQ(FieldWeeklyLimitUsd, v))
  124. }
  125. // MonthlyLimitUsd applies equality check predicate on the "monthly_limit_usd" field. It's identical to MonthlyLimitUsdEQ.
  126. func MonthlyLimitUsd(v float64) predicate.Group {
  127. return predicate.Group(sql.FieldEQ(FieldMonthlyLimitUsd, v))
  128. }
  129. // DefaultValidityDays applies equality check predicate on the "default_validity_days" field. It's identical to DefaultValidityDaysEQ.
  130. func DefaultValidityDays(v int) predicate.Group {
  131. return predicate.Group(sql.FieldEQ(FieldDefaultValidityDays, v))
  132. }
  133. // AllowImageGeneration applies equality check predicate on the "allow_image_generation" field. It's identical to AllowImageGenerationEQ.
  134. func AllowImageGeneration(v bool) predicate.Group {
  135. return predicate.Group(sql.FieldEQ(FieldAllowImageGeneration, v))
  136. }
  137. // AllowBatchImageGeneration applies equality check predicate on the "allow_batch_image_generation" field. It's identical to AllowBatchImageGenerationEQ.
  138. func AllowBatchImageGeneration(v bool) predicate.Group {
  139. return predicate.Group(sql.FieldEQ(FieldAllowBatchImageGeneration, v))
  140. }
  141. // ImageRateIndependent applies equality check predicate on the "image_rate_independent" field. It's identical to ImageRateIndependentEQ.
  142. func ImageRateIndependent(v bool) predicate.Group {
  143. return predicate.Group(sql.FieldEQ(FieldImageRateIndependent, v))
  144. }
  145. // ImageRateMultiplier applies equality check predicate on the "image_rate_multiplier" field. It's identical to ImageRateMultiplierEQ.
  146. func ImageRateMultiplier(v float64) predicate.Group {
  147. return predicate.Group(sql.FieldEQ(FieldImageRateMultiplier, v))
  148. }
  149. // ImagePrice1k applies equality check predicate on the "image_price_1k" field. It's identical to ImagePrice1kEQ.
  150. func ImagePrice1k(v float64) predicate.Group {
  151. return predicate.Group(sql.FieldEQ(FieldImagePrice1k, v))
  152. }
  153. // ImagePrice2k applies equality check predicate on the "image_price_2k" field. It's identical to ImagePrice2kEQ.
  154. func ImagePrice2k(v float64) predicate.Group {
  155. return predicate.Group(sql.FieldEQ(FieldImagePrice2k, v))
  156. }
  157. // ImagePrice4k applies equality check predicate on the "image_price_4k" field. It's identical to ImagePrice4kEQ.
  158. func ImagePrice4k(v float64) predicate.Group {
  159. return predicate.Group(sql.FieldEQ(FieldImagePrice4k, v))
  160. }
  161. // BatchImageDiscountMultiplier applies equality check predicate on the "batch_image_discount_multiplier" field. It's identical to BatchImageDiscountMultiplierEQ.
  162. func BatchImageDiscountMultiplier(v float64) predicate.Group {
  163. return predicate.Group(sql.FieldEQ(FieldBatchImageDiscountMultiplier, v))
  164. }
  165. // BatchImageHoldMultiplier applies equality check predicate on the "batch_image_hold_multiplier" field. It's identical to BatchImageHoldMultiplierEQ.
  166. func BatchImageHoldMultiplier(v float64) predicate.Group {
  167. return predicate.Group(sql.FieldEQ(FieldBatchImageHoldMultiplier, v))
  168. }
  169. // VideoRateIndependent applies equality check predicate on the "video_rate_independent" field. It's identical to VideoRateIndependentEQ.
  170. func VideoRateIndependent(v bool) predicate.Group {
  171. return predicate.Group(sql.FieldEQ(FieldVideoRateIndependent, v))
  172. }
  173. // VideoRateMultiplier applies equality check predicate on the "video_rate_multiplier" field. It's identical to VideoRateMultiplierEQ.
  174. func VideoRateMultiplier(v float64) predicate.Group {
  175. return predicate.Group(sql.FieldEQ(FieldVideoRateMultiplier, v))
  176. }
  177. // VideoPrice480p applies equality check predicate on the "video_price_480p" field. It's identical to VideoPrice480pEQ.
  178. func VideoPrice480p(v float64) predicate.Group {
  179. return predicate.Group(sql.FieldEQ(FieldVideoPrice480p, v))
  180. }
  181. // VideoPrice720p applies equality check predicate on the "video_price_720p" field. It's identical to VideoPrice720pEQ.
  182. func VideoPrice720p(v float64) predicate.Group {
  183. return predicate.Group(sql.FieldEQ(FieldVideoPrice720p, v))
  184. }
  185. // VideoPrice1080p applies equality check predicate on the "video_price_1080p" field. It's identical to VideoPrice1080pEQ.
  186. func VideoPrice1080p(v float64) predicate.Group {
  187. return predicate.Group(sql.FieldEQ(FieldVideoPrice1080p, v))
  188. }
  189. // WebSearchPricePerCall applies equality check predicate on the "web_search_price_per_call" field. It's identical to WebSearchPricePerCallEQ.
  190. func WebSearchPricePerCall(v float64) predicate.Group {
  191. return predicate.Group(sql.FieldEQ(FieldWebSearchPricePerCall, v))
  192. }
  193. // SearchPricePer1k applies equality check predicate on the "search_price_per_1k" field. It's identical to SearchPricePer1kEQ.
  194. func SearchPricePer1k(v float64) predicate.Group {
  195. return predicate.Group(sql.FieldEQ(FieldSearchPricePer1k, v))
  196. }
  197. // AudioRealtimePricePerMin applies equality check predicate on the "audio_realtime_price_per_min" field. It's identical to AudioRealtimePricePerMinEQ.
  198. func AudioRealtimePricePerMin(v float64) predicate.Group {
  199. return predicate.Group(sql.FieldEQ(FieldAudioRealtimePricePerMin, v))
  200. }
  201. // AudioTtsPricePerMillionChars applies equality check predicate on the "audio_tts_price_per_million_chars" field. It's identical to AudioTtsPricePerMillionCharsEQ.
  202. func AudioTtsPricePerMillionChars(v float64) predicate.Group {
  203. return predicate.Group(sql.FieldEQ(FieldAudioTtsPricePerMillionChars, v))
  204. }
  205. // AudioSttPricePerHour applies equality check predicate on the "audio_stt_price_per_hour" field. It's identical to AudioSttPricePerHourEQ.
  206. func AudioSttPricePerHour(v float64) predicate.Group {
  207. return predicate.Group(sql.FieldEQ(FieldAudioSttPricePerHour, v))
  208. }
  209. // LongContextPricingEnabled applies equality check predicate on the "long_context_pricing_enabled" field. It's identical to LongContextPricingEnabledEQ.
  210. func LongContextPricingEnabled(v bool) predicate.Group {
  211. return predicate.Group(sql.FieldEQ(FieldLongContextPricingEnabled, v))
  212. }
  213. // ClaudeCodeOnly applies equality check predicate on the "claude_code_only" field. It's identical to ClaudeCodeOnlyEQ.
  214. func ClaudeCodeOnly(v bool) predicate.Group {
  215. return predicate.Group(sql.FieldEQ(FieldClaudeCodeOnly, v))
  216. }
  217. // FallbackGroupID applies equality check predicate on the "fallback_group_id" field. It's identical to FallbackGroupIDEQ.
  218. func FallbackGroupID(v int64) predicate.Group {
  219. return predicate.Group(sql.FieldEQ(FieldFallbackGroupID, v))
  220. }
  221. // FallbackGroupIDOnInvalidRequest applies equality check predicate on the "fallback_group_id_on_invalid_request" field. It's identical to FallbackGroupIDOnInvalidRequestEQ.
  222. func FallbackGroupIDOnInvalidRequest(v int64) predicate.Group {
  223. return predicate.Group(sql.FieldEQ(FieldFallbackGroupIDOnInvalidRequest, v))
  224. }
  225. // ModelRoutingEnabled applies equality check predicate on the "model_routing_enabled" field. It's identical to ModelRoutingEnabledEQ.
  226. func ModelRoutingEnabled(v bool) predicate.Group {
  227. return predicate.Group(sql.FieldEQ(FieldModelRoutingEnabled, v))
  228. }
  229. // McpXMLInject applies equality check predicate on the "mcp_xml_inject" field. It's identical to McpXMLInjectEQ.
  230. func McpXMLInject(v bool) predicate.Group {
  231. return predicate.Group(sql.FieldEQ(FieldMcpXMLInject, v))
  232. }
  233. // SortOrder applies equality check predicate on the "sort_order" field. It's identical to SortOrderEQ.
  234. func SortOrder(v int) predicate.Group {
  235. return predicate.Group(sql.FieldEQ(FieldSortOrder, v))
  236. }
  237. // AllowMessagesDispatch applies equality check predicate on the "allow_messages_dispatch" field. It's identical to AllowMessagesDispatchEQ.
  238. func AllowMessagesDispatch(v bool) predicate.Group {
  239. return predicate.Group(sql.FieldEQ(FieldAllowMessagesDispatch, v))
  240. }
  241. // AllowLive applies equality check predicate on the "allow_live" field. It's identical to AllowLiveEQ.
  242. func AllowLive(v bool) predicate.Group {
  243. return predicate.Group(sql.FieldEQ(FieldAllowLive, v))
  244. }
  245. // ForceOpenaiFast applies equality check predicate on the "force_openai_fast" field. It's identical to ForceOpenaiFastEQ.
  246. func ForceOpenaiFast(v bool) predicate.Group {
  247. return predicate.Group(sql.FieldEQ(FieldForceOpenaiFast, v))
  248. }
  249. // FreeOpenaiFast applies equality check predicate on the "free_openai_fast" field. It's identical to FreeOpenaiFastEQ.
  250. func FreeOpenaiFast(v bool) predicate.Group {
  251. return predicate.Group(sql.FieldEQ(FieldFreeOpenaiFast, v))
  252. }
  253. // RequireOauthOnly applies equality check predicate on the "require_oauth_only" field. It's identical to RequireOauthOnlyEQ.
  254. func RequireOauthOnly(v bool) predicate.Group {
  255. return predicate.Group(sql.FieldEQ(FieldRequireOauthOnly, v))
  256. }
  257. // RequirePrivacySet applies equality check predicate on the "require_privacy_set" field. It's identical to RequirePrivacySetEQ.
  258. func RequirePrivacySet(v bool) predicate.Group {
  259. return predicate.Group(sql.FieldEQ(FieldRequirePrivacySet, v))
  260. }
  261. // DefaultMappedModel applies equality check predicate on the "default_mapped_model" field. It's identical to DefaultMappedModelEQ.
  262. func DefaultMappedModel(v string) predicate.Group {
  263. return predicate.Group(sql.FieldEQ(FieldDefaultMappedModel, v))
  264. }
  265. // RpmLimit applies equality check predicate on the "rpm_limit" field. It's identical to RpmLimitEQ.
  266. func RpmLimit(v int) predicate.Group {
  267. return predicate.Group(sql.FieldEQ(FieldRpmLimit, v))
  268. }
  269. // MaxReasoningEffort applies equality check predicate on the "max_reasoning_effort" field. It's identical to MaxReasoningEffortEQ.
  270. func MaxReasoningEffort(v string) predicate.Group {
  271. return predicate.Group(sql.FieldEQ(FieldMaxReasoningEffort, v))
  272. }
  273. // MaxReasoningEffortOverLimit applies equality check predicate on the "max_reasoning_effort_over_limit" field. It's identical to MaxReasoningEffortOverLimitEQ.
  274. func MaxReasoningEffortOverLimit(v string) predicate.Group {
  275. return predicate.Group(sql.FieldEQ(FieldMaxReasoningEffortOverLimit, v))
  276. }
  277. // ProfitControlEnabled applies equality check predicate on the "profit_control_enabled" field. It's identical to ProfitControlEnabledEQ.
  278. func ProfitControlEnabled(v bool) predicate.Group {
  279. return predicate.Group(sql.FieldEQ(FieldProfitControlEnabled, v))
  280. }
  281. // ProfitMinMargin applies equality check predicate on the "profit_min_margin" field. It's identical to ProfitMinMarginEQ.
  282. func ProfitMinMargin(v float64) predicate.Group {
  283. return predicate.Group(sql.FieldEQ(FieldProfitMinMargin, v))
  284. }
  285. // ProfitSafetyBuffer applies equality check predicate on the "profit_safety_buffer" field. It's identical to ProfitSafetyBufferEQ.
  286. func ProfitSafetyBuffer(v float64) predicate.Group {
  287. return predicate.Group(sql.FieldEQ(FieldProfitSafetyBuffer, v))
  288. }
  289. // CreatedAtEQ applies the EQ predicate on the "created_at" field.
  290. func CreatedAtEQ(v time.Time) predicate.Group {
  291. return predicate.Group(sql.FieldEQ(FieldCreatedAt, v))
  292. }
  293. // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
  294. func CreatedAtNEQ(v time.Time) predicate.Group {
  295. return predicate.Group(sql.FieldNEQ(FieldCreatedAt, v))
  296. }
  297. // CreatedAtIn applies the In predicate on the "created_at" field.
  298. func CreatedAtIn(vs ...time.Time) predicate.Group {
  299. return predicate.Group(sql.FieldIn(FieldCreatedAt, vs...))
  300. }
  301. // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
  302. func CreatedAtNotIn(vs ...time.Time) predicate.Group {
  303. return predicate.Group(sql.FieldNotIn(FieldCreatedAt, vs...))
  304. }
  305. // CreatedAtGT applies the GT predicate on the "created_at" field.
  306. func CreatedAtGT(v time.Time) predicate.Group {
  307. return predicate.Group(sql.FieldGT(FieldCreatedAt, v))
  308. }
  309. // CreatedAtGTE applies the GTE predicate on the "created_at" field.
  310. func CreatedAtGTE(v time.Time) predicate.Group {
  311. return predicate.Group(sql.FieldGTE(FieldCreatedAt, v))
  312. }
  313. // CreatedAtLT applies the LT predicate on the "created_at" field.
  314. func CreatedAtLT(v time.Time) predicate.Group {
  315. return predicate.Group(sql.FieldLT(FieldCreatedAt, v))
  316. }
  317. // CreatedAtLTE applies the LTE predicate on the "created_at" field.
  318. func CreatedAtLTE(v time.Time) predicate.Group {
  319. return predicate.Group(sql.FieldLTE(FieldCreatedAt, v))
  320. }
  321. // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
  322. func UpdatedAtEQ(v time.Time) predicate.Group {
  323. return predicate.Group(sql.FieldEQ(FieldUpdatedAt, v))
  324. }
  325. // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
  326. func UpdatedAtNEQ(v time.Time) predicate.Group {
  327. return predicate.Group(sql.FieldNEQ(FieldUpdatedAt, v))
  328. }
  329. // UpdatedAtIn applies the In predicate on the "updated_at" field.
  330. func UpdatedAtIn(vs ...time.Time) predicate.Group {
  331. return predicate.Group(sql.FieldIn(FieldUpdatedAt, vs...))
  332. }
  333. // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
  334. func UpdatedAtNotIn(vs ...time.Time) predicate.Group {
  335. return predicate.Group(sql.FieldNotIn(FieldUpdatedAt, vs...))
  336. }
  337. // UpdatedAtGT applies the GT predicate on the "updated_at" field.
  338. func UpdatedAtGT(v time.Time) predicate.Group {
  339. return predicate.Group(sql.FieldGT(FieldUpdatedAt, v))
  340. }
  341. // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
  342. func UpdatedAtGTE(v time.Time) predicate.Group {
  343. return predicate.Group(sql.FieldGTE(FieldUpdatedAt, v))
  344. }
  345. // UpdatedAtLT applies the LT predicate on the "updated_at" field.
  346. func UpdatedAtLT(v time.Time) predicate.Group {
  347. return predicate.Group(sql.FieldLT(FieldUpdatedAt, v))
  348. }
  349. // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
  350. func UpdatedAtLTE(v time.Time) predicate.Group {
  351. return predicate.Group(sql.FieldLTE(FieldUpdatedAt, v))
  352. }
  353. // DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
  354. func DeletedAtEQ(v time.Time) predicate.Group {
  355. return predicate.Group(sql.FieldEQ(FieldDeletedAt, v))
  356. }
  357. // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
  358. func DeletedAtNEQ(v time.Time) predicate.Group {
  359. return predicate.Group(sql.FieldNEQ(FieldDeletedAt, v))
  360. }
  361. // DeletedAtIn applies the In predicate on the "deleted_at" field.
  362. func DeletedAtIn(vs ...time.Time) predicate.Group {
  363. return predicate.Group(sql.FieldIn(FieldDeletedAt, vs...))
  364. }
  365. // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
  366. func DeletedAtNotIn(vs ...time.Time) predicate.Group {
  367. return predicate.Group(sql.FieldNotIn(FieldDeletedAt, vs...))
  368. }
  369. // DeletedAtGT applies the GT predicate on the "deleted_at" field.
  370. func DeletedAtGT(v time.Time) predicate.Group {
  371. return predicate.Group(sql.FieldGT(FieldDeletedAt, v))
  372. }
  373. // DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
  374. func DeletedAtGTE(v time.Time) predicate.Group {
  375. return predicate.Group(sql.FieldGTE(FieldDeletedAt, v))
  376. }
  377. // DeletedAtLT applies the LT predicate on the "deleted_at" field.
  378. func DeletedAtLT(v time.Time) predicate.Group {
  379. return predicate.Group(sql.FieldLT(FieldDeletedAt, v))
  380. }
  381. // DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
  382. func DeletedAtLTE(v time.Time) predicate.Group {
  383. return predicate.Group(sql.FieldLTE(FieldDeletedAt, v))
  384. }
  385. // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
  386. func DeletedAtIsNil() predicate.Group {
  387. return predicate.Group(sql.FieldIsNull(FieldDeletedAt))
  388. }
  389. // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
  390. func DeletedAtNotNil() predicate.Group {
  391. return predicate.Group(sql.FieldNotNull(FieldDeletedAt))
  392. }
  393. // NameEQ applies the EQ predicate on the "name" field.
  394. func NameEQ(v string) predicate.Group {
  395. return predicate.Group(sql.FieldEQ(FieldName, v))
  396. }
  397. // NameNEQ applies the NEQ predicate on the "name" field.
  398. func NameNEQ(v string) predicate.Group {
  399. return predicate.Group(sql.FieldNEQ(FieldName, v))
  400. }
  401. // NameIn applies the In predicate on the "name" field.
  402. func NameIn(vs ...string) predicate.Group {
  403. return predicate.Group(sql.FieldIn(FieldName, vs...))
  404. }
  405. // NameNotIn applies the NotIn predicate on the "name" field.
  406. func NameNotIn(vs ...string) predicate.Group {
  407. return predicate.Group(sql.FieldNotIn(FieldName, vs...))
  408. }
  409. // NameGT applies the GT predicate on the "name" field.
  410. func NameGT(v string) predicate.Group {
  411. return predicate.Group(sql.FieldGT(FieldName, v))
  412. }
  413. // NameGTE applies the GTE predicate on the "name" field.
  414. func NameGTE(v string) predicate.Group {
  415. return predicate.Group(sql.FieldGTE(FieldName, v))
  416. }
  417. // NameLT applies the LT predicate on the "name" field.
  418. func NameLT(v string) predicate.Group {
  419. return predicate.Group(sql.FieldLT(FieldName, v))
  420. }
  421. // NameLTE applies the LTE predicate on the "name" field.
  422. func NameLTE(v string) predicate.Group {
  423. return predicate.Group(sql.FieldLTE(FieldName, v))
  424. }
  425. // NameContains applies the Contains predicate on the "name" field.
  426. func NameContains(v string) predicate.Group {
  427. return predicate.Group(sql.FieldContains(FieldName, v))
  428. }
  429. // NameHasPrefix applies the HasPrefix predicate on the "name" field.
  430. func NameHasPrefix(v string) predicate.Group {
  431. return predicate.Group(sql.FieldHasPrefix(FieldName, v))
  432. }
  433. // NameHasSuffix applies the HasSuffix predicate on the "name" field.
  434. func NameHasSuffix(v string) predicate.Group {
  435. return predicate.Group(sql.FieldHasSuffix(FieldName, v))
  436. }
  437. // NameEqualFold applies the EqualFold predicate on the "name" field.
  438. func NameEqualFold(v string) predicate.Group {
  439. return predicate.Group(sql.FieldEqualFold(FieldName, v))
  440. }
  441. // NameContainsFold applies the ContainsFold predicate on the "name" field.
  442. func NameContainsFold(v string) predicate.Group {
  443. return predicate.Group(sql.FieldContainsFold(FieldName, v))
  444. }
  445. // DescriptionEQ applies the EQ predicate on the "description" field.
  446. func DescriptionEQ(v string) predicate.Group {
  447. return predicate.Group(sql.FieldEQ(FieldDescription, v))
  448. }
  449. // DescriptionNEQ applies the NEQ predicate on the "description" field.
  450. func DescriptionNEQ(v string) predicate.Group {
  451. return predicate.Group(sql.FieldNEQ(FieldDescription, v))
  452. }
  453. // DescriptionIn applies the In predicate on the "description" field.
  454. func DescriptionIn(vs ...string) predicate.Group {
  455. return predicate.Group(sql.FieldIn(FieldDescription, vs...))
  456. }
  457. // DescriptionNotIn applies the NotIn predicate on the "description" field.
  458. func DescriptionNotIn(vs ...string) predicate.Group {
  459. return predicate.Group(sql.FieldNotIn(FieldDescription, vs...))
  460. }
  461. // DescriptionGT applies the GT predicate on the "description" field.
  462. func DescriptionGT(v string) predicate.Group {
  463. return predicate.Group(sql.FieldGT(FieldDescription, v))
  464. }
  465. // DescriptionGTE applies the GTE predicate on the "description" field.
  466. func DescriptionGTE(v string) predicate.Group {
  467. return predicate.Group(sql.FieldGTE(FieldDescription, v))
  468. }
  469. // DescriptionLT applies the LT predicate on the "description" field.
  470. func DescriptionLT(v string) predicate.Group {
  471. return predicate.Group(sql.FieldLT(FieldDescription, v))
  472. }
  473. // DescriptionLTE applies the LTE predicate on the "description" field.
  474. func DescriptionLTE(v string) predicate.Group {
  475. return predicate.Group(sql.FieldLTE(FieldDescription, v))
  476. }
  477. // DescriptionContains applies the Contains predicate on the "description" field.
  478. func DescriptionContains(v string) predicate.Group {
  479. return predicate.Group(sql.FieldContains(FieldDescription, v))
  480. }
  481. // DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
  482. func DescriptionHasPrefix(v string) predicate.Group {
  483. return predicate.Group(sql.FieldHasPrefix(FieldDescription, v))
  484. }
  485. // DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
  486. func DescriptionHasSuffix(v string) predicate.Group {
  487. return predicate.Group(sql.FieldHasSuffix(FieldDescription, v))
  488. }
  489. // DescriptionIsNil applies the IsNil predicate on the "description" field.
  490. func DescriptionIsNil() predicate.Group {
  491. return predicate.Group(sql.FieldIsNull(FieldDescription))
  492. }
  493. // DescriptionNotNil applies the NotNil predicate on the "description" field.
  494. func DescriptionNotNil() predicate.Group {
  495. return predicate.Group(sql.FieldNotNull(FieldDescription))
  496. }
  497. // DescriptionEqualFold applies the EqualFold predicate on the "description" field.
  498. func DescriptionEqualFold(v string) predicate.Group {
  499. return predicate.Group(sql.FieldEqualFold(FieldDescription, v))
  500. }
  501. // DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
  502. func DescriptionContainsFold(v string) predicate.Group {
  503. return predicate.Group(sql.FieldContainsFold(FieldDescription, v))
  504. }
  505. // RateMultiplierEQ applies the EQ predicate on the "rate_multiplier" field.
  506. func RateMultiplierEQ(v float64) predicate.Group {
  507. return predicate.Group(sql.FieldEQ(FieldRateMultiplier, v))
  508. }
  509. // RateMultiplierNEQ applies the NEQ predicate on the "rate_multiplier" field.
  510. func RateMultiplierNEQ(v float64) predicate.Group {
  511. return predicate.Group(sql.FieldNEQ(FieldRateMultiplier, v))
  512. }
  513. // RateMultiplierIn applies the In predicate on the "rate_multiplier" field.
  514. func RateMultiplierIn(vs ...float64) predicate.Group {
  515. return predicate.Group(sql.FieldIn(FieldRateMultiplier, vs...))
  516. }
  517. // RateMultiplierNotIn applies the NotIn predicate on the "rate_multiplier" field.
  518. func RateMultiplierNotIn(vs ...float64) predicate.Group {
  519. return predicate.Group(sql.FieldNotIn(FieldRateMultiplier, vs...))
  520. }
  521. // RateMultiplierGT applies the GT predicate on the "rate_multiplier" field.
  522. func RateMultiplierGT(v float64) predicate.Group {
  523. return predicate.Group(sql.FieldGT(FieldRateMultiplier, v))
  524. }
  525. // RateMultiplierGTE applies the GTE predicate on the "rate_multiplier" field.
  526. func RateMultiplierGTE(v float64) predicate.Group {
  527. return predicate.Group(sql.FieldGTE(FieldRateMultiplier, v))
  528. }
  529. // RateMultiplierLT applies the LT predicate on the "rate_multiplier" field.
  530. func RateMultiplierLT(v float64) predicate.Group {
  531. return predicate.Group(sql.FieldLT(FieldRateMultiplier, v))
  532. }
  533. // RateMultiplierLTE applies the LTE predicate on the "rate_multiplier" field.
  534. func RateMultiplierLTE(v float64) predicate.Group {
  535. return predicate.Group(sql.FieldLTE(FieldRateMultiplier, v))
  536. }
  537. // PeakRateEnabledEQ applies the EQ predicate on the "peak_rate_enabled" field.
  538. func PeakRateEnabledEQ(v bool) predicate.Group {
  539. return predicate.Group(sql.FieldEQ(FieldPeakRateEnabled, v))
  540. }
  541. // PeakRateEnabledNEQ applies the NEQ predicate on the "peak_rate_enabled" field.
  542. func PeakRateEnabledNEQ(v bool) predicate.Group {
  543. return predicate.Group(sql.FieldNEQ(FieldPeakRateEnabled, v))
  544. }
  545. // PeakStartEQ applies the EQ predicate on the "peak_start" field.
  546. func PeakStartEQ(v string) predicate.Group {
  547. return predicate.Group(sql.FieldEQ(FieldPeakStart, v))
  548. }
  549. // PeakStartNEQ applies the NEQ predicate on the "peak_start" field.
  550. func PeakStartNEQ(v string) predicate.Group {
  551. return predicate.Group(sql.FieldNEQ(FieldPeakStart, v))
  552. }
  553. // PeakStartIn applies the In predicate on the "peak_start" field.
  554. func PeakStartIn(vs ...string) predicate.Group {
  555. return predicate.Group(sql.FieldIn(FieldPeakStart, vs...))
  556. }
  557. // PeakStartNotIn applies the NotIn predicate on the "peak_start" field.
  558. func PeakStartNotIn(vs ...string) predicate.Group {
  559. return predicate.Group(sql.FieldNotIn(FieldPeakStart, vs...))
  560. }
  561. // PeakStartGT applies the GT predicate on the "peak_start" field.
  562. func PeakStartGT(v string) predicate.Group {
  563. return predicate.Group(sql.FieldGT(FieldPeakStart, v))
  564. }
  565. // PeakStartGTE applies the GTE predicate on the "peak_start" field.
  566. func PeakStartGTE(v string) predicate.Group {
  567. return predicate.Group(sql.FieldGTE(FieldPeakStart, v))
  568. }
  569. // PeakStartLT applies the LT predicate on the "peak_start" field.
  570. func PeakStartLT(v string) predicate.Group {
  571. return predicate.Group(sql.FieldLT(FieldPeakStart, v))
  572. }
  573. // PeakStartLTE applies the LTE predicate on the "peak_start" field.
  574. func PeakStartLTE(v string) predicate.Group {
  575. return predicate.Group(sql.FieldLTE(FieldPeakStart, v))
  576. }
  577. // PeakStartContains applies the Contains predicate on the "peak_start" field.
  578. func PeakStartContains(v string) predicate.Group {
  579. return predicate.Group(sql.FieldContains(FieldPeakStart, v))
  580. }
  581. // PeakStartHasPrefix applies the HasPrefix predicate on the "peak_start" field.
  582. func PeakStartHasPrefix(v string) predicate.Group {
  583. return predicate.Group(sql.FieldHasPrefix(FieldPeakStart, v))
  584. }
  585. // PeakStartHasSuffix applies the HasSuffix predicate on the "peak_start" field.
  586. func PeakStartHasSuffix(v string) predicate.Group {
  587. return predicate.Group(sql.FieldHasSuffix(FieldPeakStart, v))
  588. }
  589. // PeakStartEqualFold applies the EqualFold predicate on the "peak_start" field.
  590. func PeakStartEqualFold(v string) predicate.Group {
  591. return predicate.Group(sql.FieldEqualFold(FieldPeakStart, v))
  592. }
  593. // PeakStartContainsFold applies the ContainsFold predicate on the "peak_start" field.
  594. func PeakStartContainsFold(v string) predicate.Group {
  595. return predicate.Group(sql.FieldContainsFold(FieldPeakStart, v))
  596. }
  597. // PeakEndEQ applies the EQ predicate on the "peak_end" field.
  598. func PeakEndEQ(v string) predicate.Group {
  599. return predicate.Group(sql.FieldEQ(FieldPeakEnd, v))
  600. }
  601. // PeakEndNEQ applies the NEQ predicate on the "peak_end" field.
  602. func PeakEndNEQ(v string) predicate.Group {
  603. return predicate.Group(sql.FieldNEQ(FieldPeakEnd, v))
  604. }
  605. // PeakEndIn applies the In predicate on the "peak_end" field.
  606. func PeakEndIn(vs ...string) predicate.Group {
  607. return predicate.Group(sql.FieldIn(FieldPeakEnd, vs...))
  608. }
  609. // PeakEndNotIn applies the NotIn predicate on the "peak_end" field.
  610. func PeakEndNotIn(vs ...string) predicate.Group {
  611. return predicate.Group(sql.FieldNotIn(FieldPeakEnd, vs...))
  612. }
  613. // PeakEndGT applies the GT predicate on the "peak_end" field.
  614. func PeakEndGT(v string) predicate.Group {
  615. return predicate.Group(sql.FieldGT(FieldPeakEnd, v))
  616. }
  617. // PeakEndGTE applies the GTE predicate on the "peak_end" field.
  618. func PeakEndGTE(v string) predicate.Group {
  619. return predicate.Group(sql.FieldGTE(FieldPeakEnd, v))
  620. }
  621. // PeakEndLT applies the LT predicate on the "peak_end" field.
  622. func PeakEndLT(v string) predicate.Group {
  623. return predicate.Group(sql.FieldLT(FieldPeakEnd, v))
  624. }
  625. // PeakEndLTE applies the LTE predicate on the "peak_end" field.
  626. func PeakEndLTE(v string) predicate.Group {
  627. return predicate.Group(sql.FieldLTE(FieldPeakEnd, v))
  628. }
  629. // PeakEndContains applies the Contains predicate on the "peak_end" field.
  630. func PeakEndContains(v string) predicate.Group {
  631. return predicate.Group(sql.FieldContains(FieldPeakEnd, v))
  632. }
  633. // PeakEndHasPrefix applies the HasPrefix predicate on the "peak_end" field.
  634. func PeakEndHasPrefix(v string) predicate.Group {
  635. return predicate.Group(sql.FieldHasPrefix(FieldPeakEnd, v))
  636. }
  637. // PeakEndHasSuffix applies the HasSuffix predicate on the "peak_end" field.
  638. func PeakEndHasSuffix(v string) predicate.Group {
  639. return predicate.Group(sql.FieldHasSuffix(FieldPeakEnd, v))
  640. }
  641. // PeakEndEqualFold applies the EqualFold predicate on the "peak_end" field.
  642. func PeakEndEqualFold(v string) predicate.Group {
  643. return predicate.Group(sql.FieldEqualFold(FieldPeakEnd, v))
  644. }
  645. // PeakEndContainsFold applies the ContainsFold predicate on the "peak_end" field.
  646. func PeakEndContainsFold(v string) predicate.Group {
  647. return predicate.Group(sql.FieldContainsFold(FieldPeakEnd, v))
  648. }
  649. // PeakRateMultiplierEQ applies the EQ predicate on the "peak_rate_multiplier" field.
  650. func PeakRateMultiplierEQ(v float64) predicate.Group {
  651. return predicate.Group(sql.FieldEQ(FieldPeakRateMultiplier, v))
  652. }
  653. // PeakRateMultiplierNEQ applies the NEQ predicate on the "peak_rate_multiplier" field.
  654. func PeakRateMultiplierNEQ(v float64) predicate.Group {
  655. return predicate.Group(sql.FieldNEQ(FieldPeakRateMultiplier, v))
  656. }
  657. // PeakRateMultiplierIn applies the In predicate on the "peak_rate_multiplier" field.
  658. func PeakRateMultiplierIn(vs ...float64) predicate.Group {
  659. return predicate.Group(sql.FieldIn(FieldPeakRateMultiplier, vs...))
  660. }
  661. // PeakRateMultiplierNotIn applies the NotIn predicate on the "peak_rate_multiplier" field.
  662. func PeakRateMultiplierNotIn(vs ...float64) predicate.Group {
  663. return predicate.Group(sql.FieldNotIn(FieldPeakRateMultiplier, vs...))
  664. }
  665. // PeakRateMultiplierGT applies the GT predicate on the "peak_rate_multiplier" field.
  666. func PeakRateMultiplierGT(v float64) predicate.Group {
  667. return predicate.Group(sql.FieldGT(FieldPeakRateMultiplier, v))
  668. }
  669. // PeakRateMultiplierGTE applies the GTE predicate on the "peak_rate_multiplier" field.
  670. func PeakRateMultiplierGTE(v float64) predicate.Group {
  671. return predicate.Group(sql.FieldGTE(FieldPeakRateMultiplier, v))
  672. }
  673. // PeakRateMultiplierLT applies the LT predicate on the "peak_rate_multiplier" field.
  674. func PeakRateMultiplierLT(v float64) predicate.Group {
  675. return predicate.Group(sql.FieldLT(FieldPeakRateMultiplier, v))
  676. }
  677. // PeakRateMultiplierLTE applies the LTE predicate on the "peak_rate_multiplier" field.
  678. func PeakRateMultiplierLTE(v float64) predicate.Group {
  679. return predicate.Group(sql.FieldLTE(FieldPeakRateMultiplier, v))
  680. }
  681. // IsExclusiveEQ applies the EQ predicate on the "is_exclusive" field.
  682. func IsExclusiveEQ(v bool) predicate.Group {
  683. return predicate.Group(sql.FieldEQ(FieldIsExclusive, v))
  684. }
  685. // IsExclusiveNEQ applies the NEQ predicate on the "is_exclusive" field.
  686. func IsExclusiveNEQ(v bool) predicate.Group {
  687. return predicate.Group(sql.FieldNEQ(FieldIsExclusive, v))
  688. }
  689. // SecurityPolicyEnabledEQ applies the EQ predicate on the "security_policy_enabled" field.
  690. func SecurityPolicyEnabledEQ(v bool) predicate.Group {
  691. return predicate.Group(sql.FieldEQ(FieldSecurityPolicyEnabled, v))
  692. }
  693. // SecurityPolicyEnabledNEQ applies the NEQ predicate on the "security_policy_enabled" field.
  694. func SecurityPolicyEnabledNEQ(v bool) predicate.Group {
  695. return predicate.Group(sql.FieldNEQ(FieldSecurityPolicyEnabled, v))
  696. }
  697. // SecurityPolicyModeEQ applies the EQ predicate on the "security_policy_mode" field.
  698. func SecurityPolicyModeEQ(v string) predicate.Group {
  699. return predicate.Group(sql.FieldEQ(FieldSecurityPolicyMode, v))
  700. }
  701. // SecurityPolicyModeNEQ applies the NEQ predicate on the "security_policy_mode" field.
  702. func SecurityPolicyModeNEQ(v string) predicate.Group {
  703. return predicate.Group(sql.FieldNEQ(FieldSecurityPolicyMode, v))
  704. }
  705. // SecurityPolicyModeIn applies the In predicate on the "security_policy_mode" field.
  706. func SecurityPolicyModeIn(vs ...string) predicate.Group {
  707. return predicate.Group(sql.FieldIn(FieldSecurityPolicyMode, vs...))
  708. }
  709. // SecurityPolicyModeNotIn applies the NotIn predicate on the "security_policy_mode" field.
  710. func SecurityPolicyModeNotIn(vs ...string) predicate.Group {
  711. return predicate.Group(sql.FieldNotIn(FieldSecurityPolicyMode, vs...))
  712. }
  713. // SecurityPolicyModeGT applies the GT predicate on the "security_policy_mode" field.
  714. func SecurityPolicyModeGT(v string) predicate.Group {
  715. return predicate.Group(sql.FieldGT(FieldSecurityPolicyMode, v))
  716. }
  717. // SecurityPolicyModeGTE applies the GTE predicate on the "security_policy_mode" field.
  718. func SecurityPolicyModeGTE(v string) predicate.Group {
  719. return predicate.Group(sql.FieldGTE(FieldSecurityPolicyMode, v))
  720. }
  721. // SecurityPolicyModeLT applies the LT predicate on the "security_policy_mode" field.
  722. func SecurityPolicyModeLT(v string) predicate.Group {
  723. return predicate.Group(sql.FieldLT(FieldSecurityPolicyMode, v))
  724. }
  725. // SecurityPolicyModeLTE applies the LTE predicate on the "security_policy_mode" field.
  726. func SecurityPolicyModeLTE(v string) predicate.Group {
  727. return predicate.Group(sql.FieldLTE(FieldSecurityPolicyMode, v))
  728. }
  729. // SecurityPolicyModeContains applies the Contains predicate on the "security_policy_mode" field.
  730. func SecurityPolicyModeContains(v string) predicate.Group {
  731. return predicate.Group(sql.FieldContains(FieldSecurityPolicyMode, v))
  732. }
  733. // SecurityPolicyModeHasPrefix applies the HasPrefix predicate on the "security_policy_mode" field.
  734. func SecurityPolicyModeHasPrefix(v string) predicate.Group {
  735. return predicate.Group(sql.FieldHasPrefix(FieldSecurityPolicyMode, v))
  736. }
  737. // SecurityPolicyModeHasSuffix applies the HasSuffix predicate on the "security_policy_mode" field.
  738. func SecurityPolicyModeHasSuffix(v string) predicate.Group {
  739. return predicate.Group(sql.FieldHasSuffix(FieldSecurityPolicyMode, v))
  740. }
  741. // SecurityPolicyModeEqualFold applies the EqualFold predicate on the "security_policy_mode" field.
  742. func SecurityPolicyModeEqualFold(v string) predicate.Group {
  743. return predicate.Group(sql.FieldEqualFold(FieldSecurityPolicyMode, v))
  744. }
  745. // SecurityPolicyModeContainsFold applies the ContainsFold predicate on the "security_policy_mode" field.
  746. func SecurityPolicyModeContainsFold(v string) predicate.Group {
  747. return predicate.Group(sql.FieldContainsFold(FieldSecurityPolicyMode, v))
  748. }
  749. // SecurityPolicyEmailEnabledEQ applies the EQ predicate on the "security_policy_email_enabled" field.
  750. func SecurityPolicyEmailEnabledEQ(v bool) predicate.Group {
  751. return predicate.Group(sql.FieldEQ(FieldSecurityPolicyEmailEnabled, v))
  752. }
  753. // SecurityPolicyEmailEnabledNEQ applies the NEQ predicate on the "security_policy_email_enabled" field.
  754. func SecurityPolicyEmailEnabledNEQ(v bool) predicate.Group {
  755. return predicate.Group(sql.FieldNEQ(FieldSecurityPolicyEmailEnabled, v))
  756. }
  757. // StatusEQ applies the EQ predicate on the "status" field.
  758. func StatusEQ(v string) predicate.Group {
  759. return predicate.Group(sql.FieldEQ(FieldStatus, v))
  760. }
  761. // StatusNEQ applies the NEQ predicate on the "status" field.
  762. func StatusNEQ(v string) predicate.Group {
  763. return predicate.Group(sql.FieldNEQ(FieldStatus, v))
  764. }
  765. // StatusIn applies the In predicate on the "status" field.
  766. func StatusIn(vs ...string) predicate.Group {
  767. return predicate.Group(sql.FieldIn(FieldStatus, vs...))
  768. }
  769. // StatusNotIn applies the NotIn predicate on the "status" field.
  770. func StatusNotIn(vs ...string) predicate.Group {
  771. return predicate.Group(sql.FieldNotIn(FieldStatus, vs...))
  772. }
  773. // StatusGT applies the GT predicate on the "status" field.
  774. func StatusGT(v string) predicate.Group {
  775. return predicate.Group(sql.FieldGT(FieldStatus, v))
  776. }
  777. // StatusGTE applies the GTE predicate on the "status" field.
  778. func StatusGTE(v string) predicate.Group {
  779. return predicate.Group(sql.FieldGTE(FieldStatus, v))
  780. }
  781. // StatusLT applies the LT predicate on the "status" field.
  782. func StatusLT(v string) predicate.Group {
  783. return predicate.Group(sql.FieldLT(FieldStatus, v))
  784. }
  785. // StatusLTE applies the LTE predicate on the "status" field.
  786. func StatusLTE(v string) predicate.Group {
  787. return predicate.Group(sql.FieldLTE(FieldStatus, v))
  788. }
  789. // StatusContains applies the Contains predicate on the "status" field.
  790. func StatusContains(v string) predicate.Group {
  791. return predicate.Group(sql.FieldContains(FieldStatus, v))
  792. }
  793. // StatusHasPrefix applies the HasPrefix predicate on the "status" field.
  794. func StatusHasPrefix(v string) predicate.Group {
  795. return predicate.Group(sql.FieldHasPrefix(FieldStatus, v))
  796. }
  797. // StatusHasSuffix applies the HasSuffix predicate on the "status" field.
  798. func StatusHasSuffix(v string) predicate.Group {
  799. return predicate.Group(sql.FieldHasSuffix(FieldStatus, v))
  800. }
  801. // StatusEqualFold applies the EqualFold predicate on the "status" field.
  802. func StatusEqualFold(v string) predicate.Group {
  803. return predicate.Group(sql.FieldEqualFold(FieldStatus, v))
  804. }
  805. // StatusContainsFold applies the ContainsFold predicate on the "status" field.
  806. func StatusContainsFold(v string) predicate.Group {
  807. return predicate.Group(sql.FieldContainsFold(FieldStatus, v))
  808. }
  809. // DuplicateOperationIDEQ applies the EQ predicate on the "duplicate_operation_id" field.
  810. func DuplicateOperationIDEQ(v string) predicate.Group {
  811. return predicate.Group(sql.FieldEQ(FieldDuplicateOperationID, v))
  812. }
  813. // DuplicateOperationIDNEQ applies the NEQ predicate on the "duplicate_operation_id" field.
  814. func DuplicateOperationIDNEQ(v string) predicate.Group {
  815. return predicate.Group(sql.FieldNEQ(FieldDuplicateOperationID, v))
  816. }
  817. // DuplicateOperationIDIn applies the In predicate on the "duplicate_operation_id" field.
  818. func DuplicateOperationIDIn(vs ...string) predicate.Group {
  819. return predicate.Group(sql.FieldIn(FieldDuplicateOperationID, vs...))
  820. }
  821. // DuplicateOperationIDNotIn applies the NotIn predicate on the "duplicate_operation_id" field.
  822. func DuplicateOperationIDNotIn(vs ...string) predicate.Group {
  823. return predicate.Group(sql.FieldNotIn(FieldDuplicateOperationID, vs...))
  824. }
  825. // DuplicateOperationIDGT applies the GT predicate on the "duplicate_operation_id" field.
  826. func DuplicateOperationIDGT(v string) predicate.Group {
  827. return predicate.Group(sql.FieldGT(FieldDuplicateOperationID, v))
  828. }
  829. // DuplicateOperationIDGTE applies the GTE predicate on the "duplicate_operation_id" field.
  830. func DuplicateOperationIDGTE(v string) predicate.Group {
  831. return predicate.Group(sql.FieldGTE(FieldDuplicateOperationID, v))
  832. }
  833. // DuplicateOperationIDLT applies the LT predicate on the "duplicate_operation_id" field.
  834. func DuplicateOperationIDLT(v string) predicate.Group {
  835. return predicate.Group(sql.FieldLT(FieldDuplicateOperationID, v))
  836. }
  837. // DuplicateOperationIDLTE applies the LTE predicate on the "duplicate_operation_id" field.
  838. func DuplicateOperationIDLTE(v string) predicate.Group {
  839. return predicate.Group(sql.FieldLTE(FieldDuplicateOperationID, v))
  840. }
  841. // DuplicateOperationIDContains applies the Contains predicate on the "duplicate_operation_id" field.
  842. func DuplicateOperationIDContains(v string) predicate.Group {
  843. return predicate.Group(sql.FieldContains(FieldDuplicateOperationID, v))
  844. }
  845. // DuplicateOperationIDHasPrefix applies the HasPrefix predicate on the "duplicate_operation_id" field.
  846. func DuplicateOperationIDHasPrefix(v string) predicate.Group {
  847. return predicate.Group(sql.FieldHasPrefix(FieldDuplicateOperationID, v))
  848. }
  849. // DuplicateOperationIDHasSuffix applies the HasSuffix predicate on the "duplicate_operation_id" field.
  850. func DuplicateOperationIDHasSuffix(v string) predicate.Group {
  851. return predicate.Group(sql.FieldHasSuffix(FieldDuplicateOperationID, v))
  852. }
  853. // DuplicateOperationIDIsNil applies the IsNil predicate on the "duplicate_operation_id" field.
  854. func DuplicateOperationIDIsNil() predicate.Group {
  855. return predicate.Group(sql.FieldIsNull(FieldDuplicateOperationID))
  856. }
  857. // DuplicateOperationIDNotNil applies the NotNil predicate on the "duplicate_operation_id" field.
  858. func DuplicateOperationIDNotNil() predicate.Group {
  859. return predicate.Group(sql.FieldNotNull(FieldDuplicateOperationID))
  860. }
  861. // DuplicateOperationIDEqualFold applies the EqualFold predicate on the "duplicate_operation_id" field.
  862. func DuplicateOperationIDEqualFold(v string) predicate.Group {
  863. return predicate.Group(sql.FieldEqualFold(FieldDuplicateOperationID, v))
  864. }
  865. // DuplicateOperationIDContainsFold applies the ContainsFold predicate on the "duplicate_operation_id" field.
  866. func DuplicateOperationIDContainsFold(v string) predicate.Group {
  867. return predicate.Group(sql.FieldContainsFold(FieldDuplicateOperationID, v))
  868. }
  869. // PlatformEQ applies the EQ predicate on the "platform" field.
  870. func PlatformEQ(v string) predicate.Group {
  871. return predicate.Group(sql.FieldEQ(FieldPlatform, v))
  872. }
  873. // PlatformNEQ applies the NEQ predicate on the "platform" field.
  874. func PlatformNEQ(v string) predicate.Group {
  875. return predicate.Group(sql.FieldNEQ(FieldPlatform, v))
  876. }
  877. // PlatformIn applies the In predicate on the "platform" field.
  878. func PlatformIn(vs ...string) predicate.Group {
  879. return predicate.Group(sql.FieldIn(FieldPlatform, vs...))
  880. }
  881. // PlatformNotIn applies the NotIn predicate on the "platform" field.
  882. func PlatformNotIn(vs ...string) predicate.Group {
  883. return predicate.Group(sql.FieldNotIn(FieldPlatform, vs...))
  884. }
  885. // PlatformGT applies the GT predicate on the "platform" field.
  886. func PlatformGT(v string) predicate.Group {
  887. return predicate.Group(sql.FieldGT(FieldPlatform, v))
  888. }
  889. // PlatformGTE applies the GTE predicate on the "platform" field.
  890. func PlatformGTE(v string) predicate.Group {
  891. return predicate.Group(sql.FieldGTE(FieldPlatform, v))
  892. }
  893. // PlatformLT applies the LT predicate on the "platform" field.
  894. func PlatformLT(v string) predicate.Group {
  895. return predicate.Group(sql.FieldLT(FieldPlatform, v))
  896. }
  897. // PlatformLTE applies the LTE predicate on the "platform" field.
  898. func PlatformLTE(v string) predicate.Group {
  899. return predicate.Group(sql.FieldLTE(FieldPlatform, v))
  900. }
  901. // PlatformContains applies the Contains predicate on the "platform" field.
  902. func PlatformContains(v string) predicate.Group {
  903. return predicate.Group(sql.FieldContains(FieldPlatform, v))
  904. }
  905. // PlatformHasPrefix applies the HasPrefix predicate on the "platform" field.
  906. func PlatformHasPrefix(v string) predicate.Group {
  907. return predicate.Group(sql.FieldHasPrefix(FieldPlatform, v))
  908. }
  909. // PlatformHasSuffix applies the HasSuffix predicate on the "platform" field.
  910. func PlatformHasSuffix(v string) predicate.Group {
  911. return predicate.Group(sql.FieldHasSuffix(FieldPlatform, v))
  912. }
  913. // PlatformEqualFold applies the EqualFold predicate on the "platform" field.
  914. func PlatformEqualFold(v string) predicate.Group {
  915. return predicate.Group(sql.FieldEqualFold(FieldPlatform, v))
  916. }
  917. // PlatformContainsFold applies the ContainsFold predicate on the "platform" field.
  918. func PlatformContainsFold(v string) predicate.Group {
  919. return predicate.Group(sql.FieldContainsFold(FieldPlatform, v))
  920. }
  921. // SubscriptionTypeEQ applies the EQ predicate on the "subscription_type" field.
  922. func SubscriptionTypeEQ(v string) predicate.Group {
  923. return predicate.Group(sql.FieldEQ(FieldSubscriptionType, v))
  924. }
  925. // SubscriptionTypeNEQ applies the NEQ predicate on the "subscription_type" field.
  926. func SubscriptionTypeNEQ(v string) predicate.Group {
  927. return predicate.Group(sql.FieldNEQ(FieldSubscriptionType, v))
  928. }
  929. // SubscriptionTypeIn applies the In predicate on the "subscription_type" field.
  930. func SubscriptionTypeIn(vs ...string) predicate.Group {
  931. return predicate.Group(sql.FieldIn(FieldSubscriptionType, vs...))
  932. }
  933. // SubscriptionTypeNotIn applies the NotIn predicate on the "subscription_type" field.
  934. func SubscriptionTypeNotIn(vs ...string) predicate.Group {
  935. return predicate.Group(sql.FieldNotIn(FieldSubscriptionType, vs...))
  936. }
  937. // SubscriptionTypeGT applies the GT predicate on the "subscription_type" field.
  938. func SubscriptionTypeGT(v string) predicate.Group {
  939. return predicate.Group(sql.FieldGT(FieldSubscriptionType, v))
  940. }
  941. // SubscriptionTypeGTE applies the GTE predicate on the "subscription_type" field.
  942. func SubscriptionTypeGTE(v string) predicate.Group {
  943. return predicate.Group(sql.FieldGTE(FieldSubscriptionType, v))
  944. }
  945. // SubscriptionTypeLT applies the LT predicate on the "subscription_type" field.
  946. func SubscriptionTypeLT(v string) predicate.Group {
  947. return predicate.Group(sql.FieldLT(FieldSubscriptionType, v))
  948. }
  949. // SubscriptionTypeLTE applies the LTE predicate on the "subscription_type" field.
  950. func SubscriptionTypeLTE(v string) predicate.Group {
  951. return predicate.Group(sql.FieldLTE(FieldSubscriptionType, v))
  952. }
  953. // SubscriptionTypeContains applies the Contains predicate on the "subscription_type" field.
  954. func SubscriptionTypeContains(v string) predicate.Group {
  955. return predicate.Group(sql.FieldContains(FieldSubscriptionType, v))
  956. }
  957. // SubscriptionTypeHasPrefix applies the HasPrefix predicate on the "subscription_type" field.
  958. func SubscriptionTypeHasPrefix(v string) predicate.Group {
  959. return predicate.Group(sql.FieldHasPrefix(FieldSubscriptionType, v))
  960. }
  961. // SubscriptionTypeHasSuffix applies the HasSuffix predicate on the "subscription_type" field.
  962. func SubscriptionTypeHasSuffix(v string) predicate.Group {
  963. return predicate.Group(sql.FieldHasSuffix(FieldSubscriptionType, v))
  964. }
  965. // SubscriptionTypeEqualFold applies the EqualFold predicate on the "subscription_type" field.
  966. func SubscriptionTypeEqualFold(v string) predicate.Group {
  967. return predicate.Group(sql.FieldEqualFold(FieldSubscriptionType, v))
  968. }
  969. // SubscriptionTypeContainsFold applies the ContainsFold predicate on the "subscription_type" field.
  970. func SubscriptionTypeContainsFold(v string) predicate.Group {
  971. return predicate.Group(sql.FieldContainsFold(FieldSubscriptionType, v))
  972. }
  973. // DailyLimitUsdEQ applies the EQ predicate on the "daily_limit_usd" field.
  974. func DailyLimitUsdEQ(v float64) predicate.Group {
  975. return predicate.Group(sql.FieldEQ(FieldDailyLimitUsd, v))
  976. }
  977. // DailyLimitUsdNEQ applies the NEQ predicate on the "daily_limit_usd" field.
  978. func DailyLimitUsdNEQ(v float64) predicate.Group {
  979. return predicate.Group(sql.FieldNEQ(FieldDailyLimitUsd, v))
  980. }
  981. // DailyLimitUsdIn applies the In predicate on the "daily_limit_usd" field.
  982. func DailyLimitUsdIn(vs ...float64) predicate.Group {
  983. return predicate.Group(sql.FieldIn(FieldDailyLimitUsd, vs...))
  984. }
  985. // DailyLimitUsdNotIn applies the NotIn predicate on the "daily_limit_usd" field.
  986. func DailyLimitUsdNotIn(vs ...float64) predicate.Group {
  987. return predicate.Group(sql.FieldNotIn(FieldDailyLimitUsd, vs...))
  988. }
  989. // DailyLimitUsdGT applies the GT predicate on the "daily_limit_usd" field.
  990. func DailyLimitUsdGT(v float64) predicate.Group {
  991. return predicate.Group(sql.FieldGT(FieldDailyLimitUsd, v))
  992. }
  993. // DailyLimitUsdGTE applies the GTE predicate on the "daily_limit_usd" field.
  994. func DailyLimitUsdGTE(v float64) predicate.Group {
  995. return predicate.Group(sql.FieldGTE(FieldDailyLimitUsd, v))
  996. }
  997. // DailyLimitUsdLT applies the LT predicate on the "daily_limit_usd" field.
  998. func DailyLimitUsdLT(v float64) predicate.Group {
  999. return predicate.Group(sql.FieldLT(FieldDailyLimitUsd, v))
  1000. }
  1001. // DailyLimitUsdLTE applies the LTE predicate on the "daily_limit_usd" field.
  1002. func DailyLimitUsdLTE(v float64) predicate.Group {
  1003. return predicate.Group(sql.FieldLTE(FieldDailyLimitUsd, v))
  1004. }
  1005. // DailyLimitUsdIsNil applies the IsNil predicate on the "daily_limit_usd" field.
  1006. func DailyLimitUsdIsNil() predicate.Group {
  1007. return predicate.Group(sql.FieldIsNull(FieldDailyLimitUsd))
  1008. }
  1009. // DailyLimitUsdNotNil applies the NotNil predicate on the "daily_limit_usd" field.
  1010. func DailyLimitUsdNotNil() predicate.Group {
  1011. return predicate.Group(sql.FieldNotNull(FieldDailyLimitUsd))
  1012. }
  1013. // WeeklyLimitUsdEQ applies the EQ predicate on the "weekly_limit_usd" field.
  1014. func WeeklyLimitUsdEQ(v float64) predicate.Group {
  1015. return predicate.Group(sql.FieldEQ(FieldWeeklyLimitUsd, v))
  1016. }
  1017. // WeeklyLimitUsdNEQ applies the NEQ predicate on the "weekly_limit_usd" field.
  1018. func WeeklyLimitUsdNEQ(v float64) predicate.Group {
  1019. return predicate.Group(sql.FieldNEQ(FieldWeeklyLimitUsd, v))
  1020. }
  1021. // WeeklyLimitUsdIn applies the In predicate on the "weekly_limit_usd" field.
  1022. func WeeklyLimitUsdIn(vs ...float64) predicate.Group {
  1023. return predicate.Group(sql.FieldIn(FieldWeeklyLimitUsd, vs...))
  1024. }
  1025. // WeeklyLimitUsdNotIn applies the NotIn predicate on the "weekly_limit_usd" field.
  1026. func WeeklyLimitUsdNotIn(vs ...float64) predicate.Group {
  1027. return predicate.Group(sql.FieldNotIn(FieldWeeklyLimitUsd, vs...))
  1028. }
  1029. // WeeklyLimitUsdGT applies the GT predicate on the "weekly_limit_usd" field.
  1030. func WeeklyLimitUsdGT(v float64) predicate.Group {
  1031. return predicate.Group(sql.FieldGT(FieldWeeklyLimitUsd, v))
  1032. }
  1033. // WeeklyLimitUsdGTE applies the GTE predicate on the "weekly_limit_usd" field.
  1034. func WeeklyLimitUsdGTE(v float64) predicate.Group {
  1035. return predicate.Group(sql.FieldGTE(FieldWeeklyLimitUsd, v))
  1036. }
  1037. // WeeklyLimitUsdLT applies the LT predicate on the "weekly_limit_usd" field.
  1038. func WeeklyLimitUsdLT(v float64) predicate.Group {
  1039. return predicate.Group(sql.FieldLT(FieldWeeklyLimitUsd, v))
  1040. }
  1041. // WeeklyLimitUsdLTE applies the LTE predicate on the "weekly_limit_usd" field.
  1042. func WeeklyLimitUsdLTE(v float64) predicate.Group {
  1043. return predicate.Group(sql.FieldLTE(FieldWeeklyLimitUsd, v))
  1044. }
  1045. // WeeklyLimitUsdIsNil applies the IsNil predicate on the "weekly_limit_usd" field.
  1046. func WeeklyLimitUsdIsNil() predicate.Group {
  1047. return predicate.Group(sql.FieldIsNull(FieldWeeklyLimitUsd))
  1048. }
  1049. // WeeklyLimitUsdNotNil applies the NotNil predicate on the "weekly_limit_usd" field.
  1050. func WeeklyLimitUsdNotNil() predicate.Group {
  1051. return predicate.Group(sql.FieldNotNull(FieldWeeklyLimitUsd))
  1052. }
  1053. // MonthlyLimitUsdEQ applies the EQ predicate on the "monthly_limit_usd" field.
  1054. func MonthlyLimitUsdEQ(v float64) predicate.Group {
  1055. return predicate.Group(sql.FieldEQ(FieldMonthlyLimitUsd, v))
  1056. }
  1057. // MonthlyLimitUsdNEQ applies the NEQ predicate on the "monthly_limit_usd" field.
  1058. func MonthlyLimitUsdNEQ(v float64) predicate.Group {
  1059. return predicate.Group(sql.FieldNEQ(FieldMonthlyLimitUsd, v))
  1060. }
  1061. // MonthlyLimitUsdIn applies the In predicate on the "monthly_limit_usd" field.
  1062. func MonthlyLimitUsdIn(vs ...float64) predicate.Group {
  1063. return predicate.Group(sql.FieldIn(FieldMonthlyLimitUsd, vs...))
  1064. }
  1065. // MonthlyLimitUsdNotIn applies the NotIn predicate on the "monthly_limit_usd" field.
  1066. func MonthlyLimitUsdNotIn(vs ...float64) predicate.Group {
  1067. return predicate.Group(sql.FieldNotIn(FieldMonthlyLimitUsd, vs...))
  1068. }
  1069. // MonthlyLimitUsdGT applies the GT predicate on the "monthly_limit_usd" field.
  1070. func MonthlyLimitUsdGT(v float64) predicate.Group {
  1071. return predicate.Group(sql.FieldGT(FieldMonthlyLimitUsd, v))
  1072. }
  1073. // MonthlyLimitUsdGTE applies the GTE predicate on the "monthly_limit_usd" field.
  1074. func MonthlyLimitUsdGTE(v float64) predicate.Group {
  1075. return predicate.Group(sql.FieldGTE(FieldMonthlyLimitUsd, v))
  1076. }
  1077. // MonthlyLimitUsdLT applies the LT predicate on the "monthly_limit_usd" field.
  1078. func MonthlyLimitUsdLT(v float64) predicate.Group {
  1079. return predicate.Group(sql.FieldLT(FieldMonthlyLimitUsd, v))
  1080. }
  1081. // MonthlyLimitUsdLTE applies the LTE predicate on the "monthly_limit_usd" field.
  1082. func MonthlyLimitUsdLTE(v float64) predicate.Group {
  1083. return predicate.Group(sql.FieldLTE(FieldMonthlyLimitUsd, v))
  1084. }
  1085. // MonthlyLimitUsdIsNil applies the IsNil predicate on the "monthly_limit_usd" field.
  1086. func MonthlyLimitUsdIsNil() predicate.Group {
  1087. return predicate.Group(sql.FieldIsNull(FieldMonthlyLimitUsd))
  1088. }
  1089. // MonthlyLimitUsdNotNil applies the NotNil predicate on the "monthly_limit_usd" field.
  1090. func MonthlyLimitUsdNotNil() predicate.Group {
  1091. return predicate.Group(sql.FieldNotNull(FieldMonthlyLimitUsd))
  1092. }
  1093. // DefaultValidityDaysEQ applies the EQ predicate on the "default_validity_days" field.
  1094. func DefaultValidityDaysEQ(v int) predicate.Group {
  1095. return predicate.Group(sql.FieldEQ(FieldDefaultValidityDays, v))
  1096. }
  1097. // DefaultValidityDaysNEQ applies the NEQ predicate on the "default_validity_days" field.
  1098. func DefaultValidityDaysNEQ(v int) predicate.Group {
  1099. return predicate.Group(sql.FieldNEQ(FieldDefaultValidityDays, v))
  1100. }
  1101. // DefaultValidityDaysIn applies the In predicate on the "default_validity_days" field.
  1102. func DefaultValidityDaysIn(vs ...int) predicate.Group {
  1103. return predicate.Group(sql.FieldIn(FieldDefaultValidityDays, vs...))
  1104. }
  1105. // DefaultValidityDaysNotIn applies the NotIn predicate on the "default_validity_days" field.
  1106. func DefaultValidityDaysNotIn(vs ...int) predicate.Group {
  1107. return predicate.Group(sql.FieldNotIn(FieldDefaultValidityDays, vs...))
  1108. }
  1109. // DefaultValidityDaysGT applies the GT predicate on the "default_validity_days" field.
  1110. func DefaultValidityDaysGT(v int) predicate.Group {
  1111. return predicate.Group(sql.FieldGT(FieldDefaultValidityDays, v))
  1112. }
  1113. // DefaultValidityDaysGTE applies the GTE predicate on the "default_validity_days" field.
  1114. func DefaultValidityDaysGTE(v int) predicate.Group {
  1115. return predicate.Group(sql.FieldGTE(FieldDefaultValidityDays, v))
  1116. }
  1117. // DefaultValidityDaysLT applies the LT predicate on the "default_validity_days" field.
  1118. func DefaultValidityDaysLT(v int) predicate.Group {
  1119. return predicate.Group(sql.FieldLT(FieldDefaultValidityDays, v))
  1120. }
  1121. // DefaultValidityDaysLTE applies the LTE predicate on the "default_validity_days" field.
  1122. func DefaultValidityDaysLTE(v int) predicate.Group {
  1123. return predicate.Group(sql.FieldLTE(FieldDefaultValidityDays, v))
  1124. }
  1125. // AllowImageGenerationEQ applies the EQ predicate on the "allow_image_generation" field.
  1126. func AllowImageGenerationEQ(v bool) predicate.Group {
  1127. return predicate.Group(sql.FieldEQ(FieldAllowImageGeneration, v))
  1128. }
  1129. // AllowImageGenerationNEQ applies the NEQ predicate on the "allow_image_generation" field.
  1130. func AllowImageGenerationNEQ(v bool) predicate.Group {
  1131. return predicate.Group(sql.FieldNEQ(FieldAllowImageGeneration, v))
  1132. }
  1133. // AllowBatchImageGenerationEQ applies the EQ predicate on the "allow_batch_image_generation" field.
  1134. func AllowBatchImageGenerationEQ(v bool) predicate.Group {
  1135. return predicate.Group(sql.FieldEQ(FieldAllowBatchImageGeneration, v))
  1136. }
  1137. // AllowBatchImageGenerationNEQ applies the NEQ predicate on the "allow_batch_image_generation" field.
  1138. func AllowBatchImageGenerationNEQ(v bool) predicate.Group {
  1139. return predicate.Group(sql.FieldNEQ(FieldAllowBatchImageGeneration, v))
  1140. }
  1141. // ImageRateIndependentEQ applies the EQ predicate on the "image_rate_independent" field.
  1142. func ImageRateIndependentEQ(v bool) predicate.Group {
  1143. return predicate.Group(sql.FieldEQ(FieldImageRateIndependent, v))
  1144. }
  1145. // ImageRateIndependentNEQ applies the NEQ predicate on the "image_rate_independent" field.
  1146. func ImageRateIndependentNEQ(v bool) predicate.Group {
  1147. return predicate.Group(sql.FieldNEQ(FieldImageRateIndependent, v))
  1148. }
  1149. // ImageRateMultiplierEQ applies the EQ predicate on the "image_rate_multiplier" field.
  1150. func ImageRateMultiplierEQ(v float64) predicate.Group {
  1151. return predicate.Group(sql.FieldEQ(FieldImageRateMultiplier, v))
  1152. }
  1153. // ImageRateMultiplierNEQ applies the NEQ predicate on the "image_rate_multiplier" field.
  1154. func ImageRateMultiplierNEQ(v float64) predicate.Group {
  1155. return predicate.Group(sql.FieldNEQ(FieldImageRateMultiplier, v))
  1156. }
  1157. // ImageRateMultiplierIn applies the In predicate on the "image_rate_multiplier" field.
  1158. func ImageRateMultiplierIn(vs ...float64) predicate.Group {
  1159. return predicate.Group(sql.FieldIn(FieldImageRateMultiplier, vs...))
  1160. }
  1161. // ImageRateMultiplierNotIn applies the NotIn predicate on the "image_rate_multiplier" field.
  1162. func ImageRateMultiplierNotIn(vs ...float64) predicate.Group {
  1163. return predicate.Group(sql.FieldNotIn(FieldImageRateMultiplier, vs...))
  1164. }
  1165. // ImageRateMultiplierGT applies the GT predicate on the "image_rate_multiplier" field.
  1166. func ImageRateMultiplierGT(v float64) predicate.Group {
  1167. return predicate.Group(sql.FieldGT(FieldImageRateMultiplier, v))
  1168. }
  1169. // ImageRateMultiplierGTE applies the GTE predicate on the "image_rate_multiplier" field.
  1170. func ImageRateMultiplierGTE(v float64) predicate.Group {
  1171. return predicate.Group(sql.FieldGTE(FieldImageRateMultiplier, v))
  1172. }
  1173. // ImageRateMultiplierLT applies the LT predicate on the "image_rate_multiplier" field.
  1174. func ImageRateMultiplierLT(v float64) predicate.Group {
  1175. return predicate.Group(sql.FieldLT(FieldImageRateMultiplier, v))
  1176. }
  1177. // ImageRateMultiplierLTE applies the LTE predicate on the "image_rate_multiplier" field.
  1178. func ImageRateMultiplierLTE(v float64) predicate.Group {
  1179. return predicate.Group(sql.FieldLTE(FieldImageRateMultiplier, v))
  1180. }
  1181. // ImagePrice1kEQ applies the EQ predicate on the "image_price_1k" field.
  1182. func ImagePrice1kEQ(v float64) predicate.Group {
  1183. return predicate.Group(sql.FieldEQ(FieldImagePrice1k, v))
  1184. }
  1185. // ImagePrice1kNEQ applies the NEQ predicate on the "image_price_1k" field.
  1186. func ImagePrice1kNEQ(v float64) predicate.Group {
  1187. return predicate.Group(sql.FieldNEQ(FieldImagePrice1k, v))
  1188. }
  1189. // ImagePrice1kIn applies the In predicate on the "image_price_1k" field.
  1190. func ImagePrice1kIn(vs ...float64) predicate.Group {
  1191. return predicate.Group(sql.FieldIn(FieldImagePrice1k, vs...))
  1192. }
  1193. // ImagePrice1kNotIn applies the NotIn predicate on the "image_price_1k" field.
  1194. func ImagePrice1kNotIn(vs ...float64) predicate.Group {
  1195. return predicate.Group(sql.FieldNotIn(FieldImagePrice1k, vs...))
  1196. }
  1197. // ImagePrice1kGT applies the GT predicate on the "image_price_1k" field.
  1198. func ImagePrice1kGT(v float64) predicate.Group {
  1199. return predicate.Group(sql.FieldGT(FieldImagePrice1k, v))
  1200. }
  1201. // ImagePrice1kGTE applies the GTE predicate on the "image_price_1k" field.
  1202. func ImagePrice1kGTE(v float64) predicate.Group {
  1203. return predicate.Group(sql.FieldGTE(FieldImagePrice1k, v))
  1204. }
  1205. // ImagePrice1kLT applies the LT predicate on the "image_price_1k" field.
  1206. func ImagePrice1kLT(v float64) predicate.Group {
  1207. return predicate.Group(sql.FieldLT(FieldImagePrice1k, v))
  1208. }
  1209. // ImagePrice1kLTE applies the LTE predicate on the "image_price_1k" field.
  1210. func ImagePrice1kLTE(v float64) predicate.Group {
  1211. return predicate.Group(sql.FieldLTE(FieldImagePrice1k, v))
  1212. }
  1213. // ImagePrice1kIsNil applies the IsNil predicate on the "image_price_1k" field.
  1214. func ImagePrice1kIsNil() predicate.Group {
  1215. return predicate.Group(sql.FieldIsNull(FieldImagePrice1k))
  1216. }
  1217. // ImagePrice1kNotNil applies the NotNil predicate on the "image_price_1k" field.
  1218. func ImagePrice1kNotNil() predicate.Group {
  1219. return predicate.Group(sql.FieldNotNull(FieldImagePrice1k))
  1220. }
  1221. // ImagePrice2kEQ applies the EQ predicate on the "image_price_2k" field.
  1222. func ImagePrice2kEQ(v float64) predicate.Group {
  1223. return predicate.Group(sql.FieldEQ(FieldImagePrice2k, v))
  1224. }
  1225. // ImagePrice2kNEQ applies the NEQ predicate on the "image_price_2k" field.
  1226. func ImagePrice2kNEQ(v float64) predicate.Group {
  1227. return predicate.Group(sql.FieldNEQ(FieldImagePrice2k, v))
  1228. }
  1229. // ImagePrice2kIn applies the In predicate on the "image_price_2k" field.
  1230. func ImagePrice2kIn(vs ...float64) predicate.Group {
  1231. return predicate.Group(sql.FieldIn(FieldImagePrice2k, vs...))
  1232. }
  1233. // ImagePrice2kNotIn applies the NotIn predicate on the "image_price_2k" field.
  1234. func ImagePrice2kNotIn(vs ...float64) predicate.Group {
  1235. return predicate.Group(sql.FieldNotIn(FieldImagePrice2k, vs...))
  1236. }
  1237. // ImagePrice2kGT applies the GT predicate on the "image_price_2k" field.
  1238. func ImagePrice2kGT(v float64) predicate.Group {
  1239. return predicate.Group(sql.FieldGT(FieldImagePrice2k, v))
  1240. }
  1241. // ImagePrice2kGTE applies the GTE predicate on the "image_price_2k" field.
  1242. func ImagePrice2kGTE(v float64) predicate.Group {
  1243. return predicate.Group(sql.FieldGTE(FieldImagePrice2k, v))
  1244. }
  1245. // ImagePrice2kLT applies the LT predicate on the "image_price_2k" field.
  1246. func ImagePrice2kLT(v float64) predicate.Group {
  1247. return predicate.Group(sql.FieldLT(FieldImagePrice2k, v))
  1248. }
  1249. // ImagePrice2kLTE applies the LTE predicate on the "image_price_2k" field.
  1250. func ImagePrice2kLTE(v float64) predicate.Group {
  1251. return predicate.Group(sql.FieldLTE(FieldImagePrice2k, v))
  1252. }
  1253. // ImagePrice2kIsNil applies the IsNil predicate on the "image_price_2k" field.
  1254. func ImagePrice2kIsNil() predicate.Group {
  1255. return predicate.Group(sql.FieldIsNull(FieldImagePrice2k))
  1256. }
  1257. // ImagePrice2kNotNil applies the NotNil predicate on the "image_price_2k" field.
  1258. func ImagePrice2kNotNil() predicate.Group {
  1259. return predicate.Group(sql.FieldNotNull(FieldImagePrice2k))
  1260. }
  1261. // ImagePrice4kEQ applies the EQ predicate on the "image_price_4k" field.
  1262. func ImagePrice4kEQ(v float64) predicate.Group {
  1263. return predicate.Group(sql.FieldEQ(FieldImagePrice4k, v))
  1264. }
  1265. // ImagePrice4kNEQ applies the NEQ predicate on the "image_price_4k" field.
  1266. func ImagePrice4kNEQ(v float64) predicate.Group {
  1267. return predicate.Group(sql.FieldNEQ(FieldImagePrice4k, v))
  1268. }
  1269. // ImagePrice4kIn applies the In predicate on the "image_price_4k" field.
  1270. func ImagePrice4kIn(vs ...float64) predicate.Group {
  1271. return predicate.Group(sql.FieldIn(FieldImagePrice4k, vs...))
  1272. }
  1273. // ImagePrice4kNotIn applies the NotIn predicate on the "image_price_4k" field.
  1274. func ImagePrice4kNotIn(vs ...float64) predicate.Group {
  1275. return predicate.Group(sql.FieldNotIn(FieldImagePrice4k, vs...))
  1276. }
  1277. // ImagePrice4kGT applies the GT predicate on the "image_price_4k" field.
  1278. func ImagePrice4kGT(v float64) predicate.Group {
  1279. return predicate.Group(sql.FieldGT(FieldImagePrice4k, v))
  1280. }
  1281. // ImagePrice4kGTE applies the GTE predicate on the "image_price_4k" field.
  1282. func ImagePrice4kGTE(v float64) predicate.Group {
  1283. return predicate.Group(sql.FieldGTE(FieldImagePrice4k, v))
  1284. }
  1285. // ImagePrice4kLT applies the LT predicate on the "image_price_4k" field.
  1286. func ImagePrice4kLT(v float64) predicate.Group {
  1287. return predicate.Group(sql.FieldLT(FieldImagePrice4k, v))
  1288. }
  1289. // ImagePrice4kLTE applies the LTE predicate on the "image_price_4k" field.
  1290. func ImagePrice4kLTE(v float64) predicate.Group {
  1291. return predicate.Group(sql.FieldLTE(FieldImagePrice4k, v))
  1292. }
  1293. // ImagePrice4kIsNil applies the IsNil predicate on the "image_price_4k" field.
  1294. func ImagePrice4kIsNil() predicate.Group {
  1295. return predicate.Group(sql.FieldIsNull(FieldImagePrice4k))
  1296. }
  1297. // ImagePrice4kNotNil applies the NotNil predicate on the "image_price_4k" field.
  1298. func ImagePrice4kNotNil() predicate.Group {
  1299. return predicate.Group(sql.FieldNotNull(FieldImagePrice4k))
  1300. }
  1301. // BatchImageDiscountMultiplierEQ applies the EQ predicate on the "batch_image_discount_multiplier" field.
  1302. func BatchImageDiscountMultiplierEQ(v float64) predicate.Group {
  1303. return predicate.Group(sql.FieldEQ(FieldBatchImageDiscountMultiplier, v))
  1304. }
  1305. // BatchImageDiscountMultiplierNEQ applies the NEQ predicate on the "batch_image_discount_multiplier" field.
  1306. func BatchImageDiscountMultiplierNEQ(v float64) predicate.Group {
  1307. return predicate.Group(sql.FieldNEQ(FieldBatchImageDiscountMultiplier, v))
  1308. }
  1309. // BatchImageDiscountMultiplierIn applies the In predicate on the "batch_image_discount_multiplier" field.
  1310. func BatchImageDiscountMultiplierIn(vs ...float64) predicate.Group {
  1311. return predicate.Group(sql.FieldIn(FieldBatchImageDiscountMultiplier, vs...))
  1312. }
  1313. // BatchImageDiscountMultiplierNotIn applies the NotIn predicate on the "batch_image_discount_multiplier" field.
  1314. func BatchImageDiscountMultiplierNotIn(vs ...float64) predicate.Group {
  1315. return predicate.Group(sql.FieldNotIn(FieldBatchImageDiscountMultiplier, vs...))
  1316. }
  1317. // BatchImageDiscountMultiplierGT applies the GT predicate on the "batch_image_discount_multiplier" field.
  1318. func BatchImageDiscountMultiplierGT(v float64) predicate.Group {
  1319. return predicate.Group(sql.FieldGT(FieldBatchImageDiscountMultiplier, v))
  1320. }
  1321. // BatchImageDiscountMultiplierGTE applies the GTE predicate on the "batch_image_discount_multiplier" field.
  1322. func BatchImageDiscountMultiplierGTE(v float64) predicate.Group {
  1323. return predicate.Group(sql.FieldGTE(FieldBatchImageDiscountMultiplier, v))
  1324. }
  1325. // BatchImageDiscountMultiplierLT applies the LT predicate on the "batch_image_discount_multiplier" field.
  1326. func BatchImageDiscountMultiplierLT(v float64) predicate.Group {
  1327. return predicate.Group(sql.FieldLT(FieldBatchImageDiscountMultiplier, v))
  1328. }
  1329. // BatchImageDiscountMultiplierLTE applies the LTE predicate on the "batch_image_discount_multiplier" field.
  1330. func BatchImageDiscountMultiplierLTE(v float64) predicate.Group {
  1331. return predicate.Group(sql.FieldLTE(FieldBatchImageDiscountMultiplier, v))
  1332. }
  1333. // BatchImageHoldMultiplierEQ applies the EQ predicate on the "batch_image_hold_multiplier" field.
  1334. func BatchImageHoldMultiplierEQ(v float64) predicate.Group {
  1335. return predicate.Group(sql.FieldEQ(FieldBatchImageHoldMultiplier, v))
  1336. }
  1337. // BatchImageHoldMultiplierNEQ applies the NEQ predicate on the "batch_image_hold_multiplier" field.
  1338. func BatchImageHoldMultiplierNEQ(v float64) predicate.Group {
  1339. return predicate.Group(sql.FieldNEQ(FieldBatchImageHoldMultiplier, v))
  1340. }
  1341. // BatchImageHoldMultiplierIn applies the In predicate on the "batch_image_hold_multiplier" field.
  1342. func BatchImageHoldMultiplierIn(vs ...float64) predicate.Group {
  1343. return predicate.Group(sql.FieldIn(FieldBatchImageHoldMultiplier, vs...))
  1344. }
  1345. // BatchImageHoldMultiplierNotIn applies the NotIn predicate on the "batch_image_hold_multiplier" field.
  1346. func BatchImageHoldMultiplierNotIn(vs ...float64) predicate.Group {
  1347. return predicate.Group(sql.FieldNotIn(FieldBatchImageHoldMultiplier, vs...))
  1348. }
  1349. // BatchImageHoldMultiplierGT applies the GT predicate on the "batch_image_hold_multiplier" field.
  1350. func BatchImageHoldMultiplierGT(v float64) predicate.Group {
  1351. return predicate.Group(sql.FieldGT(FieldBatchImageHoldMultiplier, v))
  1352. }
  1353. // BatchImageHoldMultiplierGTE applies the GTE predicate on the "batch_image_hold_multiplier" field.
  1354. func BatchImageHoldMultiplierGTE(v float64) predicate.Group {
  1355. return predicate.Group(sql.FieldGTE(FieldBatchImageHoldMultiplier, v))
  1356. }
  1357. // BatchImageHoldMultiplierLT applies the LT predicate on the "batch_image_hold_multiplier" field.
  1358. func BatchImageHoldMultiplierLT(v float64) predicate.Group {
  1359. return predicate.Group(sql.FieldLT(FieldBatchImageHoldMultiplier, v))
  1360. }
  1361. // BatchImageHoldMultiplierLTE applies the LTE predicate on the "batch_image_hold_multiplier" field.
  1362. func BatchImageHoldMultiplierLTE(v float64) predicate.Group {
  1363. return predicate.Group(sql.FieldLTE(FieldBatchImageHoldMultiplier, v))
  1364. }
  1365. // VideoRateIndependentEQ applies the EQ predicate on the "video_rate_independent" field.
  1366. func VideoRateIndependentEQ(v bool) predicate.Group {
  1367. return predicate.Group(sql.FieldEQ(FieldVideoRateIndependent, v))
  1368. }
  1369. // VideoRateIndependentNEQ applies the NEQ predicate on the "video_rate_independent" field.
  1370. func VideoRateIndependentNEQ(v bool) predicate.Group {
  1371. return predicate.Group(sql.FieldNEQ(FieldVideoRateIndependent, v))
  1372. }
  1373. // VideoRateMultiplierEQ applies the EQ predicate on the "video_rate_multiplier" field.
  1374. func VideoRateMultiplierEQ(v float64) predicate.Group {
  1375. return predicate.Group(sql.FieldEQ(FieldVideoRateMultiplier, v))
  1376. }
  1377. // VideoRateMultiplierNEQ applies the NEQ predicate on the "video_rate_multiplier" field.
  1378. func VideoRateMultiplierNEQ(v float64) predicate.Group {
  1379. return predicate.Group(sql.FieldNEQ(FieldVideoRateMultiplier, v))
  1380. }
  1381. // VideoRateMultiplierIn applies the In predicate on the "video_rate_multiplier" field.
  1382. func VideoRateMultiplierIn(vs ...float64) predicate.Group {
  1383. return predicate.Group(sql.FieldIn(FieldVideoRateMultiplier, vs...))
  1384. }
  1385. // VideoRateMultiplierNotIn applies the NotIn predicate on the "video_rate_multiplier" field.
  1386. func VideoRateMultiplierNotIn(vs ...float64) predicate.Group {
  1387. return predicate.Group(sql.FieldNotIn(FieldVideoRateMultiplier, vs...))
  1388. }
  1389. // VideoRateMultiplierGT applies the GT predicate on the "video_rate_multiplier" field.
  1390. func VideoRateMultiplierGT(v float64) predicate.Group {
  1391. return predicate.Group(sql.FieldGT(FieldVideoRateMultiplier, v))
  1392. }
  1393. // VideoRateMultiplierGTE applies the GTE predicate on the "video_rate_multiplier" field.
  1394. func VideoRateMultiplierGTE(v float64) predicate.Group {
  1395. return predicate.Group(sql.FieldGTE(FieldVideoRateMultiplier, v))
  1396. }
  1397. // VideoRateMultiplierLT applies the LT predicate on the "video_rate_multiplier" field.
  1398. func VideoRateMultiplierLT(v float64) predicate.Group {
  1399. return predicate.Group(sql.FieldLT(FieldVideoRateMultiplier, v))
  1400. }
  1401. // VideoRateMultiplierLTE applies the LTE predicate on the "video_rate_multiplier" field.
  1402. func VideoRateMultiplierLTE(v float64) predicate.Group {
  1403. return predicate.Group(sql.FieldLTE(FieldVideoRateMultiplier, v))
  1404. }
  1405. // VideoPrice480pEQ applies the EQ predicate on the "video_price_480p" field.
  1406. func VideoPrice480pEQ(v float64) predicate.Group {
  1407. return predicate.Group(sql.FieldEQ(FieldVideoPrice480p, v))
  1408. }
  1409. // VideoPrice480pNEQ applies the NEQ predicate on the "video_price_480p" field.
  1410. func VideoPrice480pNEQ(v float64) predicate.Group {
  1411. return predicate.Group(sql.FieldNEQ(FieldVideoPrice480p, v))
  1412. }
  1413. // VideoPrice480pIn applies the In predicate on the "video_price_480p" field.
  1414. func VideoPrice480pIn(vs ...float64) predicate.Group {
  1415. return predicate.Group(sql.FieldIn(FieldVideoPrice480p, vs...))
  1416. }
  1417. // VideoPrice480pNotIn applies the NotIn predicate on the "video_price_480p" field.
  1418. func VideoPrice480pNotIn(vs ...float64) predicate.Group {
  1419. return predicate.Group(sql.FieldNotIn(FieldVideoPrice480p, vs...))
  1420. }
  1421. // VideoPrice480pGT applies the GT predicate on the "video_price_480p" field.
  1422. func VideoPrice480pGT(v float64) predicate.Group {
  1423. return predicate.Group(sql.FieldGT(FieldVideoPrice480p, v))
  1424. }
  1425. // VideoPrice480pGTE applies the GTE predicate on the "video_price_480p" field.
  1426. func VideoPrice480pGTE(v float64) predicate.Group {
  1427. return predicate.Group(sql.FieldGTE(FieldVideoPrice480p, v))
  1428. }
  1429. // VideoPrice480pLT applies the LT predicate on the "video_price_480p" field.
  1430. func VideoPrice480pLT(v float64) predicate.Group {
  1431. return predicate.Group(sql.FieldLT(FieldVideoPrice480p, v))
  1432. }
  1433. // VideoPrice480pLTE applies the LTE predicate on the "video_price_480p" field.
  1434. func VideoPrice480pLTE(v float64) predicate.Group {
  1435. return predicate.Group(sql.FieldLTE(FieldVideoPrice480p, v))
  1436. }
  1437. // VideoPrice480pIsNil applies the IsNil predicate on the "video_price_480p" field.
  1438. func VideoPrice480pIsNil() predicate.Group {
  1439. return predicate.Group(sql.FieldIsNull(FieldVideoPrice480p))
  1440. }
  1441. // VideoPrice480pNotNil applies the NotNil predicate on the "video_price_480p" field.
  1442. func VideoPrice480pNotNil() predicate.Group {
  1443. return predicate.Group(sql.FieldNotNull(FieldVideoPrice480p))
  1444. }
  1445. // VideoPrice720pEQ applies the EQ predicate on the "video_price_720p" field.
  1446. func VideoPrice720pEQ(v float64) predicate.Group {
  1447. return predicate.Group(sql.FieldEQ(FieldVideoPrice720p, v))
  1448. }
  1449. // VideoPrice720pNEQ applies the NEQ predicate on the "video_price_720p" field.
  1450. func VideoPrice720pNEQ(v float64) predicate.Group {
  1451. return predicate.Group(sql.FieldNEQ(FieldVideoPrice720p, v))
  1452. }
  1453. // VideoPrice720pIn applies the In predicate on the "video_price_720p" field.
  1454. func VideoPrice720pIn(vs ...float64) predicate.Group {
  1455. return predicate.Group(sql.FieldIn(FieldVideoPrice720p, vs...))
  1456. }
  1457. // VideoPrice720pNotIn applies the NotIn predicate on the "video_price_720p" field.
  1458. func VideoPrice720pNotIn(vs ...float64) predicate.Group {
  1459. return predicate.Group(sql.FieldNotIn(FieldVideoPrice720p, vs...))
  1460. }
  1461. // VideoPrice720pGT applies the GT predicate on the "video_price_720p" field.
  1462. func VideoPrice720pGT(v float64) predicate.Group {
  1463. return predicate.Group(sql.FieldGT(FieldVideoPrice720p, v))
  1464. }
  1465. // VideoPrice720pGTE applies the GTE predicate on the "video_price_720p" field.
  1466. func VideoPrice720pGTE(v float64) predicate.Group {
  1467. return predicate.Group(sql.FieldGTE(FieldVideoPrice720p, v))
  1468. }
  1469. // VideoPrice720pLT applies the LT predicate on the "video_price_720p" field.
  1470. func VideoPrice720pLT(v float64) predicate.Group {
  1471. return predicate.Group(sql.FieldLT(FieldVideoPrice720p, v))
  1472. }
  1473. // VideoPrice720pLTE applies the LTE predicate on the "video_price_720p" field.
  1474. func VideoPrice720pLTE(v float64) predicate.Group {
  1475. return predicate.Group(sql.FieldLTE(FieldVideoPrice720p, v))
  1476. }
  1477. // VideoPrice720pIsNil applies the IsNil predicate on the "video_price_720p" field.
  1478. func VideoPrice720pIsNil() predicate.Group {
  1479. return predicate.Group(sql.FieldIsNull(FieldVideoPrice720p))
  1480. }
  1481. // VideoPrice720pNotNil applies the NotNil predicate on the "video_price_720p" field.
  1482. func VideoPrice720pNotNil() predicate.Group {
  1483. return predicate.Group(sql.FieldNotNull(FieldVideoPrice720p))
  1484. }
  1485. // VideoPrice1080pEQ applies the EQ predicate on the "video_price_1080p" field.
  1486. func VideoPrice1080pEQ(v float64) predicate.Group {
  1487. return predicate.Group(sql.FieldEQ(FieldVideoPrice1080p, v))
  1488. }
  1489. // VideoPrice1080pNEQ applies the NEQ predicate on the "video_price_1080p" field.
  1490. func VideoPrice1080pNEQ(v float64) predicate.Group {
  1491. return predicate.Group(sql.FieldNEQ(FieldVideoPrice1080p, v))
  1492. }
  1493. // VideoPrice1080pIn applies the In predicate on the "video_price_1080p" field.
  1494. func VideoPrice1080pIn(vs ...float64) predicate.Group {
  1495. return predicate.Group(sql.FieldIn(FieldVideoPrice1080p, vs...))
  1496. }
  1497. // VideoPrice1080pNotIn applies the NotIn predicate on the "video_price_1080p" field.
  1498. func VideoPrice1080pNotIn(vs ...float64) predicate.Group {
  1499. return predicate.Group(sql.FieldNotIn(FieldVideoPrice1080p, vs...))
  1500. }
  1501. // VideoPrice1080pGT applies the GT predicate on the "video_price_1080p" field.
  1502. func VideoPrice1080pGT(v float64) predicate.Group {
  1503. return predicate.Group(sql.FieldGT(FieldVideoPrice1080p, v))
  1504. }
  1505. // VideoPrice1080pGTE applies the GTE predicate on the "video_price_1080p" field.
  1506. func VideoPrice1080pGTE(v float64) predicate.Group {
  1507. return predicate.Group(sql.FieldGTE(FieldVideoPrice1080p, v))
  1508. }
  1509. // VideoPrice1080pLT applies the LT predicate on the "video_price_1080p" field.
  1510. func VideoPrice1080pLT(v float64) predicate.Group {
  1511. return predicate.Group(sql.FieldLT(FieldVideoPrice1080p, v))
  1512. }
  1513. // VideoPrice1080pLTE applies the LTE predicate on the "video_price_1080p" field.
  1514. func VideoPrice1080pLTE(v float64) predicate.Group {
  1515. return predicate.Group(sql.FieldLTE(FieldVideoPrice1080p, v))
  1516. }
  1517. // VideoPrice1080pIsNil applies the IsNil predicate on the "video_price_1080p" field.
  1518. func VideoPrice1080pIsNil() predicate.Group {
  1519. return predicate.Group(sql.FieldIsNull(FieldVideoPrice1080p))
  1520. }
  1521. // VideoPrice1080pNotNil applies the NotNil predicate on the "video_price_1080p" field.
  1522. func VideoPrice1080pNotNil() predicate.Group {
  1523. return predicate.Group(sql.FieldNotNull(FieldVideoPrice1080p))
  1524. }
  1525. // VideoModelPricesIsNil applies the IsNil predicate on the "video_model_prices" field.
  1526. func VideoModelPricesIsNil() predicate.Group {
  1527. return predicate.Group(sql.FieldIsNull(FieldVideoModelPrices))
  1528. }
  1529. // VideoModelPricesNotNil applies the NotNil predicate on the "video_model_prices" field.
  1530. func VideoModelPricesNotNil() predicate.Group {
  1531. return predicate.Group(sql.FieldNotNull(FieldVideoModelPrices))
  1532. }
  1533. // WebSearchPricePerCallEQ applies the EQ predicate on the "web_search_price_per_call" field.
  1534. func WebSearchPricePerCallEQ(v float64) predicate.Group {
  1535. return predicate.Group(sql.FieldEQ(FieldWebSearchPricePerCall, v))
  1536. }
  1537. // WebSearchPricePerCallNEQ applies the NEQ predicate on the "web_search_price_per_call" field.
  1538. func WebSearchPricePerCallNEQ(v float64) predicate.Group {
  1539. return predicate.Group(sql.FieldNEQ(FieldWebSearchPricePerCall, v))
  1540. }
  1541. // WebSearchPricePerCallIn applies the In predicate on the "web_search_price_per_call" field.
  1542. func WebSearchPricePerCallIn(vs ...float64) predicate.Group {
  1543. return predicate.Group(sql.FieldIn(FieldWebSearchPricePerCall, vs...))
  1544. }
  1545. // WebSearchPricePerCallNotIn applies the NotIn predicate on the "web_search_price_per_call" field.
  1546. func WebSearchPricePerCallNotIn(vs ...float64) predicate.Group {
  1547. return predicate.Group(sql.FieldNotIn(FieldWebSearchPricePerCall, vs...))
  1548. }
  1549. // WebSearchPricePerCallGT applies the GT predicate on the "web_search_price_per_call" field.
  1550. func WebSearchPricePerCallGT(v float64) predicate.Group {
  1551. return predicate.Group(sql.FieldGT(FieldWebSearchPricePerCall, v))
  1552. }
  1553. // WebSearchPricePerCallGTE applies the GTE predicate on the "web_search_price_per_call" field.
  1554. func WebSearchPricePerCallGTE(v float64) predicate.Group {
  1555. return predicate.Group(sql.FieldGTE(FieldWebSearchPricePerCall, v))
  1556. }
  1557. // WebSearchPricePerCallLT applies the LT predicate on the "web_search_price_per_call" field.
  1558. func WebSearchPricePerCallLT(v float64) predicate.Group {
  1559. return predicate.Group(sql.FieldLT(FieldWebSearchPricePerCall, v))
  1560. }
  1561. // WebSearchPricePerCallLTE applies the LTE predicate on the "web_search_price_per_call" field.
  1562. func WebSearchPricePerCallLTE(v float64) predicate.Group {
  1563. return predicate.Group(sql.FieldLTE(FieldWebSearchPricePerCall, v))
  1564. }
  1565. // WebSearchPricePerCallIsNil applies the IsNil predicate on the "web_search_price_per_call" field.
  1566. func WebSearchPricePerCallIsNil() predicate.Group {
  1567. return predicate.Group(sql.FieldIsNull(FieldWebSearchPricePerCall))
  1568. }
  1569. // WebSearchPricePerCallNotNil applies the NotNil predicate on the "web_search_price_per_call" field.
  1570. func WebSearchPricePerCallNotNil() predicate.Group {
  1571. return predicate.Group(sql.FieldNotNull(FieldWebSearchPricePerCall))
  1572. }
  1573. // SearchPricePer1kEQ applies the EQ predicate on the "search_price_per_1k" field.
  1574. func SearchPricePer1kEQ(v float64) predicate.Group {
  1575. return predicate.Group(sql.FieldEQ(FieldSearchPricePer1k, v))
  1576. }
  1577. // SearchPricePer1kNEQ applies the NEQ predicate on the "search_price_per_1k" field.
  1578. func SearchPricePer1kNEQ(v float64) predicate.Group {
  1579. return predicate.Group(sql.FieldNEQ(FieldSearchPricePer1k, v))
  1580. }
  1581. // SearchPricePer1kIn applies the In predicate on the "search_price_per_1k" field.
  1582. func SearchPricePer1kIn(vs ...float64) predicate.Group {
  1583. return predicate.Group(sql.FieldIn(FieldSearchPricePer1k, vs...))
  1584. }
  1585. // SearchPricePer1kNotIn applies the NotIn predicate on the "search_price_per_1k" field.
  1586. func SearchPricePer1kNotIn(vs ...float64) predicate.Group {
  1587. return predicate.Group(sql.FieldNotIn(FieldSearchPricePer1k, vs...))
  1588. }
  1589. // SearchPricePer1kGT applies the GT predicate on the "search_price_per_1k" field.
  1590. func SearchPricePer1kGT(v float64) predicate.Group {
  1591. return predicate.Group(sql.FieldGT(FieldSearchPricePer1k, v))
  1592. }
  1593. // SearchPricePer1kGTE applies the GTE predicate on the "search_price_per_1k" field.
  1594. func SearchPricePer1kGTE(v float64) predicate.Group {
  1595. return predicate.Group(sql.FieldGTE(FieldSearchPricePer1k, v))
  1596. }
  1597. // SearchPricePer1kLT applies the LT predicate on the "search_price_per_1k" field.
  1598. func SearchPricePer1kLT(v float64) predicate.Group {
  1599. return predicate.Group(sql.FieldLT(FieldSearchPricePer1k, v))
  1600. }
  1601. // SearchPricePer1kLTE applies the LTE predicate on the "search_price_per_1k" field.
  1602. func SearchPricePer1kLTE(v float64) predicate.Group {
  1603. return predicate.Group(sql.FieldLTE(FieldSearchPricePer1k, v))
  1604. }
  1605. // SearchPricePer1kIsNil applies the IsNil predicate on the "search_price_per_1k" field.
  1606. func SearchPricePer1kIsNil() predicate.Group {
  1607. return predicate.Group(sql.FieldIsNull(FieldSearchPricePer1k))
  1608. }
  1609. // SearchPricePer1kNotNil applies the NotNil predicate on the "search_price_per_1k" field.
  1610. func SearchPricePer1kNotNil() predicate.Group {
  1611. return predicate.Group(sql.FieldNotNull(FieldSearchPricePer1k))
  1612. }
  1613. // AudioRealtimePricePerMinEQ applies the EQ predicate on the "audio_realtime_price_per_min" field.
  1614. func AudioRealtimePricePerMinEQ(v float64) predicate.Group {
  1615. return predicate.Group(sql.FieldEQ(FieldAudioRealtimePricePerMin, v))
  1616. }
  1617. // AudioRealtimePricePerMinNEQ applies the NEQ predicate on the "audio_realtime_price_per_min" field.
  1618. func AudioRealtimePricePerMinNEQ(v float64) predicate.Group {
  1619. return predicate.Group(sql.FieldNEQ(FieldAudioRealtimePricePerMin, v))
  1620. }
  1621. // AudioRealtimePricePerMinIn applies the In predicate on the "audio_realtime_price_per_min" field.
  1622. func AudioRealtimePricePerMinIn(vs ...float64) predicate.Group {
  1623. return predicate.Group(sql.FieldIn(FieldAudioRealtimePricePerMin, vs...))
  1624. }
  1625. // AudioRealtimePricePerMinNotIn applies the NotIn predicate on the "audio_realtime_price_per_min" field.
  1626. func AudioRealtimePricePerMinNotIn(vs ...float64) predicate.Group {
  1627. return predicate.Group(sql.FieldNotIn(FieldAudioRealtimePricePerMin, vs...))
  1628. }
  1629. // AudioRealtimePricePerMinGT applies the GT predicate on the "audio_realtime_price_per_min" field.
  1630. func AudioRealtimePricePerMinGT(v float64) predicate.Group {
  1631. return predicate.Group(sql.FieldGT(FieldAudioRealtimePricePerMin, v))
  1632. }
  1633. // AudioRealtimePricePerMinGTE applies the GTE predicate on the "audio_realtime_price_per_min" field.
  1634. func AudioRealtimePricePerMinGTE(v float64) predicate.Group {
  1635. return predicate.Group(sql.FieldGTE(FieldAudioRealtimePricePerMin, v))
  1636. }
  1637. // AudioRealtimePricePerMinLT applies the LT predicate on the "audio_realtime_price_per_min" field.
  1638. func AudioRealtimePricePerMinLT(v float64) predicate.Group {
  1639. return predicate.Group(sql.FieldLT(FieldAudioRealtimePricePerMin, v))
  1640. }
  1641. // AudioRealtimePricePerMinLTE applies the LTE predicate on the "audio_realtime_price_per_min" field.
  1642. func AudioRealtimePricePerMinLTE(v float64) predicate.Group {
  1643. return predicate.Group(sql.FieldLTE(FieldAudioRealtimePricePerMin, v))
  1644. }
  1645. // AudioRealtimePricePerMinIsNil applies the IsNil predicate on the "audio_realtime_price_per_min" field.
  1646. func AudioRealtimePricePerMinIsNil() predicate.Group {
  1647. return predicate.Group(sql.FieldIsNull(FieldAudioRealtimePricePerMin))
  1648. }
  1649. // AudioRealtimePricePerMinNotNil applies the NotNil predicate on the "audio_realtime_price_per_min" field.
  1650. func AudioRealtimePricePerMinNotNil() predicate.Group {
  1651. return predicate.Group(sql.FieldNotNull(FieldAudioRealtimePricePerMin))
  1652. }
  1653. // AudioTtsPricePerMillionCharsEQ applies the EQ predicate on the "audio_tts_price_per_million_chars" field.
  1654. func AudioTtsPricePerMillionCharsEQ(v float64) predicate.Group {
  1655. return predicate.Group(sql.FieldEQ(FieldAudioTtsPricePerMillionChars, v))
  1656. }
  1657. // AudioTtsPricePerMillionCharsNEQ applies the NEQ predicate on the "audio_tts_price_per_million_chars" field.
  1658. func AudioTtsPricePerMillionCharsNEQ(v float64) predicate.Group {
  1659. return predicate.Group(sql.FieldNEQ(FieldAudioTtsPricePerMillionChars, v))
  1660. }
  1661. // AudioTtsPricePerMillionCharsIn applies the In predicate on the "audio_tts_price_per_million_chars" field.
  1662. func AudioTtsPricePerMillionCharsIn(vs ...float64) predicate.Group {
  1663. return predicate.Group(sql.FieldIn(FieldAudioTtsPricePerMillionChars, vs...))
  1664. }
  1665. // AudioTtsPricePerMillionCharsNotIn applies the NotIn predicate on the "audio_tts_price_per_million_chars" field.
  1666. func AudioTtsPricePerMillionCharsNotIn(vs ...float64) predicate.Group {
  1667. return predicate.Group(sql.FieldNotIn(FieldAudioTtsPricePerMillionChars, vs...))
  1668. }
  1669. // AudioTtsPricePerMillionCharsGT applies the GT predicate on the "audio_tts_price_per_million_chars" field.
  1670. func AudioTtsPricePerMillionCharsGT(v float64) predicate.Group {
  1671. return predicate.Group(sql.FieldGT(FieldAudioTtsPricePerMillionChars, v))
  1672. }
  1673. // AudioTtsPricePerMillionCharsGTE applies the GTE predicate on the "audio_tts_price_per_million_chars" field.
  1674. func AudioTtsPricePerMillionCharsGTE(v float64) predicate.Group {
  1675. return predicate.Group(sql.FieldGTE(FieldAudioTtsPricePerMillionChars, v))
  1676. }
  1677. // AudioTtsPricePerMillionCharsLT applies the LT predicate on the "audio_tts_price_per_million_chars" field.
  1678. func AudioTtsPricePerMillionCharsLT(v float64) predicate.Group {
  1679. return predicate.Group(sql.FieldLT(FieldAudioTtsPricePerMillionChars, v))
  1680. }
  1681. // AudioTtsPricePerMillionCharsLTE applies the LTE predicate on the "audio_tts_price_per_million_chars" field.
  1682. func AudioTtsPricePerMillionCharsLTE(v float64) predicate.Group {
  1683. return predicate.Group(sql.FieldLTE(FieldAudioTtsPricePerMillionChars, v))
  1684. }
  1685. // AudioTtsPricePerMillionCharsIsNil applies the IsNil predicate on the "audio_tts_price_per_million_chars" field.
  1686. func AudioTtsPricePerMillionCharsIsNil() predicate.Group {
  1687. return predicate.Group(sql.FieldIsNull(FieldAudioTtsPricePerMillionChars))
  1688. }
  1689. // AudioTtsPricePerMillionCharsNotNil applies the NotNil predicate on the "audio_tts_price_per_million_chars" field.
  1690. func AudioTtsPricePerMillionCharsNotNil() predicate.Group {
  1691. return predicate.Group(sql.FieldNotNull(FieldAudioTtsPricePerMillionChars))
  1692. }
  1693. // AudioSttPricePerHourEQ applies the EQ predicate on the "audio_stt_price_per_hour" field.
  1694. func AudioSttPricePerHourEQ(v float64) predicate.Group {
  1695. return predicate.Group(sql.FieldEQ(FieldAudioSttPricePerHour, v))
  1696. }
  1697. // AudioSttPricePerHourNEQ applies the NEQ predicate on the "audio_stt_price_per_hour" field.
  1698. func AudioSttPricePerHourNEQ(v float64) predicate.Group {
  1699. return predicate.Group(sql.FieldNEQ(FieldAudioSttPricePerHour, v))
  1700. }
  1701. // AudioSttPricePerHourIn applies the In predicate on the "audio_stt_price_per_hour" field.
  1702. func AudioSttPricePerHourIn(vs ...float64) predicate.Group {
  1703. return predicate.Group(sql.FieldIn(FieldAudioSttPricePerHour, vs...))
  1704. }
  1705. // AudioSttPricePerHourNotIn applies the NotIn predicate on the "audio_stt_price_per_hour" field.
  1706. func AudioSttPricePerHourNotIn(vs ...float64) predicate.Group {
  1707. return predicate.Group(sql.FieldNotIn(FieldAudioSttPricePerHour, vs...))
  1708. }
  1709. // AudioSttPricePerHourGT applies the GT predicate on the "audio_stt_price_per_hour" field.
  1710. func AudioSttPricePerHourGT(v float64) predicate.Group {
  1711. return predicate.Group(sql.FieldGT(FieldAudioSttPricePerHour, v))
  1712. }
  1713. // AudioSttPricePerHourGTE applies the GTE predicate on the "audio_stt_price_per_hour" field.
  1714. func AudioSttPricePerHourGTE(v float64) predicate.Group {
  1715. return predicate.Group(sql.FieldGTE(FieldAudioSttPricePerHour, v))
  1716. }
  1717. // AudioSttPricePerHourLT applies the LT predicate on the "audio_stt_price_per_hour" field.
  1718. func AudioSttPricePerHourLT(v float64) predicate.Group {
  1719. return predicate.Group(sql.FieldLT(FieldAudioSttPricePerHour, v))
  1720. }
  1721. // AudioSttPricePerHourLTE applies the LTE predicate on the "audio_stt_price_per_hour" field.
  1722. func AudioSttPricePerHourLTE(v float64) predicate.Group {
  1723. return predicate.Group(sql.FieldLTE(FieldAudioSttPricePerHour, v))
  1724. }
  1725. // AudioSttPricePerHourIsNil applies the IsNil predicate on the "audio_stt_price_per_hour" field.
  1726. func AudioSttPricePerHourIsNil() predicate.Group {
  1727. return predicate.Group(sql.FieldIsNull(FieldAudioSttPricePerHour))
  1728. }
  1729. // AudioSttPricePerHourNotNil applies the NotNil predicate on the "audio_stt_price_per_hour" field.
  1730. func AudioSttPricePerHourNotNil() predicate.Group {
  1731. return predicate.Group(sql.FieldNotNull(FieldAudioSttPricePerHour))
  1732. }
  1733. // LongContextPricingEnabledEQ applies the EQ predicate on the "long_context_pricing_enabled" field.
  1734. func LongContextPricingEnabledEQ(v bool) predicate.Group {
  1735. return predicate.Group(sql.FieldEQ(FieldLongContextPricingEnabled, v))
  1736. }
  1737. // LongContextPricingEnabledNEQ applies the NEQ predicate on the "long_context_pricing_enabled" field.
  1738. func LongContextPricingEnabledNEQ(v bool) predicate.Group {
  1739. return predicate.Group(sql.FieldNEQ(FieldLongContextPricingEnabled, v))
  1740. }
  1741. // ModelPricingIsNil applies the IsNil predicate on the "model_pricing" field.
  1742. func ModelPricingIsNil() predicate.Group {
  1743. return predicate.Group(sql.FieldIsNull(FieldModelPricing))
  1744. }
  1745. // ModelPricingNotNil applies the NotNil predicate on the "model_pricing" field.
  1746. func ModelPricingNotNil() predicate.Group {
  1747. return predicate.Group(sql.FieldNotNull(FieldModelPricing))
  1748. }
  1749. // ClaudeCodeOnlyEQ applies the EQ predicate on the "claude_code_only" field.
  1750. func ClaudeCodeOnlyEQ(v bool) predicate.Group {
  1751. return predicate.Group(sql.FieldEQ(FieldClaudeCodeOnly, v))
  1752. }
  1753. // ClaudeCodeOnlyNEQ applies the NEQ predicate on the "claude_code_only" field.
  1754. func ClaudeCodeOnlyNEQ(v bool) predicate.Group {
  1755. return predicate.Group(sql.FieldNEQ(FieldClaudeCodeOnly, v))
  1756. }
  1757. // FallbackGroupIDEQ applies the EQ predicate on the "fallback_group_id" field.
  1758. func FallbackGroupIDEQ(v int64) predicate.Group {
  1759. return predicate.Group(sql.FieldEQ(FieldFallbackGroupID, v))
  1760. }
  1761. // FallbackGroupIDNEQ applies the NEQ predicate on the "fallback_group_id" field.
  1762. func FallbackGroupIDNEQ(v int64) predicate.Group {
  1763. return predicate.Group(sql.FieldNEQ(FieldFallbackGroupID, v))
  1764. }
  1765. // FallbackGroupIDIn applies the In predicate on the "fallback_group_id" field.
  1766. func FallbackGroupIDIn(vs ...int64) predicate.Group {
  1767. return predicate.Group(sql.FieldIn(FieldFallbackGroupID, vs...))
  1768. }
  1769. // FallbackGroupIDNotIn applies the NotIn predicate on the "fallback_group_id" field.
  1770. func FallbackGroupIDNotIn(vs ...int64) predicate.Group {
  1771. return predicate.Group(sql.FieldNotIn(FieldFallbackGroupID, vs...))
  1772. }
  1773. // FallbackGroupIDGT applies the GT predicate on the "fallback_group_id" field.
  1774. func FallbackGroupIDGT(v int64) predicate.Group {
  1775. return predicate.Group(sql.FieldGT(FieldFallbackGroupID, v))
  1776. }
  1777. // FallbackGroupIDGTE applies the GTE predicate on the "fallback_group_id" field.
  1778. func FallbackGroupIDGTE(v int64) predicate.Group {
  1779. return predicate.Group(sql.FieldGTE(FieldFallbackGroupID, v))
  1780. }
  1781. // FallbackGroupIDLT applies the LT predicate on the "fallback_group_id" field.
  1782. func FallbackGroupIDLT(v int64) predicate.Group {
  1783. return predicate.Group(sql.FieldLT(FieldFallbackGroupID, v))
  1784. }
  1785. // FallbackGroupIDLTE applies the LTE predicate on the "fallback_group_id" field.
  1786. func FallbackGroupIDLTE(v int64) predicate.Group {
  1787. return predicate.Group(sql.FieldLTE(FieldFallbackGroupID, v))
  1788. }
  1789. // FallbackGroupIDIsNil applies the IsNil predicate on the "fallback_group_id" field.
  1790. func FallbackGroupIDIsNil() predicate.Group {
  1791. return predicate.Group(sql.FieldIsNull(FieldFallbackGroupID))
  1792. }
  1793. // FallbackGroupIDNotNil applies the NotNil predicate on the "fallback_group_id" field.
  1794. func FallbackGroupIDNotNil() predicate.Group {
  1795. return predicate.Group(sql.FieldNotNull(FieldFallbackGroupID))
  1796. }
  1797. // FallbackGroupIDOnInvalidRequestEQ applies the EQ predicate on the "fallback_group_id_on_invalid_request" field.
  1798. func FallbackGroupIDOnInvalidRequestEQ(v int64) predicate.Group {
  1799. return predicate.Group(sql.FieldEQ(FieldFallbackGroupIDOnInvalidRequest, v))
  1800. }
  1801. // FallbackGroupIDOnInvalidRequestNEQ applies the NEQ predicate on the "fallback_group_id_on_invalid_request" field.
  1802. func FallbackGroupIDOnInvalidRequestNEQ(v int64) predicate.Group {
  1803. return predicate.Group(sql.FieldNEQ(FieldFallbackGroupIDOnInvalidRequest, v))
  1804. }
  1805. // FallbackGroupIDOnInvalidRequestIn applies the In predicate on the "fallback_group_id_on_invalid_request" field.
  1806. func FallbackGroupIDOnInvalidRequestIn(vs ...int64) predicate.Group {
  1807. return predicate.Group(sql.FieldIn(FieldFallbackGroupIDOnInvalidRequest, vs...))
  1808. }
  1809. // FallbackGroupIDOnInvalidRequestNotIn applies the NotIn predicate on the "fallback_group_id_on_invalid_request" field.
  1810. func FallbackGroupIDOnInvalidRequestNotIn(vs ...int64) predicate.Group {
  1811. return predicate.Group(sql.FieldNotIn(FieldFallbackGroupIDOnInvalidRequest, vs...))
  1812. }
  1813. // FallbackGroupIDOnInvalidRequestGT applies the GT predicate on the "fallback_group_id_on_invalid_request" field.
  1814. func FallbackGroupIDOnInvalidRequestGT(v int64) predicate.Group {
  1815. return predicate.Group(sql.FieldGT(FieldFallbackGroupIDOnInvalidRequest, v))
  1816. }
  1817. // FallbackGroupIDOnInvalidRequestGTE applies the GTE predicate on the "fallback_group_id_on_invalid_request" field.
  1818. func FallbackGroupIDOnInvalidRequestGTE(v int64) predicate.Group {
  1819. return predicate.Group(sql.FieldGTE(FieldFallbackGroupIDOnInvalidRequest, v))
  1820. }
  1821. // FallbackGroupIDOnInvalidRequestLT applies the LT predicate on the "fallback_group_id_on_invalid_request" field.
  1822. func FallbackGroupIDOnInvalidRequestLT(v int64) predicate.Group {
  1823. return predicate.Group(sql.FieldLT(FieldFallbackGroupIDOnInvalidRequest, v))
  1824. }
  1825. // FallbackGroupIDOnInvalidRequestLTE applies the LTE predicate on the "fallback_group_id_on_invalid_request" field.
  1826. func FallbackGroupIDOnInvalidRequestLTE(v int64) predicate.Group {
  1827. return predicate.Group(sql.FieldLTE(FieldFallbackGroupIDOnInvalidRequest, v))
  1828. }
  1829. // FallbackGroupIDOnInvalidRequestIsNil applies the IsNil predicate on the "fallback_group_id_on_invalid_request" field.
  1830. func FallbackGroupIDOnInvalidRequestIsNil() predicate.Group {
  1831. return predicate.Group(sql.FieldIsNull(FieldFallbackGroupIDOnInvalidRequest))
  1832. }
  1833. // FallbackGroupIDOnInvalidRequestNotNil applies the NotNil predicate on the "fallback_group_id_on_invalid_request" field.
  1834. func FallbackGroupIDOnInvalidRequestNotNil() predicate.Group {
  1835. return predicate.Group(sql.FieldNotNull(FieldFallbackGroupIDOnInvalidRequest))
  1836. }
  1837. // ModelRoutingIsNil applies the IsNil predicate on the "model_routing" field.
  1838. func ModelRoutingIsNil() predicate.Group {
  1839. return predicate.Group(sql.FieldIsNull(FieldModelRouting))
  1840. }
  1841. // ModelRoutingNotNil applies the NotNil predicate on the "model_routing" field.
  1842. func ModelRoutingNotNil() predicate.Group {
  1843. return predicate.Group(sql.FieldNotNull(FieldModelRouting))
  1844. }
  1845. // ModelRoutingEnabledEQ applies the EQ predicate on the "model_routing_enabled" field.
  1846. func ModelRoutingEnabledEQ(v bool) predicate.Group {
  1847. return predicate.Group(sql.FieldEQ(FieldModelRoutingEnabled, v))
  1848. }
  1849. // ModelRoutingEnabledNEQ applies the NEQ predicate on the "model_routing_enabled" field.
  1850. func ModelRoutingEnabledNEQ(v bool) predicate.Group {
  1851. return predicate.Group(sql.FieldNEQ(FieldModelRoutingEnabled, v))
  1852. }
  1853. // McpXMLInjectEQ applies the EQ predicate on the "mcp_xml_inject" field.
  1854. func McpXMLInjectEQ(v bool) predicate.Group {
  1855. return predicate.Group(sql.FieldEQ(FieldMcpXMLInject, v))
  1856. }
  1857. // McpXMLInjectNEQ applies the NEQ predicate on the "mcp_xml_inject" field.
  1858. func McpXMLInjectNEQ(v bool) predicate.Group {
  1859. return predicate.Group(sql.FieldNEQ(FieldMcpXMLInject, v))
  1860. }
  1861. // SortOrderEQ applies the EQ predicate on the "sort_order" field.
  1862. func SortOrderEQ(v int) predicate.Group {
  1863. return predicate.Group(sql.FieldEQ(FieldSortOrder, v))
  1864. }
  1865. // SortOrderNEQ applies the NEQ predicate on the "sort_order" field.
  1866. func SortOrderNEQ(v int) predicate.Group {
  1867. return predicate.Group(sql.FieldNEQ(FieldSortOrder, v))
  1868. }
  1869. // SortOrderIn applies the In predicate on the "sort_order" field.
  1870. func SortOrderIn(vs ...int) predicate.Group {
  1871. return predicate.Group(sql.FieldIn(FieldSortOrder, vs...))
  1872. }
  1873. // SortOrderNotIn applies the NotIn predicate on the "sort_order" field.
  1874. func SortOrderNotIn(vs ...int) predicate.Group {
  1875. return predicate.Group(sql.FieldNotIn(FieldSortOrder, vs...))
  1876. }
  1877. // SortOrderGT applies the GT predicate on the "sort_order" field.
  1878. func SortOrderGT(v int) predicate.Group {
  1879. return predicate.Group(sql.FieldGT(FieldSortOrder, v))
  1880. }
  1881. // SortOrderGTE applies the GTE predicate on the "sort_order" field.
  1882. func SortOrderGTE(v int) predicate.Group {
  1883. return predicate.Group(sql.FieldGTE(FieldSortOrder, v))
  1884. }
  1885. // SortOrderLT applies the LT predicate on the "sort_order" field.
  1886. func SortOrderLT(v int) predicate.Group {
  1887. return predicate.Group(sql.FieldLT(FieldSortOrder, v))
  1888. }
  1889. // SortOrderLTE applies the LTE predicate on the "sort_order" field.
  1890. func SortOrderLTE(v int) predicate.Group {
  1891. return predicate.Group(sql.FieldLTE(FieldSortOrder, v))
  1892. }
  1893. // AllowMessagesDispatchEQ applies the EQ predicate on the "allow_messages_dispatch" field.
  1894. func AllowMessagesDispatchEQ(v bool) predicate.Group {
  1895. return predicate.Group(sql.FieldEQ(FieldAllowMessagesDispatch, v))
  1896. }
  1897. // AllowMessagesDispatchNEQ applies the NEQ predicate on the "allow_messages_dispatch" field.
  1898. func AllowMessagesDispatchNEQ(v bool) predicate.Group {
  1899. return predicate.Group(sql.FieldNEQ(FieldAllowMessagesDispatch, v))
  1900. }
  1901. // AllowLiveEQ applies the EQ predicate on the "allow_live" field.
  1902. func AllowLiveEQ(v bool) predicate.Group {
  1903. return predicate.Group(sql.FieldEQ(FieldAllowLive, v))
  1904. }
  1905. // AllowLiveNEQ applies the NEQ predicate on the "allow_live" field.
  1906. func AllowLiveNEQ(v bool) predicate.Group {
  1907. return predicate.Group(sql.FieldNEQ(FieldAllowLive, v))
  1908. }
  1909. // ForceOpenaiFastEQ applies the EQ predicate on the "force_openai_fast" field.
  1910. func ForceOpenaiFastEQ(v bool) predicate.Group {
  1911. return predicate.Group(sql.FieldEQ(FieldForceOpenaiFast, v))
  1912. }
  1913. // ForceOpenaiFastNEQ applies the NEQ predicate on the "force_openai_fast" field.
  1914. func ForceOpenaiFastNEQ(v bool) predicate.Group {
  1915. return predicate.Group(sql.FieldNEQ(FieldForceOpenaiFast, v))
  1916. }
  1917. // FreeOpenaiFastEQ applies the EQ predicate on the "free_openai_fast" field.
  1918. func FreeOpenaiFastEQ(v bool) predicate.Group {
  1919. return predicate.Group(sql.FieldEQ(FieldFreeOpenaiFast, v))
  1920. }
  1921. // FreeOpenaiFastNEQ applies the NEQ predicate on the "free_openai_fast" field.
  1922. func FreeOpenaiFastNEQ(v bool) predicate.Group {
  1923. return predicate.Group(sql.FieldNEQ(FieldFreeOpenaiFast, v))
  1924. }
  1925. // RequireOauthOnlyEQ applies the EQ predicate on the "require_oauth_only" field.
  1926. func RequireOauthOnlyEQ(v bool) predicate.Group {
  1927. return predicate.Group(sql.FieldEQ(FieldRequireOauthOnly, v))
  1928. }
  1929. // RequireOauthOnlyNEQ applies the NEQ predicate on the "require_oauth_only" field.
  1930. func RequireOauthOnlyNEQ(v bool) predicate.Group {
  1931. return predicate.Group(sql.FieldNEQ(FieldRequireOauthOnly, v))
  1932. }
  1933. // RequirePrivacySetEQ applies the EQ predicate on the "require_privacy_set" field.
  1934. func RequirePrivacySetEQ(v bool) predicate.Group {
  1935. return predicate.Group(sql.FieldEQ(FieldRequirePrivacySet, v))
  1936. }
  1937. // RequirePrivacySetNEQ applies the NEQ predicate on the "require_privacy_set" field.
  1938. func RequirePrivacySetNEQ(v bool) predicate.Group {
  1939. return predicate.Group(sql.FieldNEQ(FieldRequirePrivacySet, v))
  1940. }
  1941. // DefaultMappedModelEQ applies the EQ predicate on the "default_mapped_model" field.
  1942. func DefaultMappedModelEQ(v string) predicate.Group {
  1943. return predicate.Group(sql.FieldEQ(FieldDefaultMappedModel, v))
  1944. }
  1945. // DefaultMappedModelNEQ applies the NEQ predicate on the "default_mapped_model" field.
  1946. func DefaultMappedModelNEQ(v string) predicate.Group {
  1947. return predicate.Group(sql.FieldNEQ(FieldDefaultMappedModel, v))
  1948. }
  1949. // DefaultMappedModelIn applies the In predicate on the "default_mapped_model" field.
  1950. func DefaultMappedModelIn(vs ...string) predicate.Group {
  1951. return predicate.Group(sql.FieldIn(FieldDefaultMappedModel, vs...))
  1952. }
  1953. // DefaultMappedModelNotIn applies the NotIn predicate on the "default_mapped_model" field.
  1954. func DefaultMappedModelNotIn(vs ...string) predicate.Group {
  1955. return predicate.Group(sql.FieldNotIn(FieldDefaultMappedModel, vs...))
  1956. }
  1957. // DefaultMappedModelGT applies the GT predicate on the "default_mapped_model" field.
  1958. func DefaultMappedModelGT(v string) predicate.Group {
  1959. return predicate.Group(sql.FieldGT(FieldDefaultMappedModel, v))
  1960. }
  1961. // DefaultMappedModelGTE applies the GTE predicate on the "default_mapped_model" field.
  1962. func DefaultMappedModelGTE(v string) predicate.Group {
  1963. return predicate.Group(sql.FieldGTE(FieldDefaultMappedModel, v))
  1964. }
  1965. // DefaultMappedModelLT applies the LT predicate on the "default_mapped_model" field.
  1966. func DefaultMappedModelLT(v string) predicate.Group {
  1967. return predicate.Group(sql.FieldLT(FieldDefaultMappedModel, v))
  1968. }
  1969. // DefaultMappedModelLTE applies the LTE predicate on the "default_mapped_model" field.
  1970. func DefaultMappedModelLTE(v string) predicate.Group {
  1971. return predicate.Group(sql.FieldLTE(FieldDefaultMappedModel, v))
  1972. }
  1973. // DefaultMappedModelContains applies the Contains predicate on the "default_mapped_model" field.
  1974. func DefaultMappedModelContains(v string) predicate.Group {
  1975. return predicate.Group(sql.FieldContains(FieldDefaultMappedModel, v))
  1976. }
  1977. // DefaultMappedModelHasPrefix applies the HasPrefix predicate on the "default_mapped_model" field.
  1978. func DefaultMappedModelHasPrefix(v string) predicate.Group {
  1979. return predicate.Group(sql.FieldHasPrefix(FieldDefaultMappedModel, v))
  1980. }
  1981. // DefaultMappedModelHasSuffix applies the HasSuffix predicate on the "default_mapped_model" field.
  1982. func DefaultMappedModelHasSuffix(v string) predicate.Group {
  1983. return predicate.Group(sql.FieldHasSuffix(FieldDefaultMappedModel, v))
  1984. }
  1985. // DefaultMappedModelEqualFold applies the EqualFold predicate on the "default_mapped_model" field.
  1986. func DefaultMappedModelEqualFold(v string) predicate.Group {
  1987. return predicate.Group(sql.FieldEqualFold(FieldDefaultMappedModel, v))
  1988. }
  1989. // DefaultMappedModelContainsFold applies the ContainsFold predicate on the "default_mapped_model" field.
  1990. func DefaultMappedModelContainsFold(v string) predicate.Group {
  1991. return predicate.Group(sql.FieldContainsFold(FieldDefaultMappedModel, v))
  1992. }
  1993. // RpmLimitEQ applies the EQ predicate on the "rpm_limit" field.
  1994. func RpmLimitEQ(v int) predicate.Group {
  1995. return predicate.Group(sql.FieldEQ(FieldRpmLimit, v))
  1996. }
  1997. // RpmLimitNEQ applies the NEQ predicate on the "rpm_limit" field.
  1998. func RpmLimitNEQ(v int) predicate.Group {
  1999. return predicate.Group(sql.FieldNEQ(FieldRpmLimit, v))
  2000. }
  2001. // RpmLimitIn applies the In predicate on the "rpm_limit" field.
  2002. func RpmLimitIn(vs ...int) predicate.Group {
  2003. return predicate.Group(sql.FieldIn(FieldRpmLimit, vs...))
  2004. }
  2005. // RpmLimitNotIn applies the NotIn predicate on the "rpm_limit" field.
  2006. func RpmLimitNotIn(vs ...int) predicate.Group {
  2007. return predicate.Group(sql.FieldNotIn(FieldRpmLimit, vs...))
  2008. }
  2009. // RpmLimitGT applies the GT predicate on the "rpm_limit" field.
  2010. func RpmLimitGT(v int) predicate.Group {
  2011. return predicate.Group(sql.FieldGT(FieldRpmLimit, v))
  2012. }
  2013. // RpmLimitGTE applies the GTE predicate on the "rpm_limit" field.
  2014. func RpmLimitGTE(v int) predicate.Group {
  2015. return predicate.Group(sql.FieldGTE(FieldRpmLimit, v))
  2016. }
  2017. // RpmLimitLT applies the LT predicate on the "rpm_limit" field.
  2018. func RpmLimitLT(v int) predicate.Group {
  2019. return predicate.Group(sql.FieldLT(FieldRpmLimit, v))
  2020. }
  2021. // RpmLimitLTE applies the LTE predicate on the "rpm_limit" field.
  2022. func RpmLimitLTE(v int) predicate.Group {
  2023. return predicate.Group(sql.FieldLTE(FieldRpmLimit, v))
  2024. }
  2025. // MaxReasoningEffortEQ applies the EQ predicate on the "max_reasoning_effort" field.
  2026. func MaxReasoningEffortEQ(v string) predicate.Group {
  2027. return predicate.Group(sql.FieldEQ(FieldMaxReasoningEffort, v))
  2028. }
  2029. // MaxReasoningEffortNEQ applies the NEQ predicate on the "max_reasoning_effort" field.
  2030. func MaxReasoningEffortNEQ(v string) predicate.Group {
  2031. return predicate.Group(sql.FieldNEQ(FieldMaxReasoningEffort, v))
  2032. }
  2033. // MaxReasoningEffortIn applies the In predicate on the "max_reasoning_effort" field.
  2034. func MaxReasoningEffortIn(vs ...string) predicate.Group {
  2035. return predicate.Group(sql.FieldIn(FieldMaxReasoningEffort, vs...))
  2036. }
  2037. // MaxReasoningEffortNotIn applies the NotIn predicate on the "max_reasoning_effort" field.
  2038. func MaxReasoningEffortNotIn(vs ...string) predicate.Group {
  2039. return predicate.Group(sql.FieldNotIn(FieldMaxReasoningEffort, vs...))
  2040. }
  2041. // MaxReasoningEffortGT applies the GT predicate on the "max_reasoning_effort" field.
  2042. func MaxReasoningEffortGT(v string) predicate.Group {
  2043. return predicate.Group(sql.FieldGT(FieldMaxReasoningEffort, v))
  2044. }
  2045. // MaxReasoningEffortGTE applies the GTE predicate on the "max_reasoning_effort" field.
  2046. func MaxReasoningEffortGTE(v string) predicate.Group {
  2047. return predicate.Group(sql.FieldGTE(FieldMaxReasoningEffort, v))
  2048. }
  2049. // MaxReasoningEffortLT applies the LT predicate on the "max_reasoning_effort" field.
  2050. func MaxReasoningEffortLT(v string) predicate.Group {
  2051. return predicate.Group(sql.FieldLT(FieldMaxReasoningEffort, v))
  2052. }
  2053. // MaxReasoningEffortLTE applies the LTE predicate on the "max_reasoning_effort" field.
  2054. func MaxReasoningEffortLTE(v string) predicate.Group {
  2055. return predicate.Group(sql.FieldLTE(FieldMaxReasoningEffort, v))
  2056. }
  2057. // MaxReasoningEffortContains applies the Contains predicate on the "max_reasoning_effort" field.
  2058. func MaxReasoningEffortContains(v string) predicate.Group {
  2059. return predicate.Group(sql.FieldContains(FieldMaxReasoningEffort, v))
  2060. }
  2061. // MaxReasoningEffortHasPrefix applies the HasPrefix predicate on the "max_reasoning_effort" field.
  2062. func MaxReasoningEffortHasPrefix(v string) predicate.Group {
  2063. return predicate.Group(sql.FieldHasPrefix(FieldMaxReasoningEffort, v))
  2064. }
  2065. // MaxReasoningEffortHasSuffix applies the HasSuffix predicate on the "max_reasoning_effort" field.
  2066. func MaxReasoningEffortHasSuffix(v string) predicate.Group {
  2067. return predicate.Group(sql.FieldHasSuffix(FieldMaxReasoningEffort, v))
  2068. }
  2069. // MaxReasoningEffortEqualFold applies the EqualFold predicate on the "max_reasoning_effort" field.
  2070. func MaxReasoningEffortEqualFold(v string) predicate.Group {
  2071. return predicate.Group(sql.FieldEqualFold(FieldMaxReasoningEffort, v))
  2072. }
  2073. // MaxReasoningEffortContainsFold applies the ContainsFold predicate on the "max_reasoning_effort" field.
  2074. func MaxReasoningEffortContainsFold(v string) predicate.Group {
  2075. return predicate.Group(sql.FieldContainsFold(FieldMaxReasoningEffort, v))
  2076. }
  2077. // MaxReasoningEffortOverLimitEQ applies the EQ predicate on the "max_reasoning_effort_over_limit" field.
  2078. func MaxReasoningEffortOverLimitEQ(v string) predicate.Group {
  2079. return predicate.Group(sql.FieldEQ(FieldMaxReasoningEffortOverLimit, v))
  2080. }
  2081. // MaxReasoningEffortOverLimitNEQ applies the NEQ predicate on the "max_reasoning_effort_over_limit" field.
  2082. func MaxReasoningEffortOverLimitNEQ(v string) predicate.Group {
  2083. return predicate.Group(sql.FieldNEQ(FieldMaxReasoningEffortOverLimit, v))
  2084. }
  2085. // MaxReasoningEffortOverLimitIn applies the In predicate on the "max_reasoning_effort_over_limit" field.
  2086. func MaxReasoningEffortOverLimitIn(vs ...string) predicate.Group {
  2087. return predicate.Group(sql.FieldIn(FieldMaxReasoningEffortOverLimit, vs...))
  2088. }
  2089. // MaxReasoningEffortOverLimitNotIn applies the NotIn predicate on the "max_reasoning_effort_over_limit" field.
  2090. func MaxReasoningEffortOverLimitNotIn(vs ...string) predicate.Group {
  2091. return predicate.Group(sql.FieldNotIn(FieldMaxReasoningEffortOverLimit, vs...))
  2092. }
  2093. // MaxReasoningEffortOverLimitGT applies the GT predicate on the "max_reasoning_effort_over_limit" field.
  2094. func MaxReasoningEffortOverLimitGT(v string) predicate.Group {
  2095. return predicate.Group(sql.FieldGT(FieldMaxReasoningEffortOverLimit, v))
  2096. }
  2097. // MaxReasoningEffortOverLimitGTE applies the GTE predicate on the "max_reasoning_effort_over_limit" field.
  2098. func MaxReasoningEffortOverLimitGTE(v string) predicate.Group {
  2099. return predicate.Group(sql.FieldGTE(FieldMaxReasoningEffortOverLimit, v))
  2100. }
  2101. // MaxReasoningEffortOverLimitLT applies the LT predicate on the "max_reasoning_effort_over_limit" field.
  2102. func MaxReasoningEffortOverLimitLT(v string) predicate.Group {
  2103. return predicate.Group(sql.FieldLT(FieldMaxReasoningEffortOverLimit, v))
  2104. }
  2105. // MaxReasoningEffortOverLimitLTE applies the LTE predicate on the "max_reasoning_effort_over_limit" field.
  2106. func MaxReasoningEffortOverLimitLTE(v string) predicate.Group {
  2107. return predicate.Group(sql.FieldLTE(FieldMaxReasoningEffortOverLimit, v))
  2108. }
  2109. // MaxReasoningEffortOverLimitContains applies the Contains predicate on the "max_reasoning_effort_over_limit" field.
  2110. func MaxReasoningEffortOverLimitContains(v string) predicate.Group {
  2111. return predicate.Group(sql.FieldContains(FieldMaxReasoningEffortOverLimit, v))
  2112. }
  2113. // MaxReasoningEffortOverLimitHasPrefix applies the HasPrefix predicate on the "max_reasoning_effort_over_limit" field.
  2114. func MaxReasoningEffortOverLimitHasPrefix(v string) predicate.Group {
  2115. return predicate.Group(sql.FieldHasPrefix(FieldMaxReasoningEffortOverLimit, v))
  2116. }
  2117. // MaxReasoningEffortOverLimitHasSuffix applies the HasSuffix predicate on the "max_reasoning_effort_over_limit" field.
  2118. func MaxReasoningEffortOverLimitHasSuffix(v string) predicate.Group {
  2119. return predicate.Group(sql.FieldHasSuffix(FieldMaxReasoningEffortOverLimit, v))
  2120. }
  2121. // MaxReasoningEffortOverLimitEqualFold applies the EqualFold predicate on the "max_reasoning_effort_over_limit" field.
  2122. func MaxReasoningEffortOverLimitEqualFold(v string) predicate.Group {
  2123. return predicate.Group(sql.FieldEqualFold(FieldMaxReasoningEffortOverLimit, v))
  2124. }
  2125. // MaxReasoningEffortOverLimitContainsFold applies the ContainsFold predicate on the "max_reasoning_effort_over_limit" field.
  2126. func MaxReasoningEffortOverLimitContainsFold(v string) predicate.Group {
  2127. return predicate.Group(sql.FieldContainsFold(FieldMaxReasoningEffortOverLimit, v))
  2128. }
  2129. // ProfitControlEnabledEQ applies the EQ predicate on the "profit_control_enabled" field.
  2130. func ProfitControlEnabledEQ(v bool) predicate.Group {
  2131. return predicate.Group(sql.FieldEQ(FieldProfitControlEnabled, v))
  2132. }
  2133. // ProfitControlEnabledNEQ applies the NEQ predicate on the "profit_control_enabled" field.
  2134. func ProfitControlEnabledNEQ(v bool) predicate.Group {
  2135. return predicate.Group(sql.FieldNEQ(FieldProfitControlEnabled, v))
  2136. }
  2137. // ProfitMinMarginEQ applies the EQ predicate on the "profit_min_margin" field.
  2138. func ProfitMinMarginEQ(v float64) predicate.Group {
  2139. return predicate.Group(sql.FieldEQ(FieldProfitMinMargin, v))
  2140. }
  2141. // ProfitMinMarginNEQ applies the NEQ predicate on the "profit_min_margin" field.
  2142. func ProfitMinMarginNEQ(v float64) predicate.Group {
  2143. return predicate.Group(sql.FieldNEQ(FieldProfitMinMargin, v))
  2144. }
  2145. // ProfitMinMarginIn applies the In predicate on the "profit_min_margin" field.
  2146. func ProfitMinMarginIn(vs ...float64) predicate.Group {
  2147. return predicate.Group(sql.FieldIn(FieldProfitMinMargin, vs...))
  2148. }
  2149. // ProfitMinMarginNotIn applies the NotIn predicate on the "profit_min_margin" field.
  2150. func ProfitMinMarginNotIn(vs ...float64) predicate.Group {
  2151. return predicate.Group(sql.FieldNotIn(FieldProfitMinMargin, vs...))
  2152. }
  2153. // ProfitMinMarginGT applies the GT predicate on the "profit_min_margin" field.
  2154. func ProfitMinMarginGT(v float64) predicate.Group {
  2155. return predicate.Group(sql.FieldGT(FieldProfitMinMargin, v))
  2156. }
  2157. // ProfitMinMarginGTE applies the GTE predicate on the "profit_min_margin" field.
  2158. func ProfitMinMarginGTE(v float64) predicate.Group {
  2159. return predicate.Group(sql.FieldGTE(FieldProfitMinMargin, v))
  2160. }
  2161. // ProfitMinMarginLT applies the LT predicate on the "profit_min_margin" field.
  2162. func ProfitMinMarginLT(v float64) predicate.Group {
  2163. return predicate.Group(sql.FieldLT(FieldProfitMinMargin, v))
  2164. }
  2165. // ProfitMinMarginLTE applies the LTE predicate on the "profit_min_margin" field.
  2166. func ProfitMinMarginLTE(v float64) predicate.Group {
  2167. return predicate.Group(sql.FieldLTE(FieldProfitMinMargin, v))
  2168. }
  2169. // ProfitSafetyBufferEQ applies the EQ predicate on the "profit_safety_buffer" field.
  2170. func ProfitSafetyBufferEQ(v float64) predicate.Group {
  2171. return predicate.Group(sql.FieldEQ(FieldProfitSafetyBuffer, v))
  2172. }
  2173. // ProfitSafetyBufferNEQ applies the NEQ predicate on the "profit_safety_buffer" field.
  2174. func ProfitSafetyBufferNEQ(v float64) predicate.Group {
  2175. return predicate.Group(sql.FieldNEQ(FieldProfitSafetyBuffer, v))
  2176. }
  2177. // ProfitSafetyBufferIn applies the In predicate on the "profit_safety_buffer" field.
  2178. func ProfitSafetyBufferIn(vs ...float64) predicate.Group {
  2179. return predicate.Group(sql.FieldIn(FieldProfitSafetyBuffer, vs...))
  2180. }
  2181. // ProfitSafetyBufferNotIn applies the NotIn predicate on the "profit_safety_buffer" field.
  2182. func ProfitSafetyBufferNotIn(vs ...float64) predicate.Group {
  2183. return predicate.Group(sql.FieldNotIn(FieldProfitSafetyBuffer, vs...))
  2184. }
  2185. // ProfitSafetyBufferGT applies the GT predicate on the "profit_safety_buffer" field.
  2186. func ProfitSafetyBufferGT(v float64) predicate.Group {
  2187. return predicate.Group(sql.FieldGT(FieldProfitSafetyBuffer, v))
  2188. }
  2189. // ProfitSafetyBufferGTE applies the GTE predicate on the "profit_safety_buffer" field.
  2190. func ProfitSafetyBufferGTE(v float64) predicate.Group {
  2191. return predicate.Group(sql.FieldGTE(FieldProfitSafetyBuffer, v))
  2192. }
  2193. // ProfitSafetyBufferLT applies the LT predicate on the "profit_safety_buffer" field.
  2194. func ProfitSafetyBufferLT(v float64) predicate.Group {
  2195. return predicate.Group(sql.FieldLT(FieldProfitSafetyBuffer, v))
  2196. }
  2197. // ProfitSafetyBufferLTE applies the LTE predicate on the "profit_safety_buffer" field.
  2198. func ProfitSafetyBufferLTE(v float64) predicate.Group {
  2199. return predicate.Group(sql.FieldLTE(FieldProfitSafetyBuffer, v))
  2200. }
  2201. // HasAPIKeys applies the HasEdge predicate on the "api_keys" edge.
  2202. func HasAPIKeys() predicate.Group {
  2203. return predicate.Group(func(s *sql.Selector) {
  2204. step := sqlgraph.NewStep(
  2205. sqlgraph.From(Table, FieldID),
  2206. sqlgraph.Edge(sqlgraph.O2M, false, APIKeysTable, APIKeysColumn),
  2207. )
  2208. sqlgraph.HasNeighbors(s, step)
  2209. })
  2210. }
  2211. // HasAPIKeysWith applies the HasEdge predicate on the "api_keys" edge with a given conditions (other predicates).
  2212. func HasAPIKeysWith(preds ...predicate.APIKey) predicate.Group {
  2213. return predicate.Group(func(s *sql.Selector) {
  2214. step := newAPIKeysStep()
  2215. sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
  2216. for _, p := range preds {
  2217. p(s)
  2218. }
  2219. })
  2220. })
  2221. }
  2222. // HasRedeemCodes applies the HasEdge predicate on the "redeem_codes" edge.
  2223. func HasRedeemCodes() predicate.Group {
  2224. return predicate.Group(func(s *sql.Selector) {
  2225. step := sqlgraph.NewStep(
  2226. sqlgraph.From(Table, FieldID),
  2227. sqlgraph.Edge(sqlgraph.O2M, false, RedeemCodesTable, RedeemCodesColumn),
  2228. )
  2229. sqlgraph.HasNeighbors(s, step)
  2230. })
  2231. }
  2232. // HasRedeemCodesWith applies the HasEdge predicate on the "redeem_codes" edge with a given conditions (other predicates).
  2233. func HasRedeemCodesWith(preds ...predicate.RedeemCode) predicate.Group {
  2234. return predicate.Group(func(s *sql.Selector) {
  2235. step := newRedeemCodesStep()
  2236. sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
  2237. for _, p := range preds {
  2238. p(s)
  2239. }
  2240. })
  2241. })
  2242. }
  2243. // HasSubscriptions applies the HasEdge predicate on the "subscriptions" edge.
  2244. func HasSubscriptions() predicate.Group {
  2245. return predicate.Group(func(s *sql.Selector) {
  2246. step := sqlgraph.NewStep(
  2247. sqlgraph.From(Table, FieldID),
  2248. sqlgraph.Edge(sqlgraph.O2M, false, SubscriptionsTable, SubscriptionsColumn),
  2249. )
  2250. sqlgraph.HasNeighbors(s, step)
  2251. })
  2252. }
  2253. // HasSubscriptionsWith applies the HasEdge predicate on the "subscriptions" edge with a given conditions (other predicates).
  2254. func HasSubscriptionsWith(preds ...predicate.UserSubscription) predicate.Group {
  2255. return predicate.Group(func(s *sql.Selector) {
  2256. step := newSubscriptionsStep()
  2257. sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
  2258. for _, p := range preds {
  2259. p(s)
  2260. }
  2261. })
  2262. })
  2263. }
  2264. // HasUsageLogs applies the HasEdge predicate on the "usage_logs" edge.
  2265. func HasUsageLogs() predicate.Group {
  2266. return predicate.Group(func(s *sql.Selector) {
  2267. step := sqlgraph.NewStep(
  2268. sqlgraph.From(Table, FieldID),
  2269. sqlgraph.Edge(sqlgraph.O2M, false, UsageLogsTable, UsageLogsColumn),
  2270. )
  2271. sqlgraph.HasNeighbors(s, step)
  2272. })
  2273. }
  2274. // HasUsageLogsWith applies the HasEdge predicate on the "usage_logs" edge with a given conditions (other predicates).
  2275. func HasUsageLogsWith(preds ...predicate.UsageLog) predicate.Group {
  2276. return predicate.Group(func(s *sql.Selector) {
  2277. step := newUsageLogsStep()
  2278. sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
  2279. for _, p := range preds {
  2280. p(s)
  2281. }
  2282. })
  2283. })
  2284. }
  2285. // HasAccounts applies the HasEdge predicate on the "accounts" edge.
  2286. func HasAccounts() predicate.Group {
  2287. return predicate.Group(func(s *sql.Selector) {
  2288. step := sqlgraph.NewStep(
  2289. sqlgraph.From(Table, FieldID),
  2290. sqlgraph.Edge(sqlgraph.M2M, true, AccountsTable, AccountsPrimaryKey...),
  2291. )
  2292. sqlgraph.HasNeighbors(s, step)
  2293. })
  2294. }
  2295. // HasAccountsWith applies the HasEdge predicate on the "accounts" edge with a given conditions (other predicates).
  2296. func HasAccountsWith(preds ...predicate.Account) predicate.Group {
  2297. return predicate.Group(func(s *sql.Selector) {
  2298. step := newAccountsStep()
  2299. sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
  2300. for _, p := range preds {
  2301. p(s)
  2302. }
  2303. })
  2304. })
  2305. }
  2306. // HasAllowedUsers applies the HasEdge predicate on the "allowed_users" edge.
  2307. func HasAllowedUsers() predicate.Group {
  2308. return predicate.Group(func(s *sql.Selector) {
  2309. step := sqlgraph.NewStep(
  2310. sqlgraph.From(Table, FieldID),
  2311. sqlgraph.Edge(sqlgraph.M2M, true, AllowedUsersTable, AllowedUsersPrimaryKey...),
  2312. )
  2313. sqlgraph.HasNeighbors(s, step)
  2314. })
  2315. }
  2316. // HasAllowedUsersWith applies the HasEdge predicate on the "allowed_users" edge with a given conditions (other predicates).
  2317. func HasAllowedUsersWith(preds ...predicate.User) predicate.Group {
  2318. return predicate.Group(func(s *sql.Selector) {
  2319. step := newAllowedUsersStep()
  2320. sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
  2321. for _, p := range preds {
  2322. p(s)
  2323. }
  2324. })
  2325. })
  2326. }
  2327. // HasAccountGroups applies the HasEdge predicate on the "account_groups" edge.
  2328. func HasAccountGroups() predicate.Group {
  2329. return predicate.Group(func(s *sql.Selector) {
  2330. step := sqlgraph.NewStep(
  2331. sqlgraph.From(Table, FieldID),
  2332. sqlgraph.Edge(sqlgraph.O2M, true, AccountGroupsTable, AccountGroupsColumn),
  2333. )
  2334. sqlgraph.HasNeighbors(s, step)
  2335. })
  2336. }
  2337. // HasAccountGroupsWith applies the HasEdge predicate on the "account_groups" edge with a given conditions (other predicates).
  2338. func HasAccountGroupsWith(preds ...predicate.AccountGroup) predicate.Group {
  2339. return predicate.Group(func(s *sql.Selector) {
  2340. step := newAccountGroupsStep()
  2341. sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
  2342. for _, p := range preds {
  2343. p(s)
  2344. }
  2345. })
  2346. })
  2347. }
  2348. // HasUserAllowedGroups applies the HasEdge predicate on the "user_allowed_groups" edge.
  2349. func HasUserAllowedGroups() predicate.Group {
  2350. return predicate.Group(func(s *sql.Selector) {
  2351. step := sqlgraph.NewStep(
  2352. sqlgraph.From(Table, FieldID),
  2353. sqlgraph.Edge(sqlgraph.O2M, true, UserAllowedGroupsTable, UserAllowedGroupsColumn),
  2354. )
  2355. sqlgraph.HasNeighbors(s, step)
  2356. })
  2357. }
  2358. // HasUserAllowedGroupsWith applies the HasEdge predicate on the "user_allowed_groups" edge with a given conditions (other predicates).
  2359. func HasUserAllowedGroupsWith(preds ...predicate.UserAllowedGroup) predicate.Group {
  2360. return predicate.Group(func(s *sql.Selector) {
  2361. step := newUserAllowedGroupsStep()
  2362. sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
  2363. for _, p := range preds {
  2364. p(s)
  2365. }
  2366. })
  2367. })
  2368. }
  2369. // And groups predicates with the AND operator between them.
  2370. func And(predicates ...predicate.Group) predicate.Group {
  2371. return predicate.Group(sql.AndPredicates(predicates...))
  2372. }
  2373. // Or groups predicates with the OR operator between them.
  2374. func Or(predicates ...predicate.Group) predicate.Group {
  2375. return predicate.Group(sql.OrPredicates(predicates...))
  2376. }
  2377. // Not applies the not operator on the given predicate.
  2378. func Not(p predicate.Group) predicate.Group {
  2379. return predicate.Group(sql.NotPredicates(p))
  2380. }