where.go 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285
  1. // Code generated by ent, DO NOT EDIT.
  2. package wxcard
  3. import (
  4. "time"
  5. "wechat-api/ent/predicate"
  6. "entgo.io/ent/dialect/sql"
  7. )
  8. // ID filters vertices based on their ID field.
  9. func ID(id uint64) predicate.WxCard {
  10. return predicate.WxCard(sql.FieldEQ(FieldID, id))
  11. }
  12. // IDEQ applies the EQ predicate on the ID field.
  13. func IDEQ(id uint64) predicate.WxCard {
  14. return predicate.WxCard(sql.FieldEQ(FieldID, id))
  15. }
  16. // IDNEQ applies the NEQ predicate on the ID field.
  17. func IDNEQ(id uint64) predicate.WxCard {
  18. return predicate.WxCard(sql.FieldNEQ(FieldID, id))
  19. }
  20. // IDIn applies the In predicate on the ID field.
  21. func IDIn(ids ...uint64) predicate.WxCard {
  22. return predicate.WxCard(sql.FieldIn(FieldID, ids...))
  23. }
  24. // IDNotIn applies the NotIn predicate on the ID field.
  25. func IDNotIn(ids ...uint64) predicate.WxCard {
  26. return predicate.WxCard(sql.FieldNotIn(FieldID, ids...))
  27. }
  28. // IDGT applies the GT predicate on the ID field.
  29. func IDGT(id uint64) predicate.WxCard {
  30. return predicate.WxCard(sql.FieldGT(FieldID, id))
  31. }
  32. // IDGTE applies the GTE predicate on the ID field.
  33. func IDGTE(id uint64) predicate.WxCard {
  34. return predicate.WxCard(sql.FieldGTE(FieldID, id))
  35. }
  36. // IDLT applies the LT predicate on the ID field.
  37. func IDLT(id uint64) predicate.WxCard {
  38. return predicate.WxCard(sql.FieldLT(FieldID, id))
  39. }
  40. // IDLTE applies the LTE predicate on the ID field.
  41. func IDLTE(id uint64) predicate.WxCard {
  42. return predicate.WxCard(sql.FieldLTE(FieldID, id))
  43. }
  44. // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
  45. func CreatedAt(v time.Time) predicate.WxCard {
  46. return predicate.WxCard(sql.FieldEQ(FieldCreatedAt, v))
  47. }
  48. // UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
  49. func UpdatedAt(v time.Time) predicate.WxCard {
  50. return predicate.WxCard(sql.FieldEQ(FieldUpdatedAt, v))
  51. }
  52. // DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
  53. func DeletedAt(v time.Time) predicate.WxCard {
  54. return predicate.WxCard(sql.FieldEQ(FieldDeletedAt, v))
  55. }
  56. // UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
  57. func UserID(v uint64) predicate.WxCard {
  58. return predicate.WxCard(sql.FieldEQ(FieldUserID, v))
  59. }
  60. // WxUserID applies equality check predicate on the "wx_user_id" field. It's identical to WxUserIDEQ.
  61. func WxUserID(v uint64) predicate.WxCard {
  62. return predicate.WxCard(sql.FieldEQ(FieldWxUserID, v))
  63. }
  64. // Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ.
  65. func Avatar(v string) predicate.WxCard {
  66. return predicate.WxCard(sql.FieldEQ(FieldAvatar, v))
  67. }
  68. // Logo applies equality check predicate on the "logo" field. It's identical to LogoEQ.
  69. func Logo(v string) predicate.WxCard {
  70. return predicate.WxCard(sql.FieldEQ(FieldLogo, v))
  71. }
  72. // Name applies equality check predicate on the "name" field. It's identical to NameEQ.
  73. func Name(v string) predicate.WxCard {
  74. return predicate.WxCard(sql.FieldEQ(FieldName, v))
  75. }
  76. // Company applies equality check predicate on the "company" field. It's identical to CompanyEQ.
  77. func Company(v string) predicate.WxCard {
  78. return predicate.WxCard(sql.FieldEQ(FieldCompany, v))
  79. }
  80. // Address applies equality check predicate on the "address" field. It's identical to AddressEQ.
  81. func Address(v string) predicate.WxCard {
  82. return predicate.WxCard(sql.FieldEQ(FieldAddress, v))
  83. }
  84. // Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.
  85. func Phone(v string) predicate.WxCard {
  86. return predicate.WxCard(sql.FieldEQ(FieldPhone, v))
  87. }
  88. // OfficialAccount applies equality check predicate on the "official_account" field. It's identical to OfficialAccountEQ.
  89. func OfficialAccount(v string) predicate.WxCard {
  90. return predicate.WxCard(sql.FieldEQ(FieldOfficialAccount, v))
  91. }
  92. // WechatAccount applies equality check predicate on the "wechat_account" field. It's identical to WechatAccountEQ.
  93. func WechatAccount(v string) predicate.WxCard {
  94. return predicate.WxCard(sql.FieldEQ(FieldWechatAccount, v))
  95. }
  96. // Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
  97. func Email(v string) predicate.WxCard {
  98. return predicate.WxCard(sql.FieldEQ(FieldEmail, v))
  99. }
  100. // APIBase applies equality check predicate on the "api_base" field. It's identical to APIBaseEQ.
  101. func APIBase(v string) predicate.WxCard {
  102. return predicate.WxCard(sql.FieldEQ(FieldAPIBase, v))
  103. }
  104. // APIKey applies equality check predicate on the "api_key" field. It's identical to APIKeyEQ.
  105. func APIKey(v string) predicate.WxCard {
  106. return predicate.WxCard(sql.FieldEQ(FieldAPIKey, v))
  107. }
  108. // AiInfo applies equality check predicate on the "ai_info" field. It's identical to AiInfoEQ.
  109. func AiInfo(v string) predicate.WxCard {
  110. return predicate.WxCard(sql.FieldEQ(FieldAiInfo, v))
  111. }
  112. // Intro applies equality check predicate on the "intro" field. It's identical to IntroEQ.
  113. func Intro(v string) predicate.WxCard {
  114. return predicate.WxCard(sql.FieldEQ(FieldIntro, v))
  115. }
  116. // CreatedAtEQ applies the EQ predicate on the "created_at" field.
  117. func CreatedAtEQ(v time.Time) predicate.WxCard {
  118. return predicate.WxCard(sql.FieldEQ(FieldCreatedAt, v))
  119. }
  120. // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
  121. func CreatedAtNEQ(v time.Time) predicate.WxCard {
  122. return predicate.WxCard(sql.FieldNEQ(FieldCreatedAt, v))
  123. }
  124. // CreatedAtIn applies the In predicate on the "created_at" field.
  125. func CreatedAtIn(vs ...time.Time) predicate.WxCard {
  126. return predicate.WxCard(sql.FieldIn(FieldCreatedAt, vs...))
  127. }
  128. // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
  129. func CreatedAtNotIn(vs ...time.Time) predicate.WxCard {
  130. return predicate.WxCard(sql.FieldNotIn(FieldCreatedAt, vs...))
  131. }
  132. // CreatedAtGT applies the GT predicate on the "created_at" field.
  133. func CreatedAtGT(v time.Time) predicate.WxCard {
  134. return predicate.WxCard(sql.FieldGT(FieldCreatedAt, v))
  135. }
  136. // CreatedAtGTE applies the GTE predicate on the "created_at" field.
  137. func CreatedAtGTE(v time.Time) predicate.WxCard {
  138. return predicate.WxCard(sql.FieldGTE(FieldCreatedAt, v))
  139. }
  140. // CreatedAtLT applies the LT predicate on the "created_at" field.
  141. func CreatedAtLT(v time.Time) predicate.WxCard {
  142. return predicate.WxCard(sql.FieldLT(FieldCreatedAt, v))
  143. }
  144. // CreatedAtLTE applies the LTE predicate on the "created_at" field.
  145. func CreatedAtLTE(v time.Time) predicate.WxCard {
  146. return predicate.WxCard(sql.FieldLTE(FieldCreatedAt, v))
  147. }
  148. // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
  149. func UpdatedAtEQ(v time.Time) predicate.WxCard {
  150. return predicate.WxCard(sql.FieldEQ(FieldUpdatedAt, v))
  151. }
  152. // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
  153. func UpdatedAtNEQ(v time.Time) predicate.WxCard {
  154. return predicate.WxCard(sql.FieldNEQ(FieldUpdatedAt, v))
  155. }
  156. // UpdatedAtIn applies the In predicate on the "updated_at" field.
  157. func UpdatedAtIn(vs ...time.Time) predicate.WxCard {
  158. return predicate.WxCard(sql.FieldIn(FieldUpdatedAt, vs...))
  159. }
  160. // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
  161. func UpdatedAtNotIn(vs ...time.Time) predicate.WxCard {
  162. return predicate.WxCard(sql.FieldNotIn(FieldUpdatedAt, vs...))
  163. }
  164. // UpdatedAtGT applies the GT predicate on the "updated_at" field.
  165. func UpdatedAtGT(v time.Time) predicate.WxCard {
  166. return predicate.WxCard(sql.FieldGT(FieldUpdatedAt, v))
  167. }
  168. // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
  169. func UpdatedAtGTE(v time.Time) predicate.WxCard {
  170. return predicate.WxCard(sql.FieldGTE(FieldUpdatedAt, v))
  171. }
  172. // UpdatedAtLT applies the LT predicate on the "updated_at" field.
  173. func UpdatedAtLT(v time.Time) predicate.WxCard {
  174. return predicate.WxCard(sql.FieldLT(FieldUpdatedAt, v))
  175. }
  176. // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
  177. func UpdatedAtLTE(v time.Time) predicate.WxCard {
  178. return predicate.WxCard(sql.FieldLTE(FieldUpdatedAt, v))
  179. }
  180. // DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
  181. func DeletedAtEQ(v time.Time) predicate.WxCard {
  182. return predicate.WxCard(sql.FieldEQ(FieldDeletedAt, v))
  183. }
  184. // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
  185. func DeletedAtNEQ(v time.Time) predicate.WxCard {
  186. return predicate.WxCard(sql.FieldNEQ(FieldDeletedAt, v))
  187. }
  188. // DeletedAtIn applies the In predicate on the "deleted_at" field.
  189. func DeletedAtIn(vs ...time.Time) predicate.WxCard {
  190. return predicate.WxCard(sql.FieldIn(FieldDeletedAt, vs...))
  191. }
  192. // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
  193. func DeletedAtNotIn(vs ...time.Time) predicate.WxCard {
  194. return predicate.WxCard(sql.FieldNotIn(FieldDeletedAt, vs...))
  195. }
  196. // DeletedAtGT applies the GT predicate on the "deleted_at" field.
  197. func DeletedAtGT(v time.Time) predicate.WxCard {
  198. return predicate.WxCard(sql.FieldGT(FieldDeletedAt, v))
  199. }
  200. // DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
  201. func DeletedAtGTE(v time.Time) predicate.WxCard {
  202. return predicate.WxCard(sql.FieldGTE(FieldDeletedAt, v))
  203. }
  204. // DeletedAtLT applies the LT predicate on the "deleted_at" field.
  205. func DeletedAtLT(v time.Time) predicate.WxCard {
  206. return predicate.WxCard(sql.FieldLT(FieldDeletedAt, v))
  207. }
  208. // DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
  209. func DeletedAtLTE(v time.Time) predicate.WxCard {
  210. return predicate.WxCard(sql.FieldLTE(FieldDeletedAt, v))
  211. }
  212. // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
  213. func DeletedAtIsNil() predicate.WxCard {
  214. return predicate.WxCard(sql.FieldIsNull(FieldDeletedAt))
  215. }
  216. // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
  217. func DeletedAtNotNil() predicate.WxCard {
  218. return predicate.WxCard(sql.FieldNotNull(FieldDeletedAt))
  219. }
  220. // UserIDEQ applies the EQ predicate on the "user_id" field.
  221. func UserIDEQ(v uint64) predicate.WxCard {
  222. return predicate.WxCard(sql.FieldEQ(FieldUserID, v))
  223. }
  224. // UserIDNEQ applies the NEQ predicate on the "user_id" field.
  225. func UserIDNEQ(v uint64) predicate.WxCard {
  226. return predicate.WxCard(sql.FieldNEQ(FieldUserID, v))
  227. }
  228. // UserIDIn applies the In predicate on the "user_id" field.
  229. func UserIDIn(vs ...uint64) predicate.WxCard {
  230. return predicate.WxCard(sql.FieldIn(FieldUserID, vs...))
  231. }
  232. // UserIDNotIn applies the NotIn predicate on the "user_id" field.
  233. func UserIDNotIn(vs ...uint64) predicate.WxCard {
  234. return predicate.WxCard(sql.FieldNotIn(FieldUserID, vs...))
  235. }
  236. // UserIDGT applies the GT predicate on the "user_id" field.
  237. func UserIDGT(v uint64) predicate.WxCard {
  238. return predicate.WxCard(sql.FieldGT(FieldUserID, v))
  239. }
  240. // UserIDGTE applies the GTE predicate on the "user_id" field.
  241. func UserIDGTE(v uint64) predicate.WxCard {
  242. return predicate.WxCard(sql.FieldGTE(FieldUserID, v))
  243. }
  244. // UserIDLT applies the LT predicate on the "user_id" field.
  245. func UserIDLT(v uint64) predicate.WxCard {
  246. return predicate.WxCard(sql.FieldLT(FieldUserID, v))
  247. }
  248. // UserIDLTE applies the LTE predicate on the "user_id" field.
  249. func UserIDLTE(v uint64) predicate.WxCard {
  250. return predicate.WxCard(sql.FieldLTE(FieldUserID, v))
  251. }
  252. // UserIDIsNil applies the IsNil predicate on the "user_id" field.
  253. func UserIDIsNil() predicate.WxCard {
  254. return predicate.WxCard(sql.FieldIsNull(FieldUserID))
  255. }
  256. // UserIDNotNil applies the NotNil predicate on the "user_id" field.
  257. func UserIDNotNil() predicate.WxCard {
  258. return predicate.WxCard(sql.FieldNotNull(FieldUserID))
  259. }
  260. // WxUserIDEQ applies the EQ predicate on the "wx_user_id" field.
  261. func WxUserIDEQ(v uint64) predicate.WxCard {
  262. return predicate.WxCard(sql.FieldEQ(FieldWxUserID, v))
  263. }
  264. // WxUserIDNEQ applies the NEQ predicate on the "wx_user_id" field.
  265. func WxUserIDNEQ(v uint64) predicate.WxCard {
  266. return predicate.WxCard(sql.FieldNEQ(FieldWxUserID, v))
  267. }
  268. // WxUserIDIn applies the In predicate on the "wx_user_id" field.
  269. func WxUserIDIn(vs ...uint64) predicate.WxCard {
  270. return predicate.WxCard(sql.FieldIn(FieldWxUserID, vs...))
  271. }
  272. // WxUserIDNotIn applies the NotIn predicate on the "wx_user_id" field.
  273. func WxUserIDNotIn(vs ...uint64) predicate.WxCard {
  274. return predicate.WxCard(sql.FieldNotIn(FieldWxUserID, vs...))
  275. }
  276. // WxUserIDGT applies the GT predicate on the "wx_user_id" field.
  277. func WxUserIDGT(v uint64) predicate.WxCard {
  278. return predicate.WxCard(sql.FieldGT(FieldWxUserID, v))
  279. }
  280. // WxUserIDGTE applies the GTE predicate on the "wx_user_id" field.
  281. func WxUserIDGTE(v uint64) predicate.WxCard {
  282. return predicate.WxCard(sql.FieldGTE(FieldWxUserID, v))
  283. }
  284. // WxUserIDLT applies the LT predicate on the "wx_user_id" field.
  285. func WxUserIDLT(v uint64) predicate.WxCard {
  286. return predicate.WxCard(sql.FieldLT(FieldWxUserID, v))
  287. }
  288. // WxUserIDLTE applies the LTE predicate on the "wx_user_id" field.
  289. func WxUserIDLTE(v uint64) predicate.WxCard {
  290. return predicate.WxCard(sql.FieldLTE(FieldWxUserID, v))
  291. }
  292. // WxUserIDIsNil applies the IsNil predicate on the "wx_user_id" field.
  293. func WxUserIDIsNil() predicate.WxCard {
  294. return predicate.WxCard(sql.FieldIsNull(FieldWxUserID))
  295. }
  296. // WxUserIDNotNil applies the NotNil predicate on the "wx_user_id" field.
  297. func WxUserIDNotNil() predicate.WxCard {
  298. return predicate.WxCard(sql.FieldNotNull(FieldWxUserID))
  299. }
  300. // AvatarEQ applies the EQ predicate on the "avatar" field.
  301. func AvatarEQ(v string) predicate.WxCard {
  302. return predicate.WxCard(sql.FieldEQ(FieldAvatar, v))
  303. }
  304. // AvatarNEQ applies the NEQ predicate on the "avatar" field.
  305. func AvatarNEQ(v string) predicate.WxCard {
  306. return predicate.WxCard(sql.FieldNEQ(FieldAvatar, v))
  307. }
  308. // AvatarIn applies the In predicate on the "avatar" field.
  309. func AvatarIn(vs ...string) predicate.WxCard {
  310. return predicate.WxCard(sql.FieldIn(FieldAvatar, vs...))
  311. }
  312. // AvatarNotIn applies the NotIn predicate on the "avatar" field.
  313. func AvatarNotIn(vs ...string) predicate.WxCard {
  314. return predicate.WxCard(sql.FieldNotIn(FieldAvatar, vs...))
  315. }
  316. // AvatarGT applies the GT predicate on the "avatar" field.
  317. func AvatarGT(v string) predicate.WxCard {
  318. return predicate.WxCard(sql.FieldGT(FieldAvatar, v))
  319. }
  320. // AvatarGTE applies the GTE predicate on the "avatar" field.
  321. func AvatarGTE(v string) predicate.WxCard {
  322. return predicate.WxCard(sql.FieldGTE(FieldAvatar, v))
  323. }
  324. // AvatarLT applies the LT predicate on the "avatar" field.
  325. func AvatarLT(v string) predicate.WxCard {
  326. return predicate.WxCard(sql.FieldLT(FieldAvatar, v))
  327. }
  328. // AvatarLTE applies the LTE predicate on the "avatar" field.
  329. func AvatarLTE(v string) predicate.WxCard {
  330. return predicate.WxCard(sql.FieldLTE(FieldAvatar, v))
  331. }
  332. // AvatarContains applies the Contains predicate on the "avatar" field.
  333. func AvatarContains(v string) predicate.WxCard {
  334. return predicate.WxCard(sql.FieldContains(FieldAvatar, v))
  335. }
  336. // AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field.
  337. func AvatarHasPrefix(v string) predicate.WxCard {
  338. return predicate.WxCard(sql.FieldHasPrefix(FieldAvatar, v))
  339. }
  340. // AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field.
  341. func AvatarHasSuffix(v string) predicate.WxCard {
  342. return predicate.WxCard(sql.FieldHasSuffix(FieldAvatar, v))
  343. }
  344. // AvatarEqualFold applies the EqualFold predicate on the "avatar" field.
  345. func AvatarEqualFold(v string) predicate.WxCard {
  346. return predicate.WxCard(sql.FieldEqualFold(FieldAvatar, v))
  347. }
  348. // AvatarContainsFold applies the ContainsFold predicate on the "avatar" field.
  349. func AvatarContainsFold(v string) predicate.WxCard {
  350. return predicate.WxCard(sql.FieldContainsFold(FieldAvatar, v))
  351. }
  352. // LogoEQ applies the EQ predicate on the "logo" field.
  353. func LogoEQ(v string) predicate.WxCard {
  354. return predicate.WxCard(sql.FieldEQ(FieldLogo, v))
  355. }
  356. // LogoNEQ applies the NEQ predicate on the "logo" field.
  357. func LogoNEQ(v string) predicate.WxCard {
  358. return predicate.WxCard(sql.FieldNEQ(FieldLogo, v))
  359. }
  360. // LogoIn applies the In predicate on the "logo" field.
  361. func LogoIn(vs ...string) predicate.WxCard {
  362. return predicate.WxCard(sql.FieldIn(FieldLogo, vs...))
  363. }
  364. // LogoNotIn applies the NotIn predicate on the "logo" field.
  365. func LogoNotIn(vs ...string) predicate.WxCard {
  366. return predicate.WxCard(sql.FieldNotIn(FieldLogo, vs...))
  367. }
  368. // LogoGT applies the GT predicate on the "logo" field.
  369. func LogoGT(v string) predicate.WxCard {
  370. return predicate.WxCard(sql.FieldGT(FieldLogo, v))
  371. }
  372. // LogoGTE applies the GTE predicate on the "logo" field.
  373. func LogoGTE(v string) predicate.WxCard {
  374. return predicate.WxCard(sql.FieldGTE(FieldLogo, v))
  375. }
  376. // LogoLT applies the LT predicate on the "logo" field.
  377. func LogoLT(v string) predicate.WxCard {
  378. return predicate.WxCard(sql.FieldLT(FieldLogo, v))
  379. }
  380. // LogoLTE applies the LTE predicate on the "logo" field.
  381. func LogoLTE(v string) predicate.WxCard {
  382. return predicate.WxCard(sql.FieldLTE(FieldLogo, v))
  383. }
  384. // LogoContains applies the Contains predicate on the "logo" field.
  385. func LogoContains(v string) predicate.WxCard {
  386. return predicate.WxCard(sql.FieldContains(FieldLogo, v))
  387. }
  388. // LogoHasPrefix applies the HasPrefix predicate on the "logo" field.
  389. func LogoHasPrefix(v string) predicate.WxCard {
  390. return predicate.WxCard(sql.FieldHasPrefix(FieldLogo, v))
  391. }
  392. // LogoHasSuffix applies the HasSuffix predicate on the "logo" field.
  393. func LogoHasSuffix(v string) predicate.WxCard {
  394. return predicate.WxCard(sql.FieldHasSuffix(FieldLogo, v))
  395. }
  396. // LogoEqualFold applies the EqualFold predicate on the "logo" field.
  397. func LogoEqualFold(v string) predicate.WxCard {
  398. return predicate.WxCard(sql.FieldEqualFold(FieldLogo, v))
  399. }
  400. // LogoContainsFold applies the ContainsFold predicate on the "logo" field.
  401. func LogoContainsFold(v string) predicate.WxCard {
  402. return predicate.WxCard(sql.FieldContainsFold(FieldLogo, v))
  403. }
  404. // NameEQ applies the EQ predicate on the "name" field.
  405. func NameEQ(v string) predicate.WxCard {
  406. return predicate.WxCard(sql.FieldEQ(FieldName, v))
  407. }
  408. // NameNEQ applies the NEQ predicate on the "name" field.
  409. func NameNEQ(v string) predicate.WxCard {
  410. return predicate.WxCard(sql.FieldNEQ(FieldName, v))
  411. }
  412. // NameIn applies the In predicate on the "name" field.
  413. func NameIn(vs ...string) predicate.WxCard {
  414. return predicate.WxCard(sql.FieldIn(FieldName, vs...))
  415. }
  416. // NameNotIn applies the NotIn predicate on the "name" field.
  417. func NameNotIn(vs ...string) predicate.WxCard {
  418. return predicate.WxCard(sql.FieldNotIn(FieldName, vs...))
  419. }
  420. // NameGT applies the GT predicate on the "name" field.
  421. func NameGT(v string) predicate.WxCard {
  422. return predicate.WxCard(sql.FieldGT(FieldName, v))
  423. }
  424. // NameGTE applies the GTE predicate on the "name" field.
  425. func NameGTE(v string) predicate.WxCard {
  426. return predicate.WxCard(sql.FieldGTE(FieldName, v))
  427. }
  428. // NameLT applies the LT predicate on the "name" field.
  429. func NameLT(v string) predicate.WxCard {
  430. return predicate.WxCard(sql.FieldLT(FieldName, v))
  431. }
  432. // NameLTE applies the LTE predicate on the "name" field.
  433. func NameLTE(v string) predicate.WxCard {
  434. return predicate.WxCard(sql.FieldLTE(FieldName, v))
  435. }
  436. // NameContains applies the Contains predicate on the "name" field.
  437. func NameContains(v string) predicate.WxCard {
  438. return predicate.WxCard(sql.FieldContains(FieldName, v))
  439. }
  440. // NameHasPrefix applies the HasPrefix predicate on the "name" field.
  441. func NameHasPrefix(v string) predicate.WxCard {
  442. return predicate.WxCard(sql.FieldHasPrefix(FieldName, v))
  443. }
  444. // NameHasSuffix applies the HasSuffix predicate on the "name" field.
  445. func NameHasSuffix(v string) predicate.WxCard {
  446. return predicate.WxCard(sql.FieldHasSuffix(FieldName, v))
  447. }
  448. // NameEqualFold applies the EqualFold predicate on the "name" field.
  449. func NameEqualFold(v string) predicate.WxCard {
  450. return predicate.WxCard(sql.FieldEqualFold(FieldName, v))
  451. }
  452. // NameContainsFold applies the ContainsFold predicate on the "name" field.
  453. func NameContainsFold(v string) predicate.WxCard {
  454. return predicate.WxCard(sql.FieldContainsFold(FieldName, v))
  455. }
  456. // CompanyEQ applies the EQ predicate on the "company" field.
  457. func CompanyEQ(v string) predicate.WxCard {
  458. return predicate.WxCard(sql.FieldEQ(FieldCompany, v))
  459. }
  460. // CompanyNEQ applies the NEQ predicate on the "company" field.
  461. func CompanyNEQ(v string) predicate.WxCard {
  462. return predicate.WxCard(sql.FieldNEQ(FieldCompany, v))
  463. }
  464. // CompanyIn applies the In predicate on the "company" field.
  465. func CompanyIn(vs ...string) predicate.WxCard {
  466. return predicate.WxCard(sql.FieldIn(FieldCompany, vs...))
  467. }
  468. // CompanyNotIn applies the NotIn predicate on the "company" field.
  469. func CompanyNotIn(vs ...string) predicate.WxCard {
  470. return predicate.WxCard(sql.FieldNotIn(FieldCompany, vs...))
  471. }
  472. // CompanyGT applies the GT predicate on the "company" field.
  473. func CompanyGT(v string) predicate.WxCard {
  474. return predicate.WxCard(sql.FieldGT(FieldCompany, v))
  475. }
  476. // CompanyGTE applies the GTE predicate on the "company" field.
  477. func CompanyGTE(v string) predicate.WxCard {
  478. return predicate.WxCard(sql.FieldGTE(FieldCompany, v))
  479. }
  480. // CompanyLT applies the LT predicate on the "company" field.
  481. func CompanyLT(v string) predicate.WxCard {
  482. return predicate.WxCard(sql.FieldLT(FieldCompany, v))
  483. }
  484. // CompanyLTE applies the LTE predicate on the "company" field.
  485. func CompanyLTE(v string) predicate.WxCard {
  486. return predicate.WxCard(sql.FieldLTE(FieldCompany, v))
  487. }
  488. // CompanyContains applies the Contains predicate on the "company" field.
  489. func CompanyContains(v string) predicate.WxCard {
  490. return predicate.WxCard(sql.FieldContains(FieldCompany, v))
  491. }
  492. // CompanyHasPrefix applies the HasPrefix predicate on the "company" field.
  493. func CompanyHasPrefix(v string) predicate.WxCard {
  494. return predicate.WxCard(sql.FieldHasPrefix(FieldCompany, v))
  495. }
  496. // CompanyHasSuffix applies the HasSuffix predicate on the "company" field.
  497. func CompanyHasSuffix(v string) predicate.WxCard {
  498. return predicate.WxCard(sql.FieldHasSuffix(FieldCompany, v))
  499. }
  500. // CompanyEqualFold applies the EqualFold predicate on the "company" field.
  501. func CompanyEqualFold(v string) predicate.WxCard {
  502. return predicate.WxCard(sql.FieldEqualFold(FieldCompany, v))
  503. }
  504. // CompanyContainsFold applies the ContainsFold predicate on the "company" field.
  505. func CompanyContainsFold(v string) predicate.WxCard {
  506. return predicate.WxCard(sql.FieldContainsFold(FieldCompany, v))
  507. }
  508. // AddressEQ applies the EQ predicate on the "address" field.
  509. func AddressEQ(v string) predicate.WxCard {
  510. return predicate.WxCard(sql.FieldEQ(FieldAddress, v))
  511. }
  512. // AddressNEQ applies the NEQ predicate on the "address" field.
  513. func AddressNEQ(v string) predicate.WxCard {
  514. return predicate.WxCard(sql.FieldNEQ(FieldAddress, v))
  515. }
  516. // AddressIn applies the In predicate on the "address" field.
  517. func AddressIn(vs ...string) predicate.WxCard {
  518. return predicate.WxCard(sql.FieldIn(FieldAddress, vs...))
  519. }
  520. // AddressNotIn applies the NotIn predicate on the "address" field.
  521. func AddressNotIn(vs ...string) predicate.WxCard {
  522. return predicate.WxCard(sql.FieldNotIn(FieldAddress, vs...))
  523. }
  524. // AddressGT applies the GT predicate on the "address" field.
  525. func AddressGT(v string) predicate.WxCard {
  526. return predicate.WxCard(sql.FieldGT(FieldAddress, v))
  527. }
  528. // AddressGTE applies the GTE predicate on the "address" field.
  529. func AddressGTE(v string) predicate.WxCard {
  530. return predicate.WxCard(sql.FieldGTE(FieldAddress, v))
  531. }
  532. // AddressLT applies the LT predicate on the "address" field.
  533. func AddressLT(v string) predicate.WxCard {
  534. return predicate.WxCard(sql.FieldLT(FieldAddress, v))
  535. }
  536. // AddressLTE applies the LTE predicate on the "address" field.
  537. func AddressLTE(v string) predicate.WxCard {
  538. return predicate.WxCard(sql.FieldLTE(FieldAddress, v))
  539. }
  540. // AddressContains applies the Contains predicate on the "address" field.
  541. func AddressContains(v string) predicate.WxCard {
  542. return predicate.WxCard(sql.FieldContains(FieldAddress, v))
  543. }
  544. // AddressHasPrefix applies the HasPrefix predicate on the "address" field.
  545. func AddressHasPrefix(v string) predicate.WxCard {
  546. return predicate.WxCard(sql.FieldHasPrefix(FieldAddress, v))
  547. }
  548. // AddressHasSuffix applies the HasSuffix predicate on the "address" field.
  549. func AddressHasSuffix(v string) predicate.WxCard {
  550. return predicate.WxCard(sql.FieldHasSuffix(FieldAddress, v))
  551. }
  552. // AddressEqualFold applies the EqualFold predicate on the "address" field.
  553. func AddressEqualFold(v string) predicate.WxCard {
  554. return predicate.WxCard(sql.FieldEqualFold(FieldAddress, v))
  555. }
  556. // AddressContainsFold applies the ContainsFold predicate on the "address" field.
  557. func AddressContainsFold(v string) predicate.WxCard {
  558. return predicate.WxCard(sql.FieldContainsFold(FieldAddress, v))
  559. }
  560. // PhoneEQ applies the EQ predicate on the "phone" field.
  561. func PhoneEQ(v string) predicate.WxCard {
  562. return predicate.WxCard(sql.FieldEQ(FieldPhone, v))
  563. }
  564. // PhoneNEQ applies the NEQ predicate on the "phone" field.
  565. func PhoneNEQ(v string) predicate.WxCard {
  566. return predicate.WxCard(sql.FieldNEQ(FieldPhone, v))
  567. }
  568. // PhoneIn applies the In predicate on the "phone" field.
  569. func PhoneIn(vs ...string) predicate.WxCard {
  570. return predicate.WxCard(sql.FieldIn(FieldPhone, vs...))
  571. }
  572. // PhoneNotIn applies the NotIn predicate on the "phone" field.
  573. func PhoneNotIn(vs ...string) predicate.WxCard {
  574. return predicate.WxCard(sql.FieldNotIn(FieldPhone, vs...))
  575. }
  576. // PhoneGT applies the GT predicate on the "phone" field.
  577. func PhoneGT(v string) predicate.WxCard {
  578. return predicate.WxCard(sql.FieldGT(FieldPhone, v))
  579. }
  580. // PhoneGTE applies the GTE predicate on the "phone" field.
  581. func PhoneGTE(v string) predicate.WxCard {
  582. return predicate.WxCard(sql.FieldGTE(FieldPhone, v))
  583. }
  584. // PhoneLT applies the LT predicate on the "phone" field.
  585. func PhoneLT(v string) predicate.WxCard {
  586. return predicate.WxCard(sql.FieldLT(FieldPhone, v))
  587. }
  588. // PhoneLTE applies the LTE predicate on the "phone" field.
  589. func PhoneLTE(v string) predicate.WxCard {
  590. return predicate.WxCard(sql.FieldLTE(FieldPhone, v))
  591. }
  592. // PhoneContains applies the Contains predicate on the "phone" field.
  593. func PhoneContains(v string) predicate.WxCard {
  594. return predicate.WxCard(sql.FieldContains(FieldPhone, v))
  595. }
  596. // PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
  597. func PhoneHasPrefix(v string) predicate.WxCard {
  598. return predicate.WxCard(sql.FieldHasPrefix(FieldPhone, v))
  599. }
  600. // PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
  601. func PhoneHasSuffix(v string) predicate.WxCard {
  602. return predicate.WxCard(sql.FieldHasSuffix(FieldPhone, v))
  603. }
  604. // PhoneEqualFold applies the EqualFold predicate on the "phone" field.
  605. func PhoneEqualFold(v string) predicate.WxCard {
  606. return predicate.WxCard(sql.FieldEqualFold(FieldPhone, v))
  607. }
  608. // PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
  609. func PhoneContainsFold(v string) predicate.WxCard {
  610. return predicate.WxCard(sql.FieldContainsFold(FieldPhone, v))
  611. }
  612. // OfficialAccountEQ applies the EQ predicate on the "official_account" field.
  613. func OfficialAccountEQ(v string) predicate.WxCard {
  614. return predicate.WxCard(sql.FieldEQ(FieldOfficialAccount, v))
  615. }
  616. // OfficialAccountNEQ applies the NEQ predicate on the "official_account" field.
  617. func OfficialAccountNEQ(v string) predicate.WxCard {
  618. return predicate.WxCard(sql.FieldNEQ(FieldOfficialAccount, v))
  619. }
  620. // OfficialAccountIn applies the In predicate on the "official_account" field.
  621. func OfficialAccountIn(vs ...string) predicate.WxCard {
  622. return predicate.WxCard(sql.FieldIn(FieldOfficialAccount, vs...))
  623. }
  624. // OfficialAccountNotIn applies the NotIn predicate on the "official_account" field.
  625. func OfficialAccountNotIn(vs ...string) predicate.WxCard {
  626. return predicate.WxCard(sql.FieldNotIn(FieldOfficialAccount, vs...))
  627. }
  628. // OfficialAccountGT applies the GT predicate on the "official_account" field.
  629. func OfficialAccountGT(v string) predicate.WxCard {
  630. return predicate.WxCard(sql.FieldGT(FieldOfficialAccount, v))
  631. }
  632. // OfficialAccountGTE applies the GTE predicate on the "official_account" field.
  633. func OfficialAccountGTE(v string) predicate.WxCard {
  634. return predicate.WxCard(sql.FieldGTE(FieldOfficialAccount, v))
  635. }
  636. // OfficialAccountLT applies the LT predicate on the "official_account" field.
  637. func OfficialAccountLT(v string) predicate.WxCard {
  638. return predicate.WxCard(sql.FieldLT(FieldOfficialAccount, v))
  639. }
  640. // OfficialAccountLTE applies the LTE predicate on the "official_account" field.
  641. func OfficialAccountLTE(v string) predicate.WxCard {
  642. return predicate.WxCard(sql.FieldLTE(FieldOfficialAccount, v))
  643. }
  644. // OfficialAccountContains applies the Contains predicate on the "official_account" field.
  645. func OfficialAccountContains(v string) predicate.WxCard {
  646. return predicate.WxCard(sql.FieldContains(FieldOfficialAccount, v))
  647. }
  648. // OfficialAccountHasPrefix applies the HasPrefix predicate on the "official_account" field.
  649. func OfficialAccountHasPrefix(v string) predicate.WxCard {
  650. return predicate.WxCard(sql.FieldHasPrefix(FieldOfficialAccount, v))
  651. }
  652. // OfficialAccountHasSuffix applies the HasSuffix predicate on the "official_account" field.
  653. func OfficialAccountHasSuffix(v string) predicate.WxCard {
  654. return predicate.WxCard(sql.FieldHasSuffix(FieldOfficialAccount, v))
  655. }
  656. // OfficialAccountEqualFold applies the EqualFold predicate on the "official_account" field.
  657. func OfficialAccountEqualFold(v string) predicate.WxCard {
  658. return predicate.WxCard(sql.FieldEqualFold(FieldOfficialAccount, v))
  659. }
  660. // OfficialAccountContainsFold applies the ContainsFold predicate on the "official_account" field.
  661. func OfficialAccountContainsFold(v string) predicate.WxCard {
  662. return predicate.WxCard(sql.FieldContainsFold(FieldOfficialAccount, v))
  663. }
  664. // WechatAccountEQ applies the EQ predicate on the "wechat_account" field.
  665. func WechatAccountEQ(v string) predicate.WxCard {
  666. return predicate.WxCard(sql.FieldEQ(FieldWechatAccount, v))
  667. }
  668. // WechatAccountNEQ applies the NEQ predicate on the "wechat_account" field.
  669. func WechatAccountNEQ(v string) predicate.WxCard {
  670. return predicate.WxCard(sql.FieldNEQ(FieldWechatAccount, v))
  671. }
  672. // WechatAccountIn applies the In predicate on the "wechat_account" field.
  673. func WechatAccountIn(vs ...string) predicate.WxCard {
  674. return predicate.WxCard(sql.FieldIn(FieldWechatAccount, vs...))
  675. }
  676. // WechatAccountNotIn applies the NotIn predicate on the "wechat_account" field.
  677. func WechatAccountNotIn(vs ...string) predicate.WxCard {
  678. return predicate.WxCard(sql.FieldNotIn(FieldWechatAccount, vs...))
  679. }
  680. // WechatAccountGT applies the GT predicate on the "wechat_account" field.
  681. func WechatAccountGT(v string) predicate.WxCard {
  682. return predicate.WxCard(sql.FieldGT(FieldWechatAccount, v))
  683. }
  684. // WechatAccountGTE applies the GTE predicate on the "wechat_account" field.
  685. func WechatAccountGTE(v string) predicate.WxCard {
  686. return predicate.WxCard(sql.FieldGTE(FieldWechatAccount, v))
  687. }
  688. // WechatAccountLT applies the LT predicate on the "wechat_account" field.
  689. func WechatAccountLT(v string) predicate.WxCard {
  690. return predicate.WxCard(sql.FieldLT(FieldWechatAccount, v))
  691. }
  692. // WechatAccountLTE applies the LTE predicate on the "wechat_account" field.
  693. func WechatAccountLTE(v string) predicate.WxCard {
  694. return predicate.WxCard(sql.FieldLTE(FieldWechatAccount, v))
  695. }
  696. // WechatAccountContains applies the Contains predicate on the "wechat_account" field.
  697. func WechatAccountContains(v string) predicate.WxCard {
  698. return predicate.WxCard(sql.FieldContains(FieldWechatAccount, v))
  699. }
  700. // WechatAccountHasPrefix applies the HasPrefix predicate on the "wechat_account" field.
  701. func WechatAccountHasPrefix(v string) predicate.WxCard {
  702. return predicate.WxCard(sql.FieldHasPrefix(FieldWechatAccount, v))
  703. }
  704. // WechatAccountHasSuffix applies the HasSuffix predicate on the "wechat_account" field.
  705. func WechatAccountHasSuffix(v string) predicate.WxCard {
  706. return predicate.WxCard(sql.FieldHasSuffix(FieldWechatAccount, v))
  707. }
  708. // WechatAccountEqualFold applies the EqualFold predicate on the "wechat_account" field.
  709. func WechatAccountEqualFold(v string) predicate.WxCard {
  710. return predicate.WxCard(sql.FieldEqualFold(FieldWechatAccount, v))
  711. }
  712. // WechatAccountContainsFold applies the ContainsFold predicate on the "wechat_account" field.
  713. func WechatAccountContainsFold(v string) predicate.WxCard {
  714. return predicate.WxCard(sql.FieldContainsFold(FieldWechatAccount, v))
  715. }
  716. // EmailEQ applies the EQ predicate on the "email" field.
  717. func EmailEQ(v string) predicate.WxCard {
  718. return predicate.WxCard(sql.FieldEQ(FieldEmail, v))
  719. }
  720. // EmailNEQ applies the NEQ predicate on the "email" field.
  721. func EmailNEQ(v string) predicate.WxCard {
  722. return predicate.WxCard(sql.FieldNEQ(FieldEmail, v))
  723. }
  724. // EmailIn applies the In predicate on the "email" field.
  725. func EmailIn(vs ...string) predicate.WxCard {
  726. return predicate.WxCard(sql.FieldIn(FieldEmail, vs...))
  727. }
  728. // EmailNotIn applies the NotIn predicate on the "email" field.
  729. func EmailNotIn(vs ...string) predicate.WxCard {
  730. return predicate.WxCard(sql.FieldNotIn(FieldEmail, vs...))
  731. }
  732. // EmailGT applies the GT predicate on the "email" field.
  733. func EmailGT(v string) predicate.WxCard {
  734. return predicate.WxCard(sql.FieldGT(FieldEmail, v))
  735. }
  736. // EmailGTE applies the GTE predicate on the "email" field.
  737. func EmailGTE(v string) predicate.WxCard {
  738. return predicate.WxCard(sql.FieldGTE(FieldEmail, v))
  739. }
  740. // EmailLT applies the LT predicate on the "email" field.
  741. func EmailLT(v string) predicate.WxCard {
  742. return predicate.WxCard(sql.FieldLT(FieldEmail, v))
  743. }
  744. // EmailLTE applies the LTE predicate on the "email" field.
  745. func EmailLTE(v string) predicate.WxCard {
  746. return predicate.WxCard(sql.FieldLTE(FieldEmail, v))
  747. }
  748. // EmailContains applies the Contains predicate on the "email" field.
  749. func EmailContains(v string) predicate.WxCard {
  750. return predicate.WxCard(sql.FieldContains(FieldEmail, v))
  751. }
  752. // EmailHasPrefix applies the HasPrefix predicate on the "email" field.
  753. func EmailHasPrefix(v string) predicate.WxCard {
  754. return predicate.WxCard(sql.FieldHasPrefix(FieldEmail, v))
  755. }
  756. // EmailHasSuffix applies the HasSuffix predicate on the "email" field.
  757. func EmailHasSuffix(v string) predicate.WxCard {
  758. return predicate.WxCard(sql.FieldHasSuffix(FieldEmail, v))
  759. }
  760. // EmailIsNil applies the IsNil predicate on the "email" field.
  761. func EmailIsNil() predicate.WxCard {
  762. return predicate.WxCard(sql.FieldIsNull(FieldEmail))
  763. }
  764. // EmailNotNil applies the NotNil predicate on the "email" field.
  765. func EmailNotNil() predicate.WxCard {
  766. return predicate.WxCard(sql.FieldNotNull(FieldEmail))
  767. }
  768. // EmailEqualFold applies the EqualFold predicate on the "email" field.
  769. func EmailEqualFold(v string) predicate.WxCard {
  770. return predicate.WxCard(sql.FieldEqualFold(FieldEmail, v))
  771. }
  772. // EmailContainsFold applies the ContainsFold predicate on the "email" field.
  773. func EmailContainsFold(v string) predicate.WxCard {
  774. return predicate.WxCard(sql.FieldContainsFold(FieldEmail, v))
  775. }
  776. // APIBaseEQ applies the EQ predicate on the "api_base" field.
  777. func APIBaseEQ(v string) predicate.WxCard {
  778. return predicate.WxCard(sql.FieldEQ(FieldAPIBase, v))
  779. }
  780. // APIBaseNEQ applies the NEQ predicate on the "api_base" field.
  781. func APIBaseNEQ(v string) predicate.WxCard {
  782. return predicate.WxCard(sql.FieldNEQ(FieldAPIBase, v))
  783. }
  784. // APIBaseIn applies the In predicate on the "api_base" field.
  785. func APIBaseIn(vs ...string) predicate.WxCard {
  786. return predicate.WxCard(sql.FieldIn(FieldAPIBase, vs...))
  787. }
  788. // APIBaseNotIn applies the NotIn predicate on the "api_base" field.
  789. func APIBaseNotIn(vs ...string) predicate.WxCard {
  790. return predicate.WxCard(sql.FieldNotIn(FieldAPIBase, vs...))
  791. }
  792. // APIBaseGT applies the GT predicate on the "api_base" field.
  793. func APIBaseGT(v string) predicate.WxCard {
  794. return predicate.WxCard(sql.FieldGT(FieldAPIBase, v))
  795. }
  796. // APIBaseGTE applies the GTE predicate on the "api_base" field.
  797. func APIBaseGTE(v string) predicate.WxCard {
  798. return predicate.WxCard(sql.FieldGTE(FieldAPIBase, v))
  799. }
  800. // APIBaseLT applies the LT predicate on the "api_base" field.
  801. func APIBaseLT(v string) predicate.WxCard {
  802. return predicate.WxCard(sql.FieldLT(FieldAPIBase, v))
  803. }
  804. // APIBaseLTE applies the LTE predicate on the "api_base" field.
  805. func APIBaseLTE(v string) predicate.WxCard {
  806. return predicate.WxCard(sql.FieldLTE(FieldAPIBase, v))
  807. }
  808. // APIBaseContains applies the Contains predicate on the "api_base" field.
  809. func APIBaseContains(v string) predicate.WxCard {
  810. return predicate.WxCard(sql.FieldContains(FieldAPIBase, v))
  811. }
  812. // APIBaseHasPrefix applies the HasPrefix predicate on the "api_base" field.
  813. func APIBaseHasPrefix(v string) predicate.WxCard {
  814. return predicate.WxCard(sql.FieldHasPrefix(FieldAPIBase, v))
  815. }
  816. // APIBaseHasSuffix applies the HasSuffix predicate on the "api_base" field.
  817. func APIBaseHasSuffix(v string) predicate.WxCard {
  818. return predicate.WxCard(sql.FieldHasSuffix(FieldAPIBase, v))
  819. }
  820. // APIBaseIsNil applies the IsNil predicate on the "api_base" field.
  821. func APIBaseIsNil() predicate.WxCard {
  822. return predicate.WxCard(sql.FieldIsNull(FieldAPIBase))
  823. }
  824. // APIBaseNotNil applies the NotNil predicate on the "api_base" field.
  825. func APIBaseNotNil() predicate.WxCard {
  826. return predicate.WxCard(sql.FieldNotNull(FieldAPIBase))
  827. }
  828. // APIBaseEqualFold applies the EqualFold predicate on the "api_base" field.
  829. func APIBaseEqualFold(v string) predicate.WxCard {
  830. return predicate.WxCard(sql.FieldEqualFold(FieldAPIBase, v))
  831. }
  832. // APIBaseContainsFold applies the ContainsFold predicate on the "api_base" field.
  833. func APIBaseContainsFold(v string) predicate.WxCard {
  834. return predicate.WxCard(sql.FieldContainsFold(FieldAPIBase, v))
  835. }
  836. // APIKeyEQ applies the EQ predicate on the "api_key" field.
  837. func APIKeyEQ(v string) predicate.WxCard {
  838. return predicate.WxCard(sql.FieldEQ(FieldAPIKey, v))
  839. }
  840. // APIKeyNEQ applies the NEQ predicate on the "api_key" field.
  841. func APIKeyNEQ(v string) predicate.WxCard {
  842. return predicate.WxCard(sql.FieldNEQ(FieldAPIKey, v))
  843. }
  844. // APIKeyIn applies the In predicate on the "api_key" field.
  845. func APIKeyIn(vs ...string) predicate.WxCard {
  846. return predicate.WxCard(sql.FieldIn(FieldAPIKey, vs...))
  847. }
  848. // APIKeyNotIn applies the NotIn predicate on the "api_key" field.
  849. func APIKeyNotIn(vs ...string) predicate.WxCard {
  850. return predicate.WxCard(sql.FieldNotIn(FieldAPIKey, vs...))
  851. }
  852. // APIKeyGT applies the GT predicate on the "api_key" field.
  853. func APIKeyGT(v string) predicate.WxCard {
  854. return predicate.WxCard(sql.FieldGT(FieldAPIKey, v))
  855. }
  856. // APIKeyGTE applies the GTE predicate on the "api_key" field.
  857. func APIKeyGTE(v string) predicate.WxCard {
  858. return predicate.WxCard(sql.FieldGTE(FieldAPIKey, v))
  859. }
  860. // APIKeyLT applies the LT predicate on the "api_key" field.
  861. func APIKeyLT(v string) predicate.WxCard {
  862. return predicate.WxCard(sql.FieldLT(FieldAPIKey, v))
  863. }
  864. // APIKeyLTE applies the LTE predicate on the "api_key" field.
  865. func APIKeyLTE(v string) predicate.WxCard {
  866. return predicate.WxCard(sql.FieldLTE(FieldAPIKey, v))
  867. }
  868. // APIKeyContains applies the Contains predicate on the "api_key" field.
  869. func APIKeyContains(v string) predicate.WxCard {
  870. return predicate.WxCard(sql.FieldContains(FieldAPIKey, v))
  871. }
  872. // APIKeyHasPrefix applies the HasPrefix predicate on the "api_key" field.
  873. func APIKeyHasPrefix(v string) predicate.WxCard {
  874. return predicate.WxCard(sql.FieldHasPrefix(FieldAPIKey, v))
  875. }
  876. // APIKeyHasSuffix applies the HasSuffix predicate on the "api_key" field.
  877. func APIKeyHasSuffix(v string) predicate.WxCard {
  878. return predicate.WxCard(sql.FieldHasSuffix(FieldAPIKey, v))
  879. }
  880. // APIKeyIsNil applies the IsNil predicate on the "api_key" field.
  881. func APIKeyIsNil() predicate.WxCard {
  882. return predicate.WxCard(sql.FieldIsNull(FieldAPIKey))
  883. }
  884. // APIKeyNotNil applies the NotNil predicate on the "api_key" field.
  885. func APIKeyNotNil() predicate.WxCard {
  886. return predicate.WxCard(sql.FieldNotNull(FieldAPIKey))
  887. }
  888. // APIKeyEqualFold applies the EqualFold predicate on the "api_key" field.
  889. func APIKeyEqualFold(v string) predicate.WxCard {
  890. return predicate.WxCard(sql.FieldEqualFold(FieldAPIKey, v))
  891. }
  892. // APIKeyContainsFold applies the ContainsFold predicate on the "api_key" field.
  893. func APIKeyContainsFold(v string) predicate.WxCard {
  894. return predicate.WxCard(sql.FieldContainsFold(FieldAPIKey, v))
  895. }
  896. // AiInfoEQ applies the EQ predicate on the "ai_info" field.
  897. func AiInfoEQ(v string) predicate.WxCard {
  898. return predicate.WxCard(sql.FieldEQ(FieldAiInfo, v))
  899. }
  900. // AiInfoNEQ applies the NEQ predicate on the "ai_info" field.
  901. func AiInfoNEQ(v string) predicate.WxCard {
  902. return predicate.WxCard(sql.FieldNEQ(FieldAiInfo, v))
  903. }
  904. // AiInfoIn applies the In predicate on the "ai_info" field.
  905. func AiInfoIn(vs ...string) predicate.WxCard {
  906. return predicate.WxCard(sql.FieldIn(FieldAiInfo, vs...))
  907. }
  908. // AiInfoNotIn applies the NotIn predicate on the "ai_info" field.
  909. func AiInfoNotIn(vs ...string) predicate.WxCard {
  910. return predicate.WxCard(sql.FieldNotIn(FieldAiInfo, vs...))
  911. }
  912. // AiInfoGT applies the GT predicate on the "ai_info" field.
  913. func AiInfoGT(v string) predicate.WxCard {
  914. return predicate.WxCard(sql.FieldGT(FieldAiInfo, v))
  915. }
  916. // AiInfoGTE applies the GTE predicate on the "ai_info" field.
  917. func AiInfoGTE(v string) predicate.WxCard {
  918. return predicate.WxCard(sql.FieldGTE(FieldAiInfo, v))
  919. }
  920. // AiInfoLT applies the LT predicate on the "ai_info" field.
  921. func AiInfoLT(v string) predicate.WxCard {
  922. return predicate.WxCard(sql.FieldLT(FieldAiInfo, v))
  923. }
  924. // AiInfoLTE applies the LTE predicate on the "ai_info" field.
  925. func AiInfoLTE(v string) predicate.WxCard {
  926. return predicate.WxCard(sql.FieldLTE(FieldAiInfo, v))
  927. }
  928. // AiInfoContains applies the Contains predicate on the "ai_info" field.
  929. func AiInfoContains(v string) predicate.WxCard {
  930. return predicate.WxCard(sql.FieldContains(FieldAiInfo, v))
  931. }
  932. // AiInfoHasPrefix applies the HasPrefix predicate on the "ai_info" field.
  933. func AiInfoHasPrefix(v string) predicate.WxCard {
  934. return predicate.WxCard(sql.FieldHasPrefix(FieldAiInfo, v))
  935. }
  936. // AiInfoHasSuffix applies the HasSuffix predicate on the "ai_info" field.
  937. func AiInfoHasSuffix(v string) predicate.WxCard {
  938. return predicate.WxCard(sql.FieldHasSuffix(FieldAiInfo, v))
  939. }
  940. // AiInfoIsNil applies the IsNil predicate on the "ai_info" field.
  941. func AiInfoIsNil() predicate.WxCard {
  942. return predicate.WxCard(sql.FieldIsNull(FieldAiInfo))
  943. }
  944. // AiInfoNotNil applies the NotNil predicate on the "ai_info" field.
  945. func AiInfoNotNil() predicate.WxCard {
  946. return predicate.WxCard(sql.FieldNotNull(FieldAiInfo))
  947. }
  948. // AiInfoEqualFold applies the EqualFold predicate on the "ai_info" field.
  949. func AiInfoEqualFold(v string) predicate.WxCard {
  950. return predicate.WxCard(sql.FieldEqualFold(FieldAiInfo, v))
  951. }
  952. // AiInfoContainsFold applies the ContainsFold predicate on the "ai_info" field.
  953. func AiInfoContainsFold(v string) predicate.WxCard {
  954. return predicate.WxCard(sql.FieldContainsFold(FieldAiInfo, v))
  955. }
  956. // IntroEQ applies the EQ predicate on the "intro" field.
  957. func IntroEQ(v string) predicate.WxCard {
  958. return predicate.WxCard(sql.FieldEQ(FieldIntro, v))
  959. }
  960. // IntroNEQ applies the NEQ predicate on the "intro" field.
  961. func IntroNEQ(v string) predicate.WxCard {
  962. return predicate.WxCard(sql.FieldNEQ(FieldIntro, v))
  963. }
  964. // IntroIn applies the In predicate on the "intro" field.
  965. func IntroIn(vs ...string) predicate.WxCard {
  966. return predicate.WxCard(sql.FieldIn(FieldIntro, vs...))
  967. }
  968. // IntroNotIn applies the NotIn predicate on the "intro" field.
  969. func IntroNotIn(vs ...string) predicate.WxCard {
  970. return predicate.WxCard(sql.FieldNotIn(FieldIntro, vs...))
  971. }
  972. // IntroGT applies the GT predicate on the "intro" field.
  973. func IntroGT(v string) predicate.WxCard {
  974. return predicate.WxCard(sql.FieldGT(FieldIntro, v))
  975. }
  976. // IntroGTE applies the GTE predicate on the "intro" field.
  977. func IntroGTE(v string) predicate.WxCard {
  978. return predicate.WxCard(sql.FieldGTE(FieldIntro, v))
  979. }
  980. // IntroLT applies the LT predicate on the "intro" field.
  981. func IntroLT(v string) predicate.WxCard {
  982. return predicate.WxCard(sql.FieldLT(FieldIntro, v))
  983. }
  984. // IntroLTE applies the LTE predicate on the "intro" field.
  985. func IntroLTE(v string) predicate.WxCard {
  986. return predicate.WxCard(sql.FieldLTE(FieldIntro, v))
  987. }
  988. // IntroContains applies the Contains predicate on the "intro" field.
  989. func IntroContains(v string) predicate.WxCard {
  990. return predicate.WxCard(sql.FieldContains(FieldIntro, v))
  991. }
  992. // IntroHasPrefix applies the HasPrefix predicate on the "intro" field.
  993. func IntroHasPrefix(v string) predicate.WxCard {
  994. return predicate.WxCard(sql.FieldHasPrefix(FieldIntro, v))
  995. }
  996. // IntroHasSuffix applies the HasSuffix predicate on the "intro" field.
  997. func IntroHasSuffix(v string) predicate.WxCard {
  998. return predicate.WxCard(sql.FieldHasSuffix(FieldIntro, v))
  999. }
  1000. // IntroIsNil applies the IsNil predicate on the "intro" field.
  1001. func IntroIsNil() predicate.WxCard {
  1002. return predicate.WxCard(sql.FieldIsNull(FieldIntro))
  1003. }
  1004. // IntroNotNil applies the NotNil predicate on the "intro" field.
  1005. func IntroNotNil() predicate.WxCard {
  1006. return predicate.WxCard(sql.FieldNotNull(FieldIntro))
  1007. }
  1008. // IntroEqualFold applies the EqualFold predicate on the "intro" field.
  1009. func IntroEqualFold(v string) predicate.WxCard {
  1010. return predicate.WxCard(sql.FieldEqualFold(FieldIntro, v))
  1011. }
  1012. // IntroContainsFold applies the ContainsFold predicate on the "intro" field.
  1013. func IntroContainsFold(v string) predicate.WxCard {
  1014. return predicate.WxCard(sql.FieldContainsFold(FieldIntro, v))
  1015. }
  1016. // And groups predicates with the AND operator between them.
  1017. func And(predicates ...predicate.WxCard) predicate.WxCard {
  1018. return predicate.WxCard(sql.AndPredicates(predicates...))
  1019. }
  1020. // Or groups predicates with the OR operator between them.
  1021. func Or(predicates ...predicate.WxCard) predicate.WxCard {
  1022. return predicate.WxCard(sql.OrPredicates(predicates...))
  1023. }
  1024. // Not applies the not operator on the given predicate.
  1025. func Not(p predicate.WxCard) predicate.WxCard {
  1026. return predicate.WxCard(sql.NotPredicates(p))
  1027. }