where.go 69 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005
  1. // Code generated by ent, DO NOT EDIT.
  2. package contact
  3. import (
  4. "time"
  5. "wechat-api/ent/predicate"
  6. "entgo.io/ent/dialect/sql"
  7. "entgo.io/ent/dialect/sql/sqlgraph"
  8. )
  9. // ID filters vertices based on their ID field.
  10. func ID(id uint64) predicate.Contact {
  11. return predicate.Contact(sql.FieldEQ(FieldID, id))
  12. }
  13. // IDEQ applies the EQ predicate on the ID field.
  14. func IDEQ(id uint64) predicate.Contact {
  15. return predicate.Contact(sql.FieldEQ(FieldID, id))
  16. }
  17. // IDNEQ applies the NEQ predicate on the ID field.
  18. func IDNEQ(id uint64) predicate.Contact {
  19. return predicate.Contact(sql.FieldNEQ(FieldID, id))
  20. }
  21. // IDIn applies the In predicate on the ID field.
  22. func IDIn(ids ...uint64) predicate.Contact {
  23. return predicate.Contact(sql.FieldIn(FieldID, ids...))
  24. }
  25. // IDNotIn applies the NotIn predicate on the ID field.
  26. func IDNotIn(ids ...uint64) predicate.Contact {
  27. return predicate.Contact(sql.FieldNotIn(FieldID, ids...))
  28. }
  29. // IDGT applies the GT predicate on the ID field.
  30. func IDGT(id uint64) predicate.Contact {
  31. return predicate.Contact(sql.FieldGT(FieldID, id))
  32. }
  33. // IDGTE applies the GTE predicate on the ID field.
  34. func IDGTE(id uint64) predicate.Contact {
  35. return predicate.Contact(sql.FieldGTE(FieldID, id))
  36. }
  37. // IDLT applies the LT predicate on the ID field.
  38. func IDLT(id uint64) predicate.Contact {
  39. return predicate.Contact(sql.FieldLT(FieldID, id))
  40. }
  41. // IDLTE applies the LTE predicate on the ID field.
  42. func IDLTE(id uint64) predicate.Contact {
  43. return predicate.Contact(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.Contact {
  47. return predicate.Contact(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.Contact {
  51. return predicate.Contact(sql.FieldEQ(FieldUpdatedAt, v))
  52. }
  53. // Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
  54. func Status(v uint8) predicate.Contact {
  55. return predicate.Contact(sql.FieldEQ(FieldStatus, v))
  56. }
  57. // DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
  58. func DeletedAt(v time.Time) predicate.Contact {
  59. return predicate.Contact(sql.FieldEQ(FieldDeletedAt, v))
  60. }
  61. // WxWxid applies equality check predicate on the "wx_wxid" field. It's identical to WxWxidEQ.
  62. func WxWxid(v string) predicate.Contact {
  63. return predicate.Contact(sql.FieldEQ(FieldWxWxid, v))
  64. }
  65. // Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
  66. func Type(v int) predicate.Contact {
  67. return predicate.Contact(sql.FieldEQ(FieldType, v))
  68. }
  69. // Wxid applies equality check predicate on the "wxid" field. It's identical to WxidEQ.
  70. func Wxid(v string) predicate.Contact {
  71. return predicate.Contact(sql.FieldEQ(FieldWxid, v))
  72. }
  73. // Account applies equality check predicate on the "account" field. It's identical to AccountEQ.
  74. func Account(v string) predicate.Contact {
  75. return predicate.Contact(sql.FieldEQ(FieldAccount, v))
  76. }
  77. // Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.
  78. func Nickname(v string) predicate.Contact {
  79. return predicate.Contact(sql.FieldEQ(FieldNickname, v))
  80. }
  81. // Markname applies equality check predicate on the "markname" field. It's identical to MarknameEQ.
  82. func Markname(v string) predicate.Contact {
  83. return predicate.Contact(sql.FieldEQ(FieldMarkname, v))
  84. }
  85. // Headimg applies equality check predicate on the "headimg" field. It's identical to HeadimgEQ.
  86. func Headimg(v string) predicate.Contact {
  87. return predicate.Contact(sql.FieldEQ(FieldHeadimg, v))
  88. }
  89. // Sex applies equality check predicate on the "sex" field. It's identical to SexEQ.
  90. func Sex(v int) predicate.Contact {
  91. return predicate.Contact(sql.FieldEQ(FieldSex, v))
  92. }
  93. // Starrole applies equality check predicate on the "starrole" field. It's identical to StarroleEQ.
  94. func Starrole(v string) predicate.Contact {
  95. return predicate.Contact(sql.FieldEQ(FieldStarrole, v))
  96. }
  97. // Dontseeit applies equality check predicate on the "dontseeit" field. It's identical to DontseeitEQ.
  98. func Dontseeit(v int) predicate.Contact {
  99. return predicate.Contact(sql.FieldEQ(FieldDontseeit, v))
  100. }
  101. // Dontseeme applies equality check predicate on the "dontseeme" field. It's identical to DontseemeEQ.
  102. func Dontseeme(v int) predicate.Contact {
  103. return predicate.Contact(sql.FieldEQ(FieldDontseeme, v))
  104. }
  105. // Lag applies equality check predicate on the "lag" field. It's identical to LagEQ.
  106. func Lag(v string) predicate.Contact {
  107. return predicate.Contact(sql.FieldEQ(FieldLag, v))
  108. }
  109. // Gid applies equality check predicate on the "gid" field. It's identical to GidEQ.
  110. func Gid(v string) predicate.Contact {
  111. return predicate.Contact(sql.FieldEQ(FieldGid, v))
  112. }
  113. // Gname applies equality check predicate on the "gname" field. It's identical to GnameEQ.
  114. func Gname(v string) predicate.Contact {
  115. return predicate.Contact(sql.FieldEQ(FieldGname, v))
  116. }
  117. // V3 applies equality check predicate on the "v3" field. It's identical to V3EQ.
  118. func V3(v string) predicate.Contact {
  119. return predicate.Contact(sql.FieldEQ(FieldV3, v))
  120. }
  121. // OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
  122. func OrganizationID(v uint64) predicate.Contact {
  123. return predicate.Contact(sql.FieldEQ(FieldOrganizationID, v))
  124. }
  125. // Ctype applies equality check predicate on the "ctype" field. It's identical to CtypeEQ.
  126. func Ctype(v uint64) predicate.Contact {
  127. return predicate.Contact(sql.FieldEQ(FieldCtype, v))
  128. }
  129. // Cage applies equality check predicate on the "cage" field. It's identical to CageEQ.
  130. func Cage(v int) predicate.Contact {
  131. return predicate.Contact(sql.FieldEQ(FieldCage, v))
  132. }
  133. // Cname applies equality check predicate on the "cname" field. It's identical to CnameEQ.
  134. func Cname(v string) predicate.Contact {
  135. return predicate.Contact(sql.FieldEQ(FieldCname, v))
  136. }
  137. // Carea applies equality check predicate on the "carea" field. It's identical to CareaEQ.
  138. func Carea(v string) predicate.Contact {
  139. return predicate.Contact(sql.FieldEQ(FieldCarea, v))
  140. }
  141. // Cbirthday applies equality check predicate on the "cbirthday" field. It's identical to CbirthdayEQ.
  142. func Cbirthday(v string) predicate.Contact {
  143. return predicate.Contact(sql.FieldEQ(FieldCbirthday, v))
  144. }
  145. // Cbirtharea applies equality check predicate on the "cbirtharea" field. It's identical to CbirthareaEQ.
  146. func Cbirtharea(v string) predicate.Contact {
  147. return predicate.Contact(sql.FieldEQ(FieldCbirtharea, v))
  148. }
  149. // CidcardNo applies equality check predicate on the "cidcard_no" field. It's identical to CidcardNoEQ.
  150. func CidcardNo(v string) predicate.Contact {
  151. return predicate.Contact(sql.FieldEQ(FieldCidcardNo, v))
  152. }
  153. // Ctitle applies equality check predicate on the "ctitle" field. It's identical to CtitleEQ.
  154. func Ctitle(v string) predicate.Contact {
  155. return predicate.Contact(sql.FieldEQ(FieldCtitle, v))
  156. }
  157. // Cc applies equality check predicate on the "cc" field. It's identical to CcEQ.
  158. func Cc(v string) predicate.Contact {
  159. return predicate.Contact(sql.FieldEQ(FieldCc, v))
  160. }
  161. // Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.
  162. func Phone(v string) predicate.Contact {
  163. return predicate.Contact(sql.FieldEQ(FieldPhone, v))
  164. }
  165. // CreatedAtEQ applies the EQ predicate on the "created_at" field.
  166. func CreatedAtEQ(v time.Time) predicate.Contact {
  167. return predicate.Contact(sql.FieldEQ(FieldCreatedAt, v))
  168. }
  169. // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
  170. func CreatedAtNEQ(v time.Time) predicate.Contact {
  171. return predicate.Contact(sql.FieldNEQ(FieldCreatedAt, v))
  172. }
  173. // CreatedAtIn applies the In predicate on the "created_at" field.
  174. func CreatedAtIn(vs ...time.Time) predicate.Contact {
  175. return predicate.Contact(sql.FieldIn(FieldCreatedAt, vs...))
  176. }
  177. // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
  178. func CreatedAtNotIn(vs ...time.Time) predicate.Contact {
  179. return predicate.Contact(sql.FieldNotIn(FieldCreatedAt, vs...))
  180. }
  181. // CreatedAtGT applies the GT predicate on the "created_at" field.
  182. func CreatedAtGT(v time.Time) predicate.Contact {
  183. return predicate.Contact(sql.FieldGT(FieldCreatedAt, v))
  184. }
  185. // CreatedAtGTE applies the GTE predicate on the "created_at" field.
  186. func CreatedAtGTE(v time.Time) predicate.Contact {
  187. return predicate.Contact(sql.FieldGTE(FieldCreatedAt, v))
  188. }
  189. // CreatedAtLT applies the LT predicate on the "created_at" field.
  190. func CreatedAtLT(v time.Time) predicate.Contact {
  191. return predicate.Contact(sql.FieldLT(FieldCreatedAt, v))
  192. }
  193. // CreatedAtLTE applies the LTE predicate on the "created_at" field.
  194. func CreatedAtLTE(v time.Time) predicate.Contact {
  195. return predicate.Contact(sql.FieldLTE(FieldCreatedAt, v))
  196. }
  197. // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
  198. func UpdatedAtEQ(v time.Time) predicate.Contact {
  199. return predicate.Contact(sql.FieldEQ(FieldUpdatedAt, v))
  200. }
  201. // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
  202. func UpdatedAtNEQ(v time.Time) predicate.Contact {
  203. return predicate.Contact(sql.FieldNEQ(FieldUpdatedAt, v))
  204. }
  205. // UpdatedAtIn applies the In predicate on the "updated_at" field.
  206. func UpdatedAtIn(vs ...time.Time) predicate.Contact {
  207. return predicate.Contact(sql.FieldIn(FieldUpdatedAt, vs...))
  208. }
  209. // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
  210. func UpdatedAtNotIn(vs ...time.Time) predicate.Contact {
  211. return predicate.Contact(sql.FieldNotIn(FieldUpdatedAt, vs...))
  212. }
  213. // UpdatedAtGT applies the GT predicate on the "updated_at" field.
  214. func UpdatedAtGT(v time.Time) predicate.Contact {
  215. return predicate.Contact(sql.FieldGT(FieldUpdatedAt, v))
  216. }
  217. // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
  218. func UpdatedAtGTE(v time.Time) predicate.Contact {
  219. return predicate.Contact(sql.FieldGTE(FieldUpdatedAt, v))
  220. }
  221. // UpdatedAtLT applies the LT predicate on the "updated_at" field.
  222. func UpdatedAtLT(v time.Time) predicate.Contact {
  223. return predicate.Contact(sql.FieldLT(FieldUpdatedAt, v))
  224. }
  225. // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
  226. func UpdatedAtLTE(v time.Time) predicate.Contact {
  227. return predicate.Contact(sql.FieldLTE(FieldUpdatedAt, v))
  228. }
  229. // StatusEQ applies the EQ predicate on the "status" field.
  230. func StatusEQ(v uint8) predicate.Contact {
  231. return predicate.Contact(sql.FieldEQ(FieldStatus, v))
  232. }
  233. // StatusNEQ applies the NEQ predicate on the "status" field.
  234. func StatusNEQ(v uint8) predicate.Contact {
  235. return predicate.Contact(sql.FieldNEQ(FieldStatus, v))
  236. }
  237. // StatusIn applies the In predicate on the "status" field.
  238. func StatusIn(vs ...uint8) predicate.Contact {
  239. return predicate.Contact(sql.FieldIn(FieldStatus, vs...))
  240. }
  241. // StatusNotIn applies the NotIn predicate on the "status" field.
  242. func StatusNotIn(vs ...uint8) predicate.Contact {
  243. return predicate.Contact(sql.FieldNotIn(FieldStatus, vs...))
  244. }
  245. // StatusGT applies the GT predicate on the "status" field.
  246. func StatusGT(v uint8) predicate.Contact {
  247. return predicate.Contact(sql.FieldGT(FieldStatus, v))
  248. }
  249. // StatusGTE applies the GTE predicate on the "status" field.
  250. func StatusGTE(v uint8) predicate.Contact {
  251. return predicate.Contact(sql.FieldGTE(FieldStatus, v))
  252. }
  253. // StatusLT applies the LT predicate on the "status" field.
  254. func StatusLT(v uint8) predicate.Contact {
  255. return predicate.Contact(sql.FieldLT(FieldStatus, v))
  256. }
  257. // StatusLTE applies the LTE predicate on the "status" field.
  258. func StatusLTE(v uint8) predicate.Contact {
  259. return predicate.Contact(sql.FieldLTE(FieldStatus, v))
  260. }
  261. // StatusIsNil applies the IsNil predicate on the "status" field.
  262. func StatusIsNil() predicate.Contact {
  263. return predicate.Contact(sql.FieldIsNull(FieldStatus))
  264. }
  265. // StatusNotNil applies the NotNil predicate on the "status" field.
  266. func StatusNotNil() predicate.Contact {
  267. return predicate.Contact(sql.FieldNotNull(FieldStatus))
  268. }
  269. // DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
  270. func DeletedAtEQ(v time.Time) predicate.Contact {
  271. return predicate.Contact(sql.FieldEQ(FieldDeletedAt, v))
  272. }
  273. // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
  274. func DeletedAtNEQ(v time.Time) predicate.Contact {
  275. return predicate.Contact(sql.FieldNEQ(FieldDeletedAt, v))
  276. }
  277. // DeletedAtIn applies the In predicate on the "deleted_at" field.
  278. func DeletedAtIn(vs ...time.Time) predicate.Contact {
  279. return predicate.Contact(sql.FieldIn(FieldDeletedAt, vs...))
  280. }
  281. // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
  282. func DeletedAtNotIn(vs ...time.Time) predicate.Contact {
  283. return predicate.Contact(sql.FieldNotIn(FieldDeletedAt, vs...))
  284. }
  285. // DeletedAtGT applies the GT predicate on the "deleted_at" field.
  286. func DeletedAtGT(v time.Time) predicate.Contact {
  287. return predicate.Contact(sql.FieldGT(FieldDeletedAt, v))
  288. }
  289. // DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
  290. func DeletedAtGTE(v time.Time) predicate.Contact {
  291. return predicate.Contact(sql.FieldGTE(FieldDeletedAt, v))
  292. }
  293. // DeletedAtLT applies the LT predicate on the "deleted_at" field.
  294. func DeletedAtLT(v time.Time) predicate.Contact {
  295. return predicate.Contact(sql.FieldLT(FieldDeletedAt, v))
  296. }
  297. // DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
  298. func DeletedAtLTE(v time.Time) predicate.Contact {
  299. return predicate.Contact(sql.FieldLTE(FieldDeletedAt, v))
  300. }
  301. // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
  302. func DeletedAtIsNil() predicate.Contact {
  303. return predicate.Contact(sql.FieldIsNull(FieldDeletedAt))
  304. }
  305. // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
  306. func DeletedAtNotNil() predicate.Contact {
  307. return predicate.Contact(sql.FieldNotNull(FieldDeletedAt))
  308. }
  309. // WxWxidEQ applies the EQ predicate on the "wx_wxid" field.
  310. func WxWxidEQ(v string) predicate.Contact {
  311. return predicate.Contact(sql.FieldEQ(FieldWxWxid, v))
  312. }
  313. // WxWxidNEQ applies the NEQ predicate on the "wx_wxid" field.
  314. func WxWxidNEQ(v string) predicate.Contact {
  315. return predicate.Contact(sql.FieldNEQ(FieldWxWxid, v))
  316. }
  317. // WxWxidIn applies the In predicate on the "wx_wxid" field.
  318. func WxWxidIn(vs ...string) predicate.Contact {
  319. return predicate.Contact(sql.FieldIn(FieldWxWxid, vs...))
  320. }
  321. // WxWxidNotIn applies the NotIn predicate on the "wx_wxid" field.
  322. func WxWxidNotIn(vs ...string) predicate.Contact {
  323. return predicate.Contact(sql.FieldNotIn(FieldWxWxid, vs...))
  324. }
  325. // WxWxidGT applies the GT predicate on the "wx_wxid" field.
  326. func WxWxidGT(v string) predicate.Contact {
  327. return predicate.Contact(sql.FieldGT(FieldWxWxid, v))
  328. }
  329. // WxWxidGTE applies the GTE predicate on the "wx_wxid" field.
  330. func WxWxidGTE(v string) predicate.Contact {
  331. return predicate.Contact(sql.FieldGTE(FieldWxWxid, v))
  332. }
  333. // WxWxidLT applies the LT predicate on the "wx_wxid" field.
  334. func WxWxidLT(v string) predicate.Contact {
  335. return predicate.Contact(sql.FieldLT(FieldWxWxid, v))
  336. }
  337. // WxWxidLTE applies the LTE predicate on the "wx_wxid" field.
  338. func WxWxidLTE(v string) predicate.Contact {
  339. return predicate.Contact(sql.FieldLTE(FieldWxWxid, v))
  340. }
  341. // WxWxidContains applies the Contains predicate on the "wx_wxid" field.
  342. func WxWxidContains(v string) predicate.Contact {
  343. return predicate.Contact(sql.FieldContains(FieldWxWxid, v))
  344. }
  345. // WxWxidHasPrefix applies the HasPrefix predicate on the "wx_wxid" field.
  346. func WxWxidHasPrefix(v string) predicate.Contact {
  347. return predicate.Contact(sql.FieldHasPrefix(FieldWxWxid, v))
  348. }
  349. // WxWxidHasSuffix applies the HasSuffix predicate on the "wx_wxid" field.
  350. func WxWxidHasSuffix(v string) predicate.Contact {
  351. return predicate.Contact(sql.FieldHasSuffix(FieldWxWxid, v))
  352. }
  353. // WxWxidEqualFold applies the EqualFold predicate on the "wx_wxid" field.
  354. func WxWxidEqualFold(v string) predicate.Contact {
  355. return predicate.Contact(sql.FieldEqualFold(FieldWxWxid, v))
  356. }
  357. // WxWxidContainsFold applies the ContainsFold predicate on the "wx_wxid" field.
  358. func WxWxidContainsFold(v string) predicate.Contact {
  359. return predicate.Contact(sql.FieldContainsFold(FieldWxWxid, v))
  360. }
  361. // TypeEQ applies the EQ predicate on the "type" field.
  362. func TypeEQ(v int) predicate.Contact {
  363. return predicate.Contact(sql.FieldEQ(FieldType, v))
  364. }
  365. // TypeNEQ applies the NEQ predicate on the "type" field.
  366. func TypeNEQ(v int) predicate.Contact {
  367. return predicate.Contact(sql.FieldNEQ(FieldType, v))
  368. }
  369. // TypeIn applies the In predicate on the "type" field.
  370. func TypeIn(vs ...int) predicate.Contact {
  371. return predicate.Contact(sql.FieldIn(FieldType, vs...))
  372. }
  373. // TypeNotIn applies the NotIn predicate on the "type" field.
  374. func TypeNotIn(vs ...int) predicate.Contact {
  375. return predicate.Contact(sql.FieldNotIn(FieldType, vs...))
  376. }
  377. // TypeGT applies the GT predicate on the "type" field.
  378. func TypeGT(v int) predicate.Contact {
  379. return predicate.Contact(sql.FieldGT(FieldType, v))
  380. }
  381. // TypeGTE applies the GTE predicate on the "type" field.
  382. func TypeGTE(v int) predicate.Contact {
  383. return predicate.Contact(sql.FieldGTE(FieldType, v))
  384. }
  385. // TypeLT applies the LT predicate on the "type" field.
  386. func TypeLT(v int) predicate.Contact {
  387. return predicate.Contact(sql.FieldLT(FieldType, v))
  388. }
  389. // TypeLTE applies the LTE predicate on the "type" field.
  390. func TypeLTE(v int) predicate.Contact {
  391. return predicate.Contact(sql.FieldLTE(FieldType, v))
  392. }
  393. // TypeIsNil applies the IsNil predicate on the "type" field.
  394. func TypeIsNil() predicate.Contact {
  395. return predicate.Contact(sql.FieldIsNull(FieldType))
  396. }
  397. // TypeNotNil applies the NotNil predicate on the "type" field.
  398. func TypeNotNil() predicate.Contact {
  399. return predicate.Contact(sql.FieldNotNull(FieldType))
  400. }
  401. // WxidEQ applies the EQ predicate on the "wxid" field.
  402. func WxidEQ(v string) predicate.Contact {
  403. return predicate.Contact(sql.FieldEQ(FieldWxid, v))
  404. }
  405. // WxidNEQ applies the NEQ predicate on the "wxid" field.
  406. func WxidNEQ(v string) predicate.Contact {
  407. return predicate.Contact(sql.FieldNEQ(FieldWxid, v))
  408. }
  409. // WxidIn applies the In predicate on the "wxid" field.
  410. func WxidIn(vs ...string) predicate.Contact {
  411. return predicate.Contact(sql.FieldIn(FieldWxid, vs...))
  412. }
  413. // WxidNotIn applies the NotIn predicate on the "wxid" field.
  414. func WxidNotIn(vs ...string) predicate.Contact {
  415. return predicate.Contact(sql.FieldNotIn(FieldWxid, vs...))
  416. }
  417. // WxidGT applies the GT predicate on the "wxid" field.
  418. func WxidGT(v string) predicate.Contact {
  419. return predicate.Contact(sql.FieldGT(FieldWxid, v))
  420. }
  421. // WxidGTE applies the GTE predicate on the "wxid" field.
  422. func WxidGTE(v string) predicate.Contact {
  423. return predicate.Contact(sql.FieldGTE(FieldWxid, v))
  424. }
  425. // WxidLT applies the LT predicate on the "wxid" field.
  426. func WxidLT(v string) predicate.Contact {
  427. return predicate.Contact(sql.FieldLT(FieldWxid, v))
  428. }
  429. // WxidLTE applies the LTE predicate on the "wxid" field.
  430. func WxidLTE(v string) predicate.Contact {
  431. return predicate.Contact(sql.FieldLTE(FieldWxid, v))
  432. }
  433. // WxidContains applies the Contains predicate on the "wxid" field.
  434. func WxidContains(v string) predicate.Contact {
  435. return predicate.Contact(sql.FieldContains(FieldWxid, v))
  436. }
  437. // WxidHasPrefix applies the HasPrefix predicate on the "wxid" field.
  438. func WxidHasPrefix(v string) predicate.Contact {
  439. return predicate.Contact(sql.FieldHasPrefix(FieldWxid, v))
  440. }
  441. // WxidHasSuffix applies the HasSuffix predicate on the "wxid" field.
  442. func WxidHasSuffix(v string) predicate.Contact {
  443. return predicate.Contact(sql.FieldHasSuffix(FieldWxid, v))
  444. }
  445. // WxidEqualFold applies the EqualFold predicate on the "wxid" field.
  446. func WxidEqualFold(v string) predicate.Contact {
  447. return predicate.Contact(sql.FieldEqualFold(FieldWxid, v))
  448. }
  449. // WxidContainsFold applies the ContainsFold predicate on the "wxid" field.
  450. func WxidContainsFold(v string) predicate.Contact {
  451. return predicate.Contact(sql.FieldContainsFold(FieldWxid, v))
  452. }
  453. // AccountEQ applies the EQ predicate on the "account" field.
  454. func AccountEQ(v string) predicate.Contact {
  455. return predicate.Contact(sql.FieldEQ(FieldAccount, v))
  456. }
  457. // AccountNEQ applies the NEQ predicate on the "account" field.
  458. func AccountNEQ(v string) predicate.Contact {
  459. return predicate.Contact(sql.FieldNEQ(FieldAccount, v))
  460. }
  461. // AccountIn applies the In predicate on the "account" field.
  462. func AccountIn(vs ...string) predicate.Contact {
  463. return predicate.Contact(sql.FieldIn(FieldAccount, vs...))
  464. }
  465. // AccountNotIn applies the NotIn predicate on the "account" field.
  466. func AccountNotIn(vs ...string) predicate.Contact {
  467. return predicate.Contact(sql.FieldNotIn(FieldAccount, vs...))
  468. }
  469. // AccountGT applies the GT predicate on the "account" field.
  470. func AccountGT(v string) predicate.Contact {
  471. return predicate.Contact(sql.FieldGT(FieldAccount, v))
  472. }
  473. // AccountGTE applies the GTE predicate on the "account" field.
  474. func AccountGTE(v string) predicate.Contact {
  475. return predicate.Contact(sql.FieldGTE(FieldAccount, v))
  476. }
  477. // AccountLT applies the LT predicate on the "account" field.
  478. func AccountLT(v string) predicate.Contact {
  479. return predicate.Contact(sql.FieldLT(FieldAccount, v))
  480. }
  481. // AccountLTE applies the LTE predicate on the "account" field.
  482. func AccountLTE(v string) predicate.Contact {
  483. return predicate.Contact(sql.FieldLTE(FieldAccount, v))
  484. }
  485. // AccountContains applies the Contains predicate on the "account" field.
  486. func AccountContains(v string) predicate.Contact {
  487. return predicate.Contact(sql.FieldContains(FieldAccount, v))
  488. }
  489. // AccountHasPrefix applies the HasPrefix predicate on the "account" field.
  490. func AccountHasPrefix(v string) predicate.Contact {
  491. return predicate.Contact(sql.FieldHasPrefix(FieldAccount, v))
  492. }
  493. // AccountHasSuffix applies the HasSuffix predicate on the "account" field.
  494. func AccountHasSuffix(v string) predicate.Contact {
  495. return predicate.Contact(sql.FieldHasSuffix(FieldAccount, v))
  496. }
  497. // AccountEqualFold applies the EqualFold predicate on the "account" field.
  498. func AccountEqualFold(v string) predicate.Contact {
  499. return predicate.Contact(sql.FieldEqualFold(FieldAccount, v))
  500. }
  501. // AccountContainsFold applies the ContainsFold predicate on the "account" field.
  502. func AccountContainsFold(v string) predicate.Contact {
  503. return predicate.Contact(sql.FieldContainsFold(FieldAccount, v))
  504. }
  505. // NicknameEQ applies the EQ predicate on the "nickname" field.
  506. func NicknameEQ(v string) predicate.Contact {
  507. return predicate.Contact(sql.FieldEQ(FieldNickname, v))
  508. }
  509. // NicknameNEQ applies the NEQ predicate on the "nickname" field.
  510. func NicknameNEQ(v string) predicate.Contact {
  511. return predicate.Contact(sql.FieldNEQ(FieldNickname, v))
  512. }
  513. // NicknameIn applies the In predicate on the "nickname" field.
  514. func NicknameIn(vs ...string) predicate.Contact {
  515. return predicate.Contact(sql.FieldIn(FieldNickname, vs...))
  516. }
  517. // NicknameNotIn applies the NotIn predicate on the "nickname" field.
  518. func NicknameNotIn(vs ...string) predicate.Contact {
  519. return predicate.Contact(sql.FieldNotIn(FieldNickname, vs...))
  520. }
  521. // NicknameGT applies the GT predicate on the "nickname" field.
  522. func NicknameGT(v string) predicate.Contact {
  523. return predicate.Contact(sql.FieldGT(FieldNickname, v))
  524. }
  525. // NicknameGTE applies the GTE predicate on the "nickname" field.
  526. func NicknameGTE(v string) predicate.Contact {
  527. return predicate.Contact(sql.FieldGTE(FieldNickname, v))
  528. }
  529. // NicknameLT applies the LT predicate on the "nickname" field.
  530. func NicknameLT(v string) predicate.Contact {
  531. return predicate.Contact(sql.FieldLT(FieldNickname, v))
  532. }
  533. // NicknameLTE applies the LTE predicate on the "nickname" field.
  534. func NicknameLTE(v string) predicate.Contact {
  535. return predicate.Contact(sql.FieldLTE(FieldNickname, v))
  536. }
  537. // NicknameContains applies the Contains predicate on the "nickname" field.
  538. func NicknameContains(v string) predicate.Contact {
  539. return predicate.Contact(sql.FieldContains(FieldNickname, v))
  540. }
  541. // NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.
  542. func NicknameHasPrefix(v string) predicate.Contact {
  543. return predicate.Contact(sql.FieldHasPrefix(FieldNickname, v))
  544. }
  545. // NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.
  546. func NicknameHasSuffix(v string) predicate.Contact {
  547. return predicate.Contact(sql.FieldHasSuffix(FieldNickname, v))
  548. }
  549. // NicknameEqualFold applies the EqualFold predicate on the "nickname" field.
  550. func NicknameEqualFold(v string) predicate.Contact {
  551. return predicate.Contact(sql.FieldEqualFold(FieldNickname, v))
  552. }
  553. // NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.
  554. func NicknameContainsFold(v string) predicate.Contact {
  555. return predicate.Contact(sql.FieldContainsFold(FieldNickname, v))
  556. }
  557. // MarknameEQ applies the EQ predicate on the "markname" field.
  558. func MarknameEQ(v string) predicate.Contact {
  559. return predicate.Contact(sql.FieldEQ(FieldMarkname, v))
  560. }
  561. // MarknameNEQ applies the NEQ predicate on the "markname" field.
  562. func MarknameNEQ(v string) predicate.Contact {
  563. return predicate.Contact(sql.FieldNEQ(FieldMarkname, v))
  564. }
  565. // MarknameIn applies the In predicate on the "markname" field.
  566. func MarknameIn(vs ...string) predicate.Contact {
  567. return predicate.Contact(sql.FieldIn(FieldMarkname, vs...))
  568. }
  569. // MarknameNotIn applies the NotIn predicate on the "markname" field.
  570. func MarknameNotIn(vs ...string) predicate.Contact {
  571. return predicate.Contact(sql.FieldNotIn(FieldMarkname, vs...))
  572. }
  573. // MarknameGT applies the GT predicate on the "markname" field.
  574. func MarknameGT(v string) predicate.Contact {
  575. return predicate.Contact(sql.FieldGT(FieldMarkname, v))
  576. }
  577. // MarknameGTE applies the GTE predicate on the "markname" field.
  578. func MarknameGTE(v string) predicate.Contact {
  579. return predicate.Contact(sql.FieldGTE(FieldMarkname, v))
  580. }
  581. // MarknameLT applies the LT predicate on the "markname" field.
  582. func MarknameLT(v string) predicate.Contact {
  583. return predicate.Contact(sql.FieldLT(FieldMarkname, v))
  584. }
  585. // MarknameLTE applies the LTE predicate on the "markname" field.
  586. func MarknameLTE(v string) predicate.Contact {
  587. return predicate.Contact(sql.FieldLTE(FieldMarkname, v))
  588. }
  589. // MarknameContains applies the Contains predicate on the "markname" field.
  590. func MarknameContains(v string) predicate.Contact {
  591. return predicate.Contact(sql.FieldContains(FieldMarkname, v))
  592. }
  593. // MarknameHasPrefix applies the HasPrefix predicate on the "markname" field.
  594. func MarknameHasPrefix(v string) predicate.Contact {
  595. return predicate.Contact(sql.FieldHasPrefix(FieldMarkname, v))
  596. }
  597. // MarknameHasSuffix applies the HasSuffix predicate on the "markname" field.
  598. func MarknameHasSuffix(v string) predicate.Contact {
  599. return predicate.Contact(sql.FieldHasSuffix(FieldMarkname, v))
  600. }
  601. // MarknameEqualFold applies the EqualFold predicate on the "markname" field.
  602. func MarknameEqualFold(v string) predicate.Contact {
  603. return predicate.Contact(sql.FieldEqualFold(FieldMarkname, v))
  604. }
  605. // MarknameContainsFold applies the ContainsFold predicate on the "markname" field.
  606. func MarknameContainsFold(v string) predicate.Contact {
  607. return predicate.Contact(sql.FieldContainsFold(FieldMarkname, v))
  608. }
  609. // HeadimgEQ applies the EQ predicate on the "headimg" field.
  610. func HeadimgEQ(v string) predicate.Contact {
  611. return predicate.Contact(sql.FieldEQ(FieldHeadimg, v))
  612. }
  613. // HeadimgNEQ applies the NEQ predicate on the "headimg" field.
  614. func HeadimgNEQ(v string) predicate.Contact {
  615. return predicate.Contact(sql.FieldNEQ(FieldHeadimg, v))
  616. }
  617. // HeadimgIn applies the In predicate on the "headimg" field.
  618. func HeadimgIn(vs ...string) predicate.Contact {
  619. return predicate.Contact(sql.FieldIn(FieldHeadimg, vs...))
  620. }
  621. // HeadimgNotIn applies the NotIn predicate on the "headimg" field.
  622. func HeadimgNotIn(vs ...string) predicate.Contact {
  623. return predicate.Contact(sql.FieldNotIn(FieldHeadimg, vs...))
  624. }
  625. // HeadimgGT applies the GT predicate on the "headimg" field.
  626. func HeadimgGT(v string) predicate.Contact {
  627. return predicate.Contact(sql.FieldGT(FieldHeadimg, v))
  628. }
  629. // HeadimgGTE applies the GTE predicate on the "headimg" field.
  630. func HeadimgGTE(v string) predicate.Contact {
  631. return predicate.Contact(sql.FieldGTE(FieldHeadimg, v))
  632. }
  633. // HeadimgLT applies the LT predicate on the "headimg" field.
  634. func HeadimgLT(v string) predicate.Contact {
  635. return predicate.Contact(sql.FieldLT(FieldHeadimg, v))
  636. }
  637. // HeadimgLTE applies the LTE predicate on the "headimg" field.
  638. func HeadimgLTE(v string) predicate.Contact {
  639. return predicate.Contact(sql.FieldLTE(FieldHeadimg, v))
  640. }
  641. // HeadimgContains applies the Contains predicate on the "headimg" field.
  642. func HeadimgContains(v string) predicate.Contact {
  643. return predicate.Contact(sql.FieldContains(FieldHeadimg, v))
  644. }
  645. // HeadimgHasPrefix applies the HasPrefix predicate on the "headimg" field.
  646. func HeadimgHasPrefix(v string) predicate.Contact {
  647. return predicate.Contact(sql.FieldHasPrefix(FieldHeadimg, v))
  648. }
  649. // HeadimgHasSuffix applies the HasSuffix predicate on the "headimg" field.
  650. func HeadimgHasSuffix(v string) predicate.Contact {
  651. return predicate.Contact(sql.FieldHasSuffix(FieldHeadimg, v))
  652. }
  653. // HeadimgEqualFold applies the EqualFold predicate on the "headimg" field.
  654. func HeadimgEqualFold(v string) predicate.Contact {
  655. return predicate.Contact(sql.FieldEqualFold(FieldHeadimg, v))
  656. }
  657. // HeadimgContainsFold applies the ContainsFold predicate on the "headimg" field.
  658. func HeadimgContainsFold(v string) predicate.Contact {
  659. return predicate.Contact(sql.FieldContainsFold(FieldHeadimg, v))
  660. }
  661. // SexEQ applies the EQ predicate on the "sex" field.
  662. func SexEQ(v int) predicate.Contact {
  663. return predicate.Contact(sql.FieldEQ(FieldSex, v))
  664. }
  665. // SexNEQ applies the NEQ predicate on the "sex" field.
  666. func SexNEQ(v int) predicate.Contact {
  667. return predicate.Contact(sql.FieldNEQ(FieldSex, v))
  668. }
  669. // SexIn applies the In predicate on the "sex" field.
  670. func SexIn(vs ...int) predicate.Contact {
  671. return predicate.Contact(sql.FieldIn(FieldSex, vs...))
  672. }
  673. // SexNotIn applies the NotIn predicate on the "sex" field.
  674. func SexNotIn(vs ...int) predicate.Contact {
  675. return predicate.Contact(sql.FieldNotIn(FieldSex, vs...))
  676. }
  677. // SexGT applies the GT predicate on the "sex" field.
  678. func SexGT(v int) predicate.Contact {
  679. return predicate.Contact(sql.FieldGT(FieldSex, v))
  680. }
  681. // SexGTE applies the GTE predicate on the "sex" field.
  682. func SexGTE(v int) predicate.Contact {
  683. return predicate.Contact(sql.FieldGTE(FieldSex, v))
  684. }
  685. // SexLT applies the LT predicate on the "sex" field.
  686. func SexLT(v int) predicate.Contact {
  687. return predicate.Contact(sql.FieldLT(FieldSex, v))
  688. }
  689. // SexLTE applies the LTE predicate on the "sex" field.
  690. func SexLTE(v int) predicate.Contact {
  691. return predicate.Contact(sql.FieldLTE(FieldSex, v))
  692. }
  693. // StarroleEQ applies the EQ predicate on the "starrole" field.
  694. func StarroleEQ(v string) predicate.Contact {
  695. return predicate.Contact(sql.FieldEQ(FieldStarrole, v))
  696. }
  697. // StarroleNEQ applies the NEQ predicate on the "starrole" field.
  698. func StarroleNEQ(v string) predicate.Contact {
  699. return predicate.Contact(sql.FieldNEQ(FieldStarrole, v))
  700. }
  701. // StarroleIn applies the In predicate on the "starrole" field.
  702. func StarroleIn(vs ...string) predicate.Contact {
  703. return predicate.Contact(sql.FieldIn(FieldStarrole, vs...))
  704. }
  705. // StarroleNotIn applies the NotIn predicate on the "starrole" field.
  706. func StarroleNotIn(vs ...string) predicate.Contact {
  707. return predicate.Contact(sql.FieldNotIn(FieldStarrole, vs...))
  708. }
  709. // StarroleGT applies the GT predicate on the "starrole" field.
  710. func StarroleGT(v string) predicate.Contact {
  711. return predicate.Contact(sql.FieldGT(FieldStarrole, v))
  712. }
  713. // StarroleGTE applies the GTE predicate on the "starrole" field.
  714. func StarroleGTE(v string) predicate.Contact {
  715. return predicate.Contact(sql.FieldGTE(FieldStarrole, v))
  716. }
  717. // StarroleLT applies the LT predicate on the "starrole" field.
  718. func StarroleLT(v string) predicate.Contact {
  719. return predicate.Contact(sql.FieldLT(FieldStarrole, v))
  720. }
  721. // StarroleLTE applies the LTE predicate on the "starrole" field.
  722. func StarroleLTE(v string) predicate.Contact {
  723. return predicate.Contact(sql.FieldLTE(FieldStarrole, v))
  724. }
  725. // StarroleContains applies the Contains predicate on the "starrole" field.
  726. func StarroleContains(v string) predicate.Contact {
  727. return predicate.Contact(sql.FieldContains(FieldStarrole, v))
  728. }
  729. // StarroleHasPrefix applies the HasPrefix predicate on the "starrole" field.
  730. func StarroleHasPrefix(v string) predicate.Contact {
  731. return predicate.Contact(sql.FieldHasPrefix(FieldStarrole, v))
  732. }
  733. // StarroleHasSuffix applies the HasSuffix predicate on the "starrole" field.
  734. func StarroleHasSuffix(v string) predicate.Contact {
  735. return predicate.Contact(sql.FieldHasSuffix(FieldStarrole, v))
  736. }
  737. // StarroleEqualFold applies the EqualFold predicate on the "starrole" field.
  738. func StarroleEqualFold(v string) predicate.Contact {
  739. return predicate.Contact(sql.FieldEqualFold(FieldStarrole, v))
  740. }
  741. // StarroleContainsFold applies the ContainsFold predicate on the "starrole" field.
  742. func StarroleContainsFold(v string) predicate.Contact {
  743. return predicate.Contact(sql.FieldContainsFold(FieldStarrole, v))
  744. }
  745. // DontseeitEQ applies the EQ predicate on the "dontseeit" field.
  746. func DontseeitEQ(v int) predicate.Contact {
  747. return predicate.Contact(sql.FieldEQ(FieldDontseeit, v))
  748. }
  749. // DontseeitNEQ applies the NEQ predicate on the "dontseeit" field.
  750. func DontseeitNEQ(v int) predicate.Contact {
  751. return predicate.Contact(sql.FieldNEQ(FieldDontseeit, v))
  752. }
  753. // DontseeitIn applies the In predicate on the "dontseeit" field.
  754. func DontseeitIn(vs ...int) predicate.Contact {
  755. return predicate.Contact(sql.FieldIn(FieldDontseeit, vs...))
  756. }
  757. // DontseeitNotIn applies the NotIn predicate on the "dontseeit" field.
  758. func DontseeitNotIn(vs ...int) predicate.Contact {
  759. return predicate.Contact(sql.FieldNotIn(FieldDontseeit, vs...))
  760. }
  761. // DontseeitGT applies the GT predicate on the "dontseeit" field.
  762. func DontseeitGT(v int) predicate.Contact {
  763. return predicate.Contact(sql.FieldGT(FieldDontseeit, v))
  764. }
  765. // DontseeitGTE applies the GTE predicate on the "dontseeit" field.
  766. func DontseeitGTE(v int) predicate.Contact {
  767. return predicate.Contact(sql.FieldGTE(FieldDontseeit, v))
  768. }
  769. // DontseeitLT applies the LT predicate on the "dontseeit" field.
  770. func DontseeitLT(v int) predicate.Contact {
  771. return predicate.Contact(sql.FieldLT(FieldDontseeit, v))
  772. }
  773. // DontseeitLTE applies the LTE predicate on the "dontseeit" field.
  774. func DontseeitLTE(v int) predicate.Contact {
  775. return predicate.Contact(sql.FieldLTE(FieldDontseeit, v))
  776. }
  777. // DontseemeEQ applies the EQ predicate on the "dontseeme" field.
  778. func DontseemeEQ(v int) predicate.Contact {
  779. return predicate.Contact(sql.FieldEQ(FieldDontseeme, v))
  780. }
  781. // DontseemeNEQ applies the NEQ predicate on the "dontseeme" field.
  782. func DontseemeNEQ(v int) predicate.Contact {
  783. return predicate.Contact(sql.FieldNEQ(FieldDontseeme, v))
  784. }
  785. // DontseemeIn applies the In predicate on the "dontseeme" field.
  786. func DontseemeIn(vs ...int) predicate.Contact {
  787. return predicate.Contact(sql.FieldIn(FieldDontseeme, vs...))
  788. }
  789. // DontseemeNotIn applies the NotIn predicate on the "dontseeme" field.
  790. func DontseemeNotIn(vs ...int) predicate.Contact {
  791. return predicate.Contact(sql.FieldNotIn(FieldDontseeme, vs...))
  792. }
  793. // DontseemeGT applies the GT predicate on the "dontseeme" field.
  794. func DontseemeGT(v int) predicate.Contact {
  795. return predicate.Contact(sql.FieldGT(FieldDontseeme, v))
  796. }
  797. // DontseemeGTE applies the GTE predicate on the "dontseeme" field.
  798. func DontseemeGTE(v int) predicate.Contact {
  799. return predicate.Contact(sql.FieldGTE(FieldDontseeme, v))
  800. }
  801. // DontseemeLT applies the LT predicate on the "dontseeme" field.
  802. func DontseemeLT(v int) predicate.Contact {
  803. return predicate.Contact(sql.FieldLT(FieldDontseeme, v))
  804. }
  805. // DontseemeLTE applies the LTE predicate on the "dontseeme" field.
  806. func DontseemeLTE(v int) predicate.Contact {
  807. return predicate.Contact(sql.FieldLTE(FieldDontseeme, v))
  808. }
  809. // LagEQ applies the EQ predicate on the "lag" field.
  810. func LagEQ(v string) predicate.Contact {
  811. return predicate.Contact(sql.FieldEQ(FieldLag, v))
  812. }
  813. // LagNEQ applies the NEQ predicate on the "lag" field.
  814. func LagNEQ(v string) predicate.Contact {
  815. return predicate.Contact(sql.FieldNEQ(FieldLag, v))
  816. }
  817. // LagIn applies the In predicate on the "lag" field.
  818. func LagIn(vs ...string) predicate.Contact {
  819. return predicate.Contact(sql.FieldIn(FieldLag, vs...))
  820. }
  821. // LagNotIn applies the NotIn predicate on the "lag" field.
  822. func LagNotIn(vs ...string) predicate.Contact {
  823. return predicate.Contact(sql.FieldNotIn(FieldLag, vs...))
  824. }
  825. // LagGT applies the GT predicate on the "lag" field.
  826. func LagGT(v string) predicate.Contact {
  827. return predicate.Contact(sql.FieldGT(FieldLag, v))
  828. }
  829. // LagGTE applies the GTE predicate on the "lag" field.
  830. func LagGTE(v string) predicate.Contact {
  831. return predicate.Contact(sql.FieldGTE(FieldLag, v))
  832. }
  833. // LagLT applies the LT predicate on the "lag" field.
  834. func LagLT(v string) predicate.Contact {
  835. return predicate.Contact(sql.FieldLT(FieldLag, v))
  836. }
  837. // LagLTE applies the LTE predicate on the "lag" field.
  838. func LagLTE(v string) predicate.Contact {
  839. return predicate.Contact(sql.FieldLTE(FieldLag, v))
  840. }
  841. // LagContains applies the Contains predicate on the "lag" field.
  842. func LagContains(v string) predicate.Contact {
  843. return predicate.Contact(sql.FieldContains(FieldLag, v))
  844. }
  845. // LagHasPrefix applies the HasPrefix predicate on the "lag" field.
  846. func LagHasPrefix(v string) predicate.Contact {
  847. return predicate.Contact(sql.FieldHasPrefix(FieldLag, v))
  848. }
  849. // LagHasSuffix applies the HasSuffix predicate on the "lag" field.
  850. func LagHasSuffix(v string) predicate.Contact {
  851. return predicate.Contact(sql.FieldHasSuffix(FieldLag, v))
  852. }
  853. // LagEqualFold applies the EqualFold predicate on the "lag" field.
  854. func LagEqualFold(v string) predicate.Contact {
  855. return predicate.Contact(sql.FieldEqualFold(FieldLag, v))
  856. }
  857. // LagContainsFold applies the ContainsFold predicate on the "lag" field.
  858. func LagContainsFold(v string) predicate.Contact {
  859. return predicate.Contact(sql.FieldContainsFold(FieldLag, v))
  860. }
  861. // GidEQ applies the EQ predicate on the "gid" field.
  862. func GidEQ(v string) predicate.Contact {
  863. return predicate.Contact(sql.FieldEQ(FieldGid, v))
  864. }
  865. // GidNEQ applies the NEQ predicate on the "gid" field.
  866. func GidNEQ(v string) predicate.Contact {
  867. return predicate.Contact(sql.FieldNEQ(FieldGid, v))
  868. }
  869. // GidIn applies the In predicate on the "gid" field.
  870. func GidIn(vs ...string) predicate.Contact {
  871. return predicate.Contact(sql.FieldIn(FieldGid, vs...))
  872. }
  873. // GidNotIn applies the NotIn predicate on the "gid" field.
  874. func GidNotIn(vs ...string) predicate.Contact {
  875. return predicate.Contact(sql.FieldNotIn(FieldGid, vs...))
  876. }
  877. // GidGT applies the GT predicate on the "gid" field.
  878. func GidGT(v string) predicate.Contact {
  879. return predicate.Contact(sql.FieldGT(FieldGid, v))
  880. }
  881. // GidGTE applies the GTE predicate on the "gid" field.
  882. func GidGTE(v string) predicate.Contact {
  883. return predicate.Contact(sql.FieldGTE(FieldGid, v))
  884. }
  885. // GidLT applies the LT predicate on the "gid" field.
  886. func GidLT(v string) predicate.Contact {
  887. return predicate.Contact(sql.FieldLT(FieldGid, v))
  888. }
  889. // GidLTE applies the LTE predicate on the "gid" field.
  890. func GidLTE(v string) predicate.Contact {
  891. return predicate.Contact(sql.FieldLTE(FieldGid, v))
  892. }
  893. // GidContains applies the Contains predicate on the "gid" field.
  894. func GidContains(v string) predicate.Contact {
  895. return predicate.Contact(sql.FieldContains(FieldGid, v))
  896. }
  897. // GidHasPrefix applies the HasPrefix predicate on the "gid" field.
  898. func GidHasPrefix(v string) predicate.Contact {
  899. return predicate.Contact(sql.FieldHasPrefix(FieldGid, v))
  900. }
  901. // GidHasSuffix applies the HasSuffix predicate on the "gid" field.
  902. func GidHasSuffix(v string) predicate.Contact {
  903. return predicate.Contact(sql.FieldHasSuffix(FieldGid, v))
  904. }
  905. // GidEqualFold applies the EqualFold predicate on the "gid" field.
  906. func GidEqualFold(v string) predicate.Contact {
  907. return predicate.Contact(sql.FieldEqualFold(FieldGid, v))
  908. }
  909. // GidContainsFold applies the ContainsFold predicate on the "gid" field.
  910. func GidContainsFold(v string) predicate.Contact {
  911. return predicate.Contact(sql.FieldContainsFold(FieldGid, v))
  912. }
  913. // GnameEQ applies the EQ predicate on the "gname" field.
  914. func GnameEQ(v string) predicate.Contact {
  915. return predicate.Contact(sql.FieldEQ(FieldGname, v))
  916. }
  917. // GnameNEQ applies the NEQ predicate on the "gname" field.
  918. func GnameNEQ(v string) predicate.Contact {
  919. return predicate.Contact(sql.FieldNEQ(FieldGname, v))
  920. }
  921. // GnameIn applies the In predicate on the "gname" field.
  922. func GnameIn(vs ...string) predicate.Contact {
  923. return predicate.Contact(sql.FieldIn(FieldGname, vs...))
  924. }
  925. // GnameNotIn applies the NotIn predicate on the "gname" field.
  926. func GnameNotIn(vs ...string) predicate.Contact {
  927. return predicate.Contact(sql.FieldNotIn(FieldGname, vs...))
  928. }
  929. // GnameGT applies the GT predicate on the "gname" field.
  930. func GnameGT(v string) predicate.Contact {
  931. return predicate.Contact(sql.FieldGT(FieldGname, v))
  932. }
  933. // GnameGTE applies the GTE predicate on the "gname" field.
  934. func GnameGTE(v string) predicate.Contact {
  935. return predicate.Contact(sql.FieldGTE(FieldGname, v))
  936. }
  937. // GnameLT applies the LT predicate on the "gname" field.
  938. func GnameLT(v string) predicate.Contact {
  939. return predicate.Contact(sql.FieldLT(FieldGname, v))
  940. }
  941. // GnameLTE applies the LTE predicate on the "gname" field.
  942. func GnameLTE(v string) predicate.Contact {
  943. return predicate.Contact(sql.FieldLTE(FieldGname, v))
  944. }
  945. // GnameContains applies the Contains predicate on the "gname" field.
  946. func GnameContains(v string) predicate.Contact {
  947. return predicate.Contact(sql.FieldContains(FieldGname, v))
  948. }
  949. // GnameHasPrefix applies the HasPrefix predicate on the "gname" field.
  950. func GnameHasPrefix(v string) predicate.Contact {
  951. return predicate.Contact(sql.FieldHasPrefix(FieldGname, v))
  952. }
  953. // GnameHasSuffix applies the HasSuffix predicate on the "gname" field.
  954. func GnameHasSuffix(v string) predicate.Contact {
  955. return predicate.Contact(sql.FieldHasSuffix(FieldGname, v))
  956. }
  957. // GnameEqualFold applies the EqualFold predicate on the "gname" field.
  958. func GnameEqualFold(v string) predicate.Contact {
  959. return predicate.Contact(sql.FieldEqualFold(FieldGname, v))
  960. }
  961. // GnameContainsFold applies the ContainsFold predicate on the "gname" field.
  962. func GnameContainsFold(v string) predicate.Contact {
  963. return predicate.Contact(sql.FieldContainsFold(FieldGname, v))
  964. }
  965. // V3EQ applies the EQ predicate on the "v3" field.
  966. func V3EQ(v string) predicate.Contact {
  967. return predicate.Contact(sql.FieldEQ(FieldV3, v))
  968. }
  969. // V3NEQ applies the NEQ predicate on the "v3" field.
  970. func V3NEQ(v string) predicate.Contact {
  971. return predicate.Contact(sql.FieldNEQ(FieldV3, v))
  972. }
  973. // V3In applies the In predicate on the "v3" field.
  974. func V3In(vs ...string) predicate.Contact {
  975. return predicate.Contact(sql.FieldIn(FieldV3, vs...))
  976. }
  977. // V3NotIn applies the NotIn predicate on the "v3" field.
  978. func V3NotIn(vs ...string) predicate.Contact {
  979. return predicate.Contact(sql.FieldNotIn(FieldV3, vs...))
  980. }
  981. // V3GT applies the GT predicate on the "v3" field.
  982. func V3GT(v string) predicate.Contact {
  983. return predicate.Contact(sql.FieldGT(FieldV3, v))
  984. }
  985. // V3GTE applies the GTE predicate on the "v3" field.
  986. func V3GTE(v string) predicate.Contact {
  987. return predicate.Contact(sql.FieldGTE(FieldV3, v))
  988. }
  989. // V3LT applies the LT predicate on the "v3" field.
  990. func V3LT(v string) predicate.Contact {
  991. return predicate.Contact(sql.FieldLT(FieldV3, v))
  992. }
  993. // V3LTE applies the LTE predicate on the "v3" field.
  994. func V3LTE(v string) predicate.Contact {
  995. return predicate.Contact(sql.FieldLTE(FieldV3, v))
  996. }
  997. // V3Contains applies the Contains predicate on the "v3" field.
  998. func V3Contains(v string) predicate.Contact {
  999. return predicate.Contact(sql.FieldContains(FieldV3, v))
  1000. }
  1001. // V3HasPrefix applies the HasPrefix predicate on the "v3" field.
  1002. func V3HasPrefix(v string) predicate.Contact {
  1003. return predicate.Contact(sql.FieldHasPrefix(FieldV3, v))
  1004. }
  1005. // V3HasSuffix applies the HasSuffix predicate on the "v3" field.
  1006. func V3HasSuffix(v string) predicate.Contact {
  1007. return predicate.Contact(sql.FieldHasSuffix(FieldV3, v))
  1008. }
  1009. // V3EqualFold applies the EqualFold predicate on the "v3" field.
  1010. func V3EqualFold(v string) predicate.Contact {
  1011. return predicate.Contact(sql.FieldEqualFold(FieldV3, v))
  1012. }
  1013. // V3ContainsFold applies the ContainsFold predicate on the "v3" field.
  1014. func V3ContainsFold(v string) predicate.Contact {
  1015. return predicate.Contact(sql.FieldContainsFold(FieldV3, v))
  1016. }
  1017. // OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
  1018. func OrganizationIDEQ(v uint64) predicate.Contact {
  1019. return predicate.Contact(sql.FieldEQ(FieldOrganizationID, v))
  1020. }
  1021. // OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
  1022. func OrganizationIDNEQ(v uint64) predicate.Contact {
  1023. return predicate.Contact(sql.FieldNEQ(FieldOrganizationID, v))
  1024. }
  1025. // OrganizationIDIn applies the In predicate on the "organization_id" field.
  1026. func OrganizationIDIn(vs ...uint64) predicate.Contact {
  1027. return predicate.Contact(sql.FieldIn(FieldOrganizationID, vs...))
  1028. }
  1029. // OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
  1030. func OrganizationIDNotIn(vs ...uint64) predicate.Contact {
  1031. return predicate.Contact(sql.FieldNotIn(FieldOrganizationID, vs...))
  1032. }
  1033. // OrganizationIDGT applies the GT predicate on the "organization_id" field.
  1034. func OrganizationIDGT(v uint64) predicate.Contact {
  1035. return predicate.Contact(sql.FieldGT(FieldOrganizationID, v))
  1036. }
  1037. // OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
  1038. func OrganizationIDGTE(v uint64) predicate.Contact {
  1039. return predicate.Contact(sql.FieldGTE(FieldOrganizationID, v))
  1040. }
  1041. // OrganizationIDLT applies the LT predicate on the "organization_id" field.
  1042. func OrganizationIDLT(v uint64) predicate.Contact {
  1043. return predicate.Contact(sql.FieldLT(FieldOrganizationID, v))
  1044. }
  1045. // OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
  1046. func OrganizationIDLTE(v uint64) predicate.Contact {
  1047. return predicate.Contact(sql.FieldLTE(FieldOrganizationID, v))
  1048. }
  1049. // OrganizationIDIsNil applies the IsNil predicate on the "organization_id" field.
  1050. func OrganizationIDIsNil() predicate.Contact {
  1051. return predicate.Contact(sql.FieldIsNull(FieldOrganizationID))
  1052. }
  1053. // OrganizationIDNotNil applies the NotNil predicate on the "organization_id" field.
  1054. func OrganizationIDNotNil() predicate.Contact {
  1055. return predicate.Contact(sql.FieldNotNull(FieldOrganizationID))
  1056. }
  1057. // CtypeEQ applies the EQ predicate on the "ctype" field.
  1058. func CtypeEQ(v uint64) predicate.Contact {
  1059. return predicate.Contact(sql.FieldEQ(FieldCtype, v))
  1060. }
  1061. // CtypeNEQ applies the NEQ predicate on the "ctype" field.
  1062. func CtypeNEQ(v uint64) predicate.Contact {
  1063. return predicate.Contact(sql.FieldNEQ(FieldCtype, v))
  1064. }
  1065. // CtypeIn applies the In predicate on the "ctype" field.
  1066. func CtypeIn(vs ...uint64) predicate.Contact {
  1067. return predicate.Contact(sql.FieldIn(FieldCtype, vs...))
  1068. }
  1069. // CtypeNotIn applies the NotIn predicate on the "ctype" field.
  1070. func CtypeNotIn(vs ...uint64) predicate.Contact {
  1071. return predicate.Contact(sql.FieldNotIn(FieldCtype, vs...))
  1072. }
  1073. // CtypeGT applies the GT predicate on the "ctype" field.
  1074. func CtypeGT(v uint64) predicate.Contact {
  1075. return predicate.Contact(sql.FieldGT(FieldCtype, v))
  1076. }
  1077. // CtypeGTE applies the GTE predicate on the "ctype" field.
  1078. func CtypeGTE(v uint64) predicate.Contact {
  1079. return predicate.Contact(sql.FieldGTE(FieldCtype, v))
  1080. }
  1081. // CtypeLT applies the LT predicate on the "ctype" field.
  1082. func CtypeLT(v uint64) predicate.Contact {
  1083. return predicate.Contact(sql.FieldLT(FieldCtype, v))
  1084. }
  1085. // CtypeLTE applies the LTE predicate on the "ctype" field.
  1086. func CtypeLTE(v uint64) predicate.Contact {
  1087. return predicate.Contact(sql.FieldLTE(FieldCtype, v))
  1088. }
  1089. // CageEQ applies the EQ predicate on the "cage" field.
  1090. func CageEQ(v int) predicate.Contact {
  1091. return predicate.Contact(sql.FieldEQ(FieldCage, v))
  1092. }
  1093. // CageNEQ applies the NEQ predicate on the "cage" field.
  1094. func CageNEQ(v int) predicate.Contact {
  1095. return predicate.Contact(sql.FieldNEQ(FieldCage, v))
  1096. }
  1097. // CageIn applies the In predicate on the "cage" field.
  1098. func CageIn(vs ...int) predicate.Contact {
  1099. return predicate.Contact(sql.FieldIn(FieldCage, vs...))
  1100. }
  1101. // CageNotIn applies the NotIn predicate on the "cage" field.
  1102. func CageNotIn(vs ...int) predicate.Contact {
  1103. return predicate.Contact(sql.FieldNotIn(FieldCage, vs...))
  1104. }
  1105. // CageGT applies the GT predicate on the "cage" field.
  1106. func CageGT(v int) predicate.Contact {
  1107. return predicate.Contact(sql.FieldGT(FieldCage, v))
  1108. }
  1109. // CageGTE applies the GTE predicate on the "cage" field.
  1110. func CageGTE(v int) predicate.Contact {
  1111. return predicate.Contact(sql.FieldGTE(FieldCage, v))
  1112. }
  1113. // CageLT applies the LT predicate on the "cage" field.
  1114. func CageLT(v int) predicate.Contact {
  1115. return predicate.Contact(sql.FieldLT(FieldCage, v))
  1116. }
  1117. // CageLTE applies the LTE predicate on the "cage" field.
  1118. func CageLTE(v int) predicate.Contact {
  1119. return predicate.Contact(sql.FieldLTE(FieldCage, v))
  1120. }
  1121. // CnameEQ applies the EQ predicate on the "cname" field.
  1122. func CnameEQ(v string) predicate.Contact {
  1123. return predicate.Contact(sql.FieldEQ(FieldCname, v))
  1124. }
  1125. // CnameNEQ applies the NEQ predicate on the "cname" field.
  1126. func CnameNEQ(v string) predicate.Contact {
  1127. return predicate.Contact(sql.FieldNEQ(FieldCname, v))
  1128. }
  1129. // CnameIn applies the In predicate on the "cname" field.
  1130. func CnameIn(vs ...string) predicate.Contact {
  1131. return predicate.Contact(sql.FieldIn(FieldCname, vs...))
  1132. }
  1133. // CnameNotIn applies the NotIn predicate on the "cname" field.
  1134. func CnameNotIn(vs ...string) predicate.Contact {
  1135. return predicate.Contact(sql.FieldNotIn(FieldCname, vs...))
  1136. }
  1137. // CnameGT applies the GT predicate on the "cname" field.
  1138. func CnameGT(v string) predicate.Contact {
  1139. return predicate.Contact(sql.FieldGT(FieldCname, v))
  1140. }
  1141. // CnameGTE applies the GTE predicate on the "cname" field.
  1142. func CnameGTE(v string) predicate.Contact {
  1143. return predicate.Contact(sql.FieldGTE(FieldCname, v))
  1144. }
  1145. // CnameLT applies the LT predicate on the "cname" field.
  1146. func CnameLT(v string) predicate.Contact {
  1147. return predicate.Contact(sql.FieldLT(FieldCname, v))
  1148. }
  1149. // CnameLTE applies the LTE predicate on the "cname" field.
  1150. func CnameLTE(v string) predicate.Contact {
  1151. return predicate.Contact(sql.FieldLTE(FieldCname, v))
  1152. }
  1153. // CnameContains applies the Contains predicate on the "cname" field.
  1154. func CnameContains(v string) predicate.Contact {
  1155. return predicate.Contact(sql.FieldContains(FieldCname, v))
  1156. }
  1157. // CnameHasPrefix applies the HasPrefix predicate on the "cname" field.
  1158. func CnameHasPrefix(v string) predicate.Contact {
  1159. return predicate.Contact(sql.FieldHasPrefix(FieldCname, v))
  1160. }
  1161. // CnameHasSuffix applies the HasSuffix predicate on the "cname" field.
  1162. func CnameHasSuffix(v string) predicate.Contact {
  1163. return predicate.Contact(sql.FieldHasSuffix(FieldCname, v))
  1164. }
  1165. // CnameEqualFold applies the EqualFold predicate on the "cname" field.
  1166. func CnameEqualFold(v string) predicate.Contact {
  1167. return predicate.Contact(sql.FieldEqualFold(FieldCname, v))
  1168. }
  1169. // CnameContainsFold applies the ContainsFold predicate on the "cname" field.
  1170. func CnameContainsFold(v string) predicate.Contact {
  1171. return predicate.Contact(sql.FieldContainsFold(FieldCname, v))
  1172. }
  1173. // CareaEQ applies the EQ predicate on the "carea" field.
  1174. func CareaEQ(v string) predicate.Contact {
  1175. return predicate.Contact(sql.FieldEQ(FieldCarea, v))
  1176. }
  1177. // CareaNEQ applies the NEQ predicate on the "carea" field.
  1178. func CareaNEQ(v string) predicate.Contact {
  1179. return predicate.Contact(sql.FieldNEQ(FieldCarea, v))
  1180. }
  1181. // CareaIn applies the In predicate on the "carea" field.
  1182. func CareaIn(vs ...string) predicate.Contact {
  1183. return predicate.Contact(sql.FieldIn(FieldCarea, vs...))
  1184. }
  1185. // CareaNotIn applies the NotIn predicate on the "carea" field.
  1186. func CareaNotIn(vs ...string) predicate.Contact {
  1187. return predicate.Contact(sql.FieldNotIn(FieldCarea, vs...))
  1188. }
  1189. // CareaGT applies the GT predicate on the "carea" field.
  1190. func CareaGT(v string) predicate.Contact {
  1191. return predicate.Contact(sql.FieldGT(FieldCarea, v))
  1192. }
  1193. // CareaGTE applies the GTE predicate on the "carea" field.
  1194. func CareaGTE(v string) predicate.Contact {
  1195. return predicate.Contact(sql.FieldGTE(FieldCarea, v))
  1196. }
  1197. // CareaLT applies the LT predicate on the "carea" field.
  1198. func CareaLT(v string) predicate.Contact {
  1199. return predicate.Contact(sql.FieldLT(FieldCarea, v))
  1200. }
  1201. // CareaLTE applies the LTE predicate on the "carea" field.
  1202. func CareaLTE(v string) predicate.Contact {
  1203. return predicate.Contact(sql.FieldLTE(FieldCarea, v))
  1204. }
  1205. // CareaContains applies the Contains predicate on the "carea" field.
  1206. func CareaContains(v string) predicate.Contact {
  1207. return predicate.Contact(sql.FieldContains(FieldCarea, v))
  1208. }
  1209. // CareaHasPrefix applies the HasPrefix predicate on the "carea" field.
  1210. func CareaHasPrefix(v string) predicate.Contact {
  1211. return predicate.Contact(sql.FieldHasPrefix(FieldCarea, v))
  1212. }
  1213. // CareaHasSuffix applies the HasSuffix predicate on the "carea" field.
  1214. func CareaHasSuffix(v string) predicate.Contact {
  1215. return predicate.Contact(sql.FieldHasSuffix(FieldCarea, v))
  1216. }
  1217. // CareaEqualFold applies the EqualFold predicate on the "carea" field.
  1218. func CareaEqualFold(v string) predicate.Contact {
  1219. return predicate.Contact(sql.FieldEqualFold(FieldCarea, v))
  1220. }
  1221. // CareaContainsFold applies the ContainsFold predicate on the "carea" field.
  1222. func CareaContainsFold(v string) predicate.Contact {
  1223. return predicate.Contact(sql.FieldContainsFold(FieldCarea, v))
  1224. }
  1225. // CbirthdayEQ applies the EQ predicate on the "cbirthday" field.
  1226. func CbirthdayEQ(v string) predicate.Contact {
  1227. return predicate.Contact(sql.FieldEQ(FieldCbirthday, v))
  1228. }
  1229. // CbirthdayNEQ applies the NEQ predicate on the "cbirthday" field.
  1230. func CbirthdayNEQ(v string) predicate.Contact {
  1231. return predicate.Contact(sql.FieldNEQ(FieldCbirthday, v))
  1232. }
  1233. // CbirthdayIn applies the In predicate on the "cbirthday" field.
  1234. func CbirthdayIn(vs ...string) predicate.Contact {
  1235. return predicate.Contact(sql.FieldIn(FieldCbirthday, vs...))
  1236. }
  1237. // CbirthdayNotIn applies the NotIn predicate on the "cbirthday" field.
  1238. func CbirthdayNotIn(vs ...string) predicate.Contact {
  1239. return predicate.Contact(sql.FieldNotIn(FieldCbirthday, vs...))
  1240. }
  1241. // CbirthdayGT applies the GT predicate on the "cbirthday" field.
  1242. func CbirthdayGT(v string) predicate.Contact {
  1243. return predicate.Contact(sql.FieldGT(FieldCbirthday, v))
  1244. }
  1245. // CbirthdayGTE applies the GTE predicate on the "cbirthday" field.
  1246. func CbirthdayGTE(v string) predicate.Contact {
  1247. return predicate.Contact(sql.FieldGTE(FieldCbirthday, v))
  1248. }
  1249. // CbirthdayLT applies the LT predicate on the "cbirthday" field.
  1250. func CbirthdayLT(v string) predicate.Contact {
  1251. return predicate.Contact(sql.FieldLT(FieldCbirthday, v))
  1252. }
  1253. // CbirthdayLTE applies the LTE predicate on the "cbirthday" field.
  1254. func CbirthdayLTE(v string) predicate.Contact {
  1255. return predicate.Contact(sql.FieldLTE(FieldCbirthday, v))
  1256. }
  1257. // CbirthdayContains applies the Contains predicate on the "cbirthday" field.
  1258. func CbirthdayContains(v string) predicate.Contact {
  1259. return predicate.Contact(sql.FieldContains(FieldCbirthday, v))
  1260. }
  1261. // CbirthdayHasPrefix applies the HasPrefix predicate on the "cbirthday" field.
  1262. func CbirthdayHasPrefix(v string) predicate.Contact {
  1263. return predicate.Contact(sql.FieldHasPrefix(FieldCbirthday, v))
  1264. }
  1265. // CbirthdayHasSuffix applies the HasSuffix predicate on the "cbirthday" field.
  1266. func CbirthdayHasSuffix(v string) predicate.Contact {
  1267. return predicate.Contact(sql.FieldHasSuffix(FieldCbirthday, v))
  1268. }
  1269. // CbirthdayEqualFold applies the EqualFold predicate on the "cbirthday" field.
  1270. func CbirthdayEqualFold(v string) predicate.Contact {
  1271. return predicate.Contact(sql.FieldEqualFold(FieldCbirthday, v))
  1272. }
  1273. // CbirthdayContainsFold applies the ContainsFold predicate on the "cbirthday" field.
  1274. func CbirthdayContainsFold(v string) predicate.Contact {
  1275. return predicate.Contact(sql.FieldContainsFold(FieldCbirthday, v))
  1276. }
  1277. // CbirthareaEQ applies the EQ predicate on the "cbirtharea" field.
  1278. func CbirthareaEQ(v string) predicate.Contact {
  1279. return predicate.Contact(sql.FieldEQ(FieldCbirtharea, v))
  1280. }
  1281. // CbirthareaNEQ applies the NEQ predicate on the "cbirtharea" field.
  1282. func CbirthareaNEQ(v string) predicate.Contact {
  1283. return predicate.Contact(sql.FieldNEQ(FieldCbirtharea, v))
  1284. }
  1285. // CbirthareaIn applies the In predicate on the "cbirtharea" field.
  1286. func CbirthareaIn(vs ...string) predicate.Contact {
  1287. return predicate.Contact(sql.FieldIn(FieldCbirtharea, vs...))
  1288. }
  1289. // CbirthareaNotIn applies the NotIn predicate on the "cbirtharea" field.
  1290. func CbirthareaNotIn(vs ...string) predicate.Contact {
  1291. return predicate.Contact(sql.FieldNotIn(FieldCbirtharea, vs...))
  1292. }
  1293. // CbirthareaGT applies the GT predicate on the "cbirtharea" field.
  1294. func CbirthareaGT(v string) predicate.Contact {
  1295. return predicate.Contact(sql.FieldGT(FieldCbirtharea, v))
  1296. }
  1297. // CbirthareaGTE applies the GTE predicate on the "cbirtharea" field.
  1298. func CbirthareaGTE(v string) predicate.Contact {
  1299. return predicate.Contact(sql.FieldGTE(FieldCbirtharea, v))
  1300. }
  1301. // CbirthareaLT applies the LT predicate on the "cbirtharea" field.
  1302. func CbirthareaLT(v string) predicate.Contact {
  1303. return predicate.Contact(sql.FieldLT(FieldCbirtharea, v))
  1304. }
  1305. // CbirthareaLTE applies the LTE predicate on the "cbirtharea" field.
  1306. func CbirthareaLTE(v string) predicate.Contact {
  1307. return predicate.Contact(sql.FieldLTE(FieldCbirtharea, v))
  1308. }
  1309. // CbirthareaContains applies the Contains predicate on the "cbirtharea" field.
  1310. func CbirthareaContains(v string) predicate.Contact {
  1311. return predicate.Contact(sql.FieldContains(FieldCbirtharea, v))
  1312. }
  1313. // CbirthareaHasPrefix applies the HasPrefix predicate on the "cbirtharea" field.
  1314. func CbirthareaHasPrefix(v string) predicate.Contact {
  1315. return predicate.Contact(sql.FieldHasPrefix(FieldCbirtharea, v))
  1316. }
  1317. // CbirthareaHasSuffix applies the HasSuffix predicate on the "cbirtharea" field.
  1318. func CbirthareaHasSuffix(v string) predicate.Contact {
  1319. return predicate.Contact(sql.FieldHasSuffix(FieldCbirtharea, v))
  1320. }
  1321. // CbirthareaEqualFold applies the EqualFold predicate on the "cbirtharea" field.
  1322. func CbirthareaEqualFold(v string) predicate.Contact {
  1323. return predicate.Contact(sql.FieldEqualFold(FieldCbirtharea, v))
  1324. }
  1325. // CbirthareaContainsFold applies the ContainsFold predicate on the "cbirtharea" field.
  1326. func CbirthareaContainsFold(v string) predicate.Contact {
  1327. return predicate.Contact(sql.FieldContainsFold(FieldCbirtharea, v))
  1328. }
  1329. // CidcardNoEQ applies the EQ predicate on the "cidcard_no" field.
  1330. func CidcardNoEQ(v string) predicate.Contact {
  1331. return predicate.Contact(sql.FieldEQ(FieldCidcardNo, v))
  1332. }
  1333. // CidcardNoNEQ applies the NEQ predicate on the "cidcard_no" field.
  1334. func CidcardNoNEQ(v string) predicate.Contact {
  1335. return predicate.Contact(sql.FieldNEQ(FieldCidcardNo, v))
  1336. }
  1337. // CidcardNoIn applies the In predicate on the "cidcard_no" field.
  1338. func CidcardNoIn(vs ...string) predicate.Contact {
  1339. return predicate.Contact(sql.FieldIn(FieldCidcardNo, vs...))
  1340. }
  1341. // CidcardNoNotIn applies the NotIn predicate on the "cidcard_no" field.
  1342. func CidcardNoNotIn(vs ...string) predicate.Contact {
  1343. return predicate.Contact(sql.FieldNotIn(FieldCidcardNo, vs...))
  1344. }
  1345. // CidcardNoGT applies the GT predicate on the "cidcard_no" field.
  1346. func CidcardNoGT(v string) predicate.Contact {
  1347. return predicate.Contact(sql.FieldGT(FieldCidcardNo, v))
  1348. }
  1349. // CidcardNoGTE applies the GTE predicate on the "cidcard_no" field.
  1350. func CidcardNoGTE(v string) predicate.Contact {
  1351. return predicate.Contact(sql.FieldGTE(FieldCidcardNo, v))
  1352. }
  1353. // CidcardNoLT applies the LT predicate on the "cidcard_no" field.
  1354. func CidcardNoLT(v string) predicate.Contact {
  1355. return predicate.Contact(sql.FieldLT(FieldCidcardNo, v))
  1356. }
  1357. // CidcardNoLTE applies the LTE predicate on the "cidcard_no" field.
  1358. func CidcardNoLTE(v string) predicate.Contact {
  1359. return predicate.Contact(sql.FieldLTE(FieldCidcardNo, v))
  1360. }
  1361. // CidcardNoContains applies the Contains predicate on the "cidcard_no" field.
  1362. func CidcardNoContains(v string) predicate.Contact {
  1363. return predicate.Contact(sql.FieldContains(FieldCidcardNo, v))
  1364. }
  1365. // CidcardNoHasPrefix applies the HasPrefix predicate on the "cidcard_no" field.
  1366. func CidcardNoHasPrefix(v string) predicate.Contact {
  1367. return predicate.Contact(sql.FieldHasPrefix(FieldCidcardNo, v))
  1368. }
  1369. // CidcardNoHasSuffix applies the HasSuffix predicate on the "cidcard_no" field.
  1370. func CidcardNoHasSuffix(v string) predicate.Contact {
  1371. return predicate.Contact(sql.FieldHasSuffix(FieldCidcardNo, v))
  1372. }
  1373. // CidcardNoEqualFold applies the EqualFold predicate on the "cidcard_no" field.
  1374. func CidcardNoEqualFold(v string) predicate.Contact {
  1375. return predicate.Contact(sql.FieldEqualFold(FieldCidcardNo, v))
  1376. }
  1377. // CidcardNoContainsFold applies the ContainsFold predicate on the "cidcard_no" field.
  1378. func CidcardNoContainsFold(v string) predicate.Contact {
  1379. return predicate.Contact(sql.FieldContainsFold(FieldCidcardNo, v))
  1380. }
  1381. // CtitleEQ applies the EQ predicate on the "ctitle" field.
  1382. func CtitleEQ(v string) predicate.Contact {
  1383. return predicate.Contact(sql.FieldEQ(FieldCtitle, v))
  1384. }
  1385. // CtitleNEQ applies the NEQ predicate on the "ctitle" field.
  1386. func CtitleNEQ(v string) predicate.Contact {
  1387. return predicate.Contact(sql.FieldNEQ(FieldCtitle, v))
  1388. }
  1389. // CtitleIn applies the In predicate on the "ctitle" field.
  1390. func CtitleIn(vs ...string) predicate.Contact {
  1391. return predicate.Contact(sql.FieldIn(FieldCtitle, vs...))
  1392. }
  1393. // CtitleNotIn applies the NotIn predicate on the "ctitle" field.
  1394. func CtitleNotIn(vs ...string) predicate.Contact {
  1395. return predicate.Contact(sql.FieldNotIn(FieldCtitle, vs...))
  1396. }
  1397. // CtitleGT applies the GT predicate on the "ctitle" field.
  1398. func CtitleGT(v string) predicate.Contact {
  1399. return predicate.Contact(sql.FieldGT(FieldCtitle, v))
  1400. }
  1401. // CtitleGTE applies the GTE predicate on the "ctitle" field.
  1402. func CtitleGTE(v string) predicate.Contact {
  1403. return predicate.Contact(sql.FieldGTE(FieldCtitle, v))
  1404. }
  1405. // CtitleLT applies the LT predicate on the "ctitle" field.
  1406. func CtitleLT(v string) predicate.Contact {
  1407. return predicate.Contact(sql.FieldLT(FieldCtitle, v))
  1408. }
  1409. // CtitleLTE applies the LTE predicate on the "ctitle" field.
  1410. func CtitleLTE(v string) predicate.Contact {
  1411. return predicate.Contact(sql.FieldLTE(FieldCtitle, v))
  1412. }
  1413. // CtitleContains applies the Contains predicate on the "ctitle" field.
  1414. func CtitleContains(v string) predicate.Contact {
  1415. return predicate.Contact(sql.FieldContains(FieldCtitle, v))
  1416. }
  1417. // CtitleHasPrefix applies the HasPrefix predicate on the "ctitle" field.
  1418. func CtitleHasPrefix(v string) predicate.Contact {
  1419. return predicate.Contact(sql.FieldHasPrefix(FieldCtitle, v))
  1420. }
  1421. // CtitleHasSuffix applies the HasSuffix predicate on the "ctitle" field.
  1422. func CtitleHasSuffix(v string) predicate.Contact {
  1423. return predicate.Contact(sql.FieldHasSuffix(FieldCtitle, v))
  1424. }
  1425. // CtitleEqualFold applies the EqualFold predicate on the "ctitle" field.
  1426. func CtitleEqualFold(v string) predicate.Contact {
  1427. return predicate.Contact(sql.FieldEqualFold(FieldCtitle, v))
  1428. }
  1429. // CtitleContainsFold applies the ContainsFold predicate on the "ctitle" field.
  1430. func CtitleContainsFold(v string) predicate.Contact {
  1431. return predicate.Contact(sql.FieldContainsFold(FieldCtitle, v))
  1432. }
  1433. // CcEQ applies the EQ predicate on the "cc" field.
  1434. func CcEQ(v string) predicate.Contact {
  1435. return predicate.Contact(sql.FieldEQ(FieldCc, v))
  1436. }
  1437. // CcNEQ applies the NEQ predicate on the "cc" field.
  1438. func CcNEQ(v string) predicate.Contact {
  1439. return predicate.Contact(sql.FieldNEQ(FieldCc, v))
  1440. }
  1441. // CcIn applies the In predicate on the "cc" field.
  1442. func CcIn(vs ...string) predicate.Contact {
  1443. return predicate.Contact(sql.FieldIn(FieldCc, vs...))
  1444. }
  1445. // CcNotIn applies the NotIn predicate on the "cc" field.
  1446. func CcNotIn(vs ...string) predicate.Contact {
  1447. return predicate.Contact(sql.FieldNotIn(FieldCc, vs...))
  1448. }
  1449. // CcGT applies the GT predicate on the "cc" field.
  1450. func CcGT(v string) predicate.Contact {
  1451. return predicate.Contact(sql.FieldGT(FieldCc, v))
  1452. }
  1453. // CcGTE applies the GTE predicate on the "cc" field.
  1454. func CcGTE(v string) predicate.Contact {
  1455. return predicate.Contact(sql.FieldGTE(FieldCc, v))
  1456. }
  1457. // CcLT applies the LT predicate on the "cc" field.
  1458. func CcLT(v string) predicate.Contact {
  1459. return predicate.Contact(sql.FieldLT(FieldCc, v))
  1460. }
  1461. // CcLTE applies the LTE predicate on the "cc" field.
  1462. func CcLTE(v string) predicate.Contact {
  1463. return predicate.Contact(sql.FieldLTE(FieldCc, v))
  1464. }
  1465. // CcContains applies the Contains predicate on the "cc" field.
  1466. func CcContains(v string) predicate.Contact {
  1467. return predicate.Contact(sql.FieldContains(FieldCc, v))
  1468. }
  1469. // CcHasPrefix applies the HasPrefix predicate on the "cc" field.
  1470. func CcHasPrefix(v string) predicate.Contact {
  1471. return predicate.Contact(sql.FieldHasPrefix(FieldCc, v))
  1472. }
  1473. // CcHasSuffix applies the HasSuffix predicate on the "cc" field.
  1474. func CcHasSuffix(v string) predicate.Contact {
  1475. return predicate.Contact(sql.FieldHasSuffix(FieldCc, v))
  1476. }
  1477. // CcEqualFold applies the EqualFold predicate on the "cc" field.
  1478. func CcEqualFold(v string) predicate.Contact {
  1479. return predicate.Contact(sql.FieldEqualFold(FieldCc, v))
  1480. }
  1481. // CcContainsFold applies the ContainsFold predicate on the "cc" field.
  1482. func CcContainsFold(v string) predicate.Contact {
  1483. return predicate.Contact(sql.FieldContainsFold(FieldCc, v))
  1484. }
  1485. // PhoneEQ applies the EQ predicate on the "phone" field.
  1486. func PhoneEQ(v string) predicate.Contact {
  1487. return predicate.Contact(sql.FieldEQ(FieldPhone, v))
  1488. }
  1489. // PhoneNEQ applies the NEQ predicate on the "phone" field.
  1490. func PhoneNEQ(v string) predicate.Contact {
  1491. return predicate.Contact(sql.FieldNEQ(FieldPhone, v))
  1492. }
  1493. // PhoneIn applies the In predicate on the "phone" field.
  1494. func PhoneIn(vs ...string) predicate.Contact {
  1495. return predicate.Contact(sql.FieldIn(FieldPhone, vs...))
  1496. }
  1497. // PhoneNotIn applies the NotIn predicate on the "phone" field.
  1498. func PhoneNotIn(vs ...string) predicate.Contact {
  1499. return predicate.Contact(sql.FieldNotIn(FieldPhone, vs...))
  1500. }
  1501. // PhoneGT applies the GT predicate on the "phone" field.
  1502. func PhoneGT(v string) predicate.Contact {
  1503. return predicate.Contact(sql.FieldGT(FieldPhone, v))
  1504. }
  1505. // PhoneGTE applies the GTE predicate on the "phone" field.
  1506. func PhoneGTE(v string) predicate.Contact {
  1507. return predicate.Contact(sql.FieldGTE(FieldPhone, v))
  1508. }
  1509. // PhoneLT applies the LT predicate on the "phone" field.
  1510. func PhoneLT(v string) predicate.Contact {
  1511. return predicate.Contact(sql.FieldLT(FieldPhone, v))
  1512. }
  1513. // PhoneLTE applies the LTE predicate on the "phone" field.
  1514. func PhoneLTE(v string) predicate.Contact {
  1515. return predicate.Contact(sql.FieldLTE(FieldPhone, v))
  1516. }
  1517. // PhoneContains applies the Contains predicate on the "phone" field.
  1518. func PhoneContains(v string) predicate.Contact {
  1519. return predicate.Contact(sql.FieldContains(FieldPhone, v))
  1520. }
  1521. // PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
  1522. func PhoneHasPrefix(v string) predicate.Contact {
  1523. return predicate.Contact(sql.FieldHasPrefix(FieldPhone, v))
  1524. }
  1525. // PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
  1526. func PhoneHasSuffix(v string) predicate.Contact {
  1527. return predicate.Contact(sql.FieldHasSuffix(FieldPhone, v))
  1528. }
  1529. // PhoneEqualFold applies the EqualFold predicate on the "phone" field.
  1530. func PhoneEqualFold(v string) predicate.Contact {
  1531. return predicate.Contact(sql.FieldEqualFold(FieldPhone, v))
  1532. }
  1533. // PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
  1534. func PhoneContainsFold(v string) predicate.Contact {
  1535. return predicate.Contact(sql.FieldContainsFold(FieldPhone, v))
  1536. }
  1537. // HasContactRelationships applies the HasEdge predicate on the "contact_relationships" edge.
  1538. func HasContactRelationships() predicate.Contact {
  1539. return predicate.Contact(func(s *sql.Selector) {
  1540. step := sqlgraph.NewStep(
  1541. sqlgraph.From(Table, FieldID),
  1542. sqlgraph.Edge(sqlgraph.O2M, false, ContactRelationshipsTable, ContactRelationshipsColumn),
  1543. )
  1544. sqlgraph.HasNeighbors(s, step)
  1545. })
  1546. }
  1547. // HasContactRelationshipsWith applies the HasEdge predicate on the "contact_relationships" edge with a given conditions (other predicates).
  1548. func HasContactRelationshipsWith(preds ...predicate.LabelRelationship) predicate.Contact {
  1549. return predicate.Contact(func(s *sql.Selector) {
  1550. step := newContactRelationshipsStep()
  1551. sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
  1552. for _, p := range preds {
  1553. p(s)
  1554. }
  1555. })
  1556. })
  1557. }
  1558. // HasContactFields applies the HasEdge predicate on the "contact_fields" edge.
  1559. func HasContactFields() predicate.Contact {
  1560. return predicate.Contact(func(s *sql.Selector) {
  1561. step := sqlgraph.NewStep(
  1562. sqlgraph.From(Table, FieldID),
  1563. sqlgraph.Edge(sqlgraph.O2M, false, ContactFieldsTable, ContactFieldsColumn),
  1564. )
  1565. sqlgraph.HasNeighbors(s, step)
  1566. })
  1567. }
  1568. // HasContactFieldsWith applies the HasEdge predicate on the "contact_fields" edge with a given conditions (other predicates).
  1569. func HasContactFieldsWith(preds ...predicate.ContactField) predicate.Contact {
  1570. return predicate.Contact(func(s *sql.Selector) {
  1571. step := newContactFieldsStep()
  1572. sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
  1573. for _, p := range preds {
  1574. p(s)
  1575. }
  1576. })
  1577. })
  1578. }
  1579. // HasContactMessages applies the HasEdge predicate on the "contact_messages" edge.
  1580. func HasContactMessages() predicate.Contact {
  1581. return predicate.Contact(func(s *sql.Selector) {
  1582. step := sqlgraph.NewStep(
  1583. sqlgraph.From(Table, FieldID),
  1584. sqlgraph.Edge(sqlgraph.O2M, false, ContactMessagesTable, ContactMessagesColumn),
  1585. )
  1586. sqlgraph.HasNeighbors(s, step)
  1587. })
  1588. }
  1589. // HasContactMessagesWith applies the HasEdge predicate on the "contact_messages" edge with a given conditions (other predicates).
  1590. func HasContactMessagesWith(preds ...predicate.MessageRecords) predicate.Contact {
  1591. return predicate.Contact(func(s *sql.Selector) {
  1592. step := newContactMessagesStep()
  1593. sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
  1594. for _, p := range preds {
  1595. p(s)
  1596. }
  1597. })
  1598. })
  1599. }
  1600. // And groups predicates with the AND operator between them.
  1601. func And(predicates ...predicate.Contact) predicate.Contact {
  1602. return predicate.Contact(sql.AndPredicates(predicates...))
  1603. }
  1604. // Or groups predicates with the OR operator between them.
  1605. func Or(predicates ...predicate.Contact) predicate.Contact {
  1606. return predicate.Contact(sql.OrPredicates(predicates...))
  1607. }
  1608. // Not applies the not operator on the given predicate.
  1609. func Not(p predicate.Contact) predicate.Contact {
  1610. return predicate.Contact(sql.NotPredicates(p))
  1611. }