where.go 68 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982
  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. // HasContactMessages applies the HasEdge predicate on the "contact_messages" edge.
  1559. func HasContactMessages() 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, ContactMessagesTable, ContactMessagesColumn),
  1564. )
  1565. sqlgraph.HasNeighbors(s, step)
  1566. })
  1567. }
  1568. // HasContactMessagesWith applies the HasEdge predicate on the "contact_messages" edge with a given conditions (other predicates).
  1569. func HasContactMessagesWith(preds ...predicate.MessageRecords) predicate.Contact {
  1570. return predicate.Contact(func(s *sql.Selector) {
  1571. step := newContactMessagesStep()
  1572. sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
  1573. for _, p := range preds {
  1574. p(s)
  1575. }
  1576. })
  1577. })
  1578. }
  1579. // And groups predicates with the AND operator between them.
  1580. func And(predicates ...predicate.Contact) predicate.Contact {
  1581. return predicate.Contact(sql.AndPredicates(predicates...))
  1582. }
  1583. // Or groups predicates with the OR operator between them.
  1584. func Or(predicates ...predicate.Contact) predicate.Contact {
  1585. return predicate.Contact(sql.OrPredicates(predicates...))
  1586. }
  1587. // Not applies the not operator on the given predicate.
  1588. func Not(p predicate.Contact) predicate.Contact {
  1589. return predicate.Contact(sql.NotPredicates(p))
  1590. }