12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982 |
- // Code generated by ent, DO NOT EDIT.
- package contact
- import (
- "time"
- "wechat-api/ent/predicate"
- "entgo.io/ent/dialect/sql"
- "entgo.io/ent/dialect/sql/sqlgraph"
- )
- // ID filters vertices based on their ID field.
- func ID(id uint64) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldID, id))
- }
- // IDEQ applies the EQ predicate on the ID field.
- func IDEQ(id uint64) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldID, id))
- }
- // IDNEQ applies the NEQ predicate on the ID field.
- func IDNEQ(id uint64) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldID, id))
- }
- // IDIn applies the In predicate on the ID field.
- func IDIn(ids ...uint64) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldID, ids...))
- }
- // IDNotIn applies the NotIn predicate on the ID field.
- func IDNotIn(ids ...uint64) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldID, ids...))
- }
- // IDGT applies the GT predicate on the ID field.
- func IDGT(id uint64) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldID, id))
- }
- // IDGTE applies the GTE predicate on the ID field.
- func IDGTE(id uint64) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldID, id))
- }
- // IDLT applies the LT predicate on the ID field.
- func IDLT(id uint64) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldID, id))
- }
- // IDLTE applies the LTE predicate on the ID field.
- func IDLTE(id uint64) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldID, id))
- }
- // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
- func CreatedAt(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCreatedAt, v))
- }
- // UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
- func UpdatedAt(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
- func Status(v uint8) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldStatus, v))
- }
- // DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
- func DeletedAt(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldDeletedAt, v))
- }
- // WxWxid applies equality check predicate on the "wx_wxid" field. It's identical to WxWxidEQ.
- func WxWxid(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldWxWxid, v))
- }
- // Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
- func Type(v int) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldType, v))
- }
- // Wxid applies equality check predicate on the "wxid" field. It's identical to WxidEQ.
- func Wxid(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldWxid, v))
- }
- // Account applies equality check predicate on the "account" field. It's identical to AccountEQ.
- func Account(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldAccount, v))
- }
- // Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.
- func Nickname(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldNickname, v))
- }
- // Markname applies equality check predicate on the "markname" field. It's identical to MarknameEQ.
- func Markname(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldMarkname, v))
- }
- // Headimg applies equality check predicate on the "headimg" field. It's identical to HeadimgEQ.
- func Headimg(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldHeadimg, v))
- }
- // Sex applies equality check predicate on the "sex" field. It's identical to SexEQ.
- func Sex(v int) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldSex, v))
- }
- // Starrole applies equality check predicate on the "starrole" field. It's identical to StarroleEQ.
- func Starrole(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldStarrole, v))
- }
- // Dontseeit applies equality check predicate on the "dontseeit" field. It's identical to DontseeitEQ.
- func Dontseeit(v int) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldDontseeit, v))
- }
- // Dontseeme applies equality check predicate on the "dontseeme" field. It's identical to DontseemeEQ.
- func Dontseeme(v int) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldDontseeme, v))
- }
- // Lag applies equality check predicate on the "lag" field. It's identical to LagEQ.
- func Lag(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldLag, v))
- }
- // Gid applies equality check predicate on the "gid" field. It's identical to GidEQ.
- func Gid(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldGid, v))
- }
- // Gname applies equality check predicate on the "gname" field. It's identical to GnameEQ.
- func Gname(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldGname, v))
- }
- // V3 applies equality check predicate on the "v3" field. It's identical to V3EQ.
- func V3(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldV3, v))
- }
- // OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
- func OrganizationID(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldOrganizationID, v))
- }
- // Ctype applies equality check predicate on the "ctype" field. It's identical to CtypeEQ.
- func Ctype(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCtype, v))
- }
- // Cage applies equality check predicate on the "cage" field. It's identical to CageEQ.
- func Cage(v int) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCage, v))
- }
- // Cname applies equality check predicate on the "cname" field. It's identical to CnameEQ.
- func Cname(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCname, v))
- }
- // Carea applies equality check predicate on the "carea" field. It's identical to CareaEQ.
- func Carea(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCarea, v))
- }
- // Cbirthday applies equality check predicate on the "cbirthday" field. It's identical to CbirthdayEQ.
- func Cbirthday(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCbirthday, v))
- }
- // Cbirtharea applies equality check predicate on the "cbirtharea" field. It's identical to CbirthareaEQ.
- func Cbirtharea(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCbirtharea, v))
- }
- // CidcardNo applies equality check predicate on the "cidcard_no" field. It's identical to CidcardNoEQ.
- func CidcardNo(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCidcardNo, v))
- }
- // Ctitle applies equality check predicate on the "ctitle" field. It's identical to CtitleEQ.
- func Ctitle(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCtitle, v))
- }
- // Cc applies equality check predicate on the "cc" field. It's identical to CcEQ.
- func Cc(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCc, v))
- }
- // Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.
- func Phone(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldPhone, v))
- }
- // CreatedAtEQ applies the EQ predicate on the "created_at" field.
- func CreatedAtEQ(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCreatedAt, v))
- }
- // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
- func CreatedAtNEQ(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldCreatedAt, v))
- }
- // CreatedAtIn applies the In predicate on the "created_at" field.
- func CreatedAtIn(vs ...time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldCreatedAt, vs...))
- }
- // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
- func CreatedAtNotIn(vs ...time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldCreatedAt, vs...))
- }
- // CreatedAtGT applies the GT predicate on the "created_at" field.
- func CreatedAtGT(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldCreatedAt, v))
- }
- // CreatedAtGTE applies the GTE predicate on the "created_at" field.
- func CreatedAtGTE(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldCreatedAt, v))
- }
- // CreatedAtLT applies the LT predicate on the "created_at" field.
- func CreatedAtLT(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldCreatedAt, v))
- }
- // CreatedAtLTE applies the LTE predicate on the "created_at" field.
- func CreatedAtLTE(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldCreatedAt, v))
- }
- // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
- func UpdatedAtEQ(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
- func UpdatedAtNEQ(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtIn applies the In predicate on the "updated_at" field.
- func UpdatedAtIn(vs ...time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
- func UpdatedAtNotIn(vs ...time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtGT applies the GT predicate on the "updated_at" field.
- func UpdatedAtGT(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldUpdatedAt, v))
- }
- // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
- func UpdatedAtGTE(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldUpdatedAt, v))
- }
- // UpdatedAtLT applies the LT predicate on the "updated_at" field.
- func UpdatedAtLT(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldUpdatedAt, v))
- }
- // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
- func UpdatedAtLTE(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldUpdatedAt, v))
- }
- // StatusEQ applies the EQ predicate on the "status" field.
- func StatusEQ(v uint8) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldStatus, v))
- }
- // StatusNEQ applies the NEQ predicate on the "status" field.
- func StatusNEQ(v uint8) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldStatus, v))
- }
- // StatusIn applies the In predicate on the "status" field.
- func StatusIn(vs ...uint8) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldStatus, vs...))
- }
- // StatusNotIn applies the NotIn predicate on the "status" field.
- func StatusNotIn(vs ...uint8) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldStatus, vs...))
- }
- // StatusGT applies the GT predicate on the "status" field.
- func StatusGT(v uint8) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldStatus, v))
- }
- // StatusGTE applies the GTE predicate on the "status" field.
- func StatusGTE(v uint8) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldStatus, v))
- }
- // StatusLT applies the LT predicate on the "status" field.
- func StatusLT(v uint8) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldStatus, v))
- }
- // StatusLTE applies the LTE predicate on the "status" field.
- func StatusLTE(v uint8) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldStatus, v))
- }
- // StatusIsNil applies the IsNil predicate on the "status" field.
- func StatusIsNil() predicate.Contact {
- return predicate.Contact(sql.FieldIsNull(FieldStatus))
- }
- // StatusNotNil applies the NotNil predicate on the "status" field.
- func StatusNotNil() predicate.Contact {
- return predicate.Contact(sql.FieldNotNull(FieldStatus))
- }
- // DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
- func DeletedAtEQ(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldDeletedAt, v))
- }
- // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
- func DeletedAtNEQ(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldDeletedAt, v))
- }
- // DeletedAtIn applies the In predicate on the "deleted_at" field.
- func DeletedAtIn(vs ...time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldDeletedAt, vs...))
- }
- // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
- func DeletedAtNotIn(vs ...time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldDeletedAt, vs...))
- }
- // DeletedAtGT applies the GT predicate on the "deleted_at" field.
- func DeletedAtGT(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldDeletedAt, v))
- }
- // DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
- func DeletedAtGTE(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldDeletedAt, v))
- }
- // DeletedAtLT applies the LT predicate on the "deleted_at" field.
- func DeletedAtLT(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldDeletedAt, v))
- }
- // DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
- func DeletedAtLTE(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldDeletedAt, v))
- }
- // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
- func DeletedAtIsNil() predicate.Contact {
- return predicate.Contact(sql.FieldIsNull(FieldDeletedAt))
- }
- // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
- func DeletedAtNotNil() predicate.Contact {
- return predicate.Contact(sql.FieldNotNull(FieldDeletedAt))
- }
- // WxWxidEQ applies the EQ predicate on the "wx_wxid" field.
- func WxWxidEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldWxWxid, v))
- }
- // WxWxidNEQ applies the NEQ predicate on the "wx_wxid" field.
- func WxWxidNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldWxWxid, v))
- }
- // WxWxidIn applies the In predicate on the "wx_wxid" field.
- func WxWxidIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldWxWxid, vs...))
- }
- // WxWxidNotIn applies the NotIn predicate on the "wx_wxid" field.
- func WxWxidNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldWxWxid, vs...))
- }
- // WxWxidGT applies the GT predicate on the "wx_wxid" field.
- func WxWxidGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldWxWxid, v))
- }
- // WxWxidGTE applies the GTE predicate on the "wx_wxid" field.
- func WxWxidGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldWxWxid, v))
- }
- // WxWxidLT applies the LT predicate on the "wx_wxid" field.
- func WxWxidLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldWxWxid, v))
- }
- // WxWxidLTE applies the LTE predicate on the "wx_wxid" field.
- func WxWxidLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldWxWxid, v))
- }
- // WxWxidContains applies the Contains predicate on the "wx_wxid" field.
- func WxWxidContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldWxWxid, v))
- }
- // WxWxidHasPrefix applies the HasPrefix predicate on the "wx_wxid" field.
- func WxWxidHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldWxWxid, v))
- }
- // WxWxidHasSuffix applies the HasSuffix predicate on the "wx_wxid" field.
- func WxWxidHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldWxWxid, v))
- }
- // WxWxidEqualFold applies the EqualFold predicate on the "wx_wxid" field.
- func WxWxidEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldWxWxid, v))
- }
- // WxWxidContainsFold applies the ContainsFold predicate on the "wx_wxid" field.
- func WxWxidContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldWxWxid, v))
- }
- // TypeEQ applies the EQ predicate on the "type" field.
- func TypeEQ(v int) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldType, v))
- }
- // TypeNEQ applies the NEQ predicate on the "type" field.
- func TypeNEQ(v int) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldType, v))
- }
- // TypeIn applies the In predicate on the "type" field.
- func TypeIn(vs ...int) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldType, vs...))
- }
- // TypeNotIn applies the NotIn predicate on the "type" field.
- func TypeNotIn(vs ...int) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldType, vs...))
- }
- // TypeGT applies the GT predicate on the "type" field.
- func TypeGT(v int) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldType, v))
- }
- // TypeGTE applies the GTE predicate on the "type" field.
- func TypeGTE(v int) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldType, v))
- }
- // TypeLT applies the LT predicate on the "type" field.
- func TypeLT(v int) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldType, v))
- }
- // TypeLTE applies the LTE predicate on the "type" field.
- func TypeLTE(v int) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldType, v))
- }
- // TypeIsNil applies the IsNil predicate on the "type" field.
- func TypeIsNil() predicate.Contact {
- return predicate.Contact(sql.FieldIsNull(FieldType))
- }
- // TypeNotNil applies the NotNil predicate on the "type" field.
- func TypeNotNil() predicate.Contact {
- return predicate.Contact(sql.FieldNotNull(FieldType))
- }
- // WxidEQ applies the EQ predicate on the "wxid" field.
- func WxidEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldWxid, v))
- }
- // WxidNEQ applies the NEQ predicate on the "wxid" field.
- func WxidNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldWxid, v))
- }
- // WxidIn applies the In predicate on the "wxid" field.
- func WxidIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldWxid, vs...))
- }
- // WxidNotIn applies the NotIn predicate on the "wxid" field.
- func WxidNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldWxid, vs...))
- }
- // WxidGT applies the GT predicate on the "wxid" field.
- func WxidGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldWxid, v))
- }
- // WxidGTE applies the GTE predicate on the "wxid" field.
- func WxidGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldWxid, v))
- }
- // WxidLT applies the LT predicate on the "wxid" field.
- func WxidLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldWxid, v))
- }
- // WxidLTE applies the LTE predicate on the "wxid" field.
- func WxidLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldWxid, v))
- }
- // WxidContains applies the Contains predicate on the "wxid" field.
- func WxidContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldWxid, v))
- }
- // WxidHasPrefix applies the HasPrefix predicate on the "wxid" field.
- func WxidHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldWxid, v))
- }
- // WxidHasSuffix applies the HasSuffix predicate on the "wxid" field.
- func WxidHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldWxid, v))
- }
- // WxidEqualFold applies the EqualFold predicate on the "wxid" field.
- func WxidEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldWxid, v))
- }
- // WxidContainsFold applies the ContainsFold predicate on the "wxid" field.
- func WxidContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldWxid, v))
- }
- // AccountEQ applies the EQ predicate on the "account" field.
- func AccountEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldAccount, v))
- }
- // AccountNEQ applies the NEQ predicate on the "account" field.
- func AccountNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldAccount, v))
- }
- // AccountIn applies the In predicate on the "account" field.
- func AccountIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldAccount, vs...))
- }
- // AccountNotIn applies the NotIn predicate on the "account" field.
- func AccountNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldAccount, vs...))
- }
- // AccountGT applies the GT predicate on the "account" field.
- func AccountGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldAccount, v))
- }
- // AccountGTE applies the GTE predicate on the "account" field.
- func AccountGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldAccount, v))
- }
- // AccountLT applies the LT predicate on the "account" field.
- func AccountLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldAccount, v))
- }
- // AccountLTE applies the LTE predicate on the "account" field.
- func AccountLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldAccount, v))
- }
- // AccountContains applies the Contains predicate on the "account" field.
- func AccountContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldAccount, v))
- }
- // AccountHasPrefix applies the HasPrefix predicate on the "account" field.
- func AccountHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldAccount, v))
- }
- // AccountHasSuffix applies the HasSuffix predicate on the "account" field.
- func AccountHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldAccount, v))
- }
- // AccountEqualFold applies the EqualFold predicate on the "account" field.
- func AccountEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldAccount, v))
- }
- // AccountContainsFold applies the ContainsFold predicate on the "account" field.
- func AccountContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldAccount, v))
- }
- // NicknameEQ applies the EQ predicate on the "nickname" field.
- func NicknameEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldNickname, v))
- }
- // NicknameNEQ applies the NEQ predicate on the "nickname" field.
- func NicknameNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldNickname, v))
- }
- // NicknameIn applies the In predicate on the "nickname" field.
- func NicknameIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldNickname, vs...))
- }
- // NicknameNotIn applies the NotIn predicate on the "nickname" field.
- func NicknameNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldNickname, vs...))
- }
- // NicknameGT applies the GT predicate on the "nickname" field.
- func NicknameGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldNickname, v))
- }
- // NicknameGTE applies the GTE predicate on the "nickname" field.
- func NicknameGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldNickname, v))
- }
- // NicknameLT applies the LT predicate on the "nickname" field.
- func NicknameLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldNickname, v))
- }
- // NicknameLTE applies the LTE predicate on the "nickname" field.
- func NicknameLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldNickname, v))
- }
- // NicknameContains applies the Contains predicate on the "nickname" field.
- func NicknameContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldNickname, v))
- }
- // NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.
- func NicknameHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldNickname, v))
- }
- // NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.
- func NicknameHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldNickname, v))
- }
- // NicknameEqualFold applies the EqualFold predicate on the "nickname" field.
- func NicknameEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldNickname, v))
- }
- // NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.
- func NicknameContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldNickname, v))
- }
- // MarknameEQ applies the EQ predicate on the "markname" field.
- func MarknameEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldMarkname, v))
- }
- // MarknameNEQ applies the NEQ predicate on the "markname" field.
- func MarknameNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldMarkname, v))
- }
- // MarknameIn applies the In predicate on the "markname" field.
- func MarknameIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldMarkname, vs...))
- }
- // MarknameNotIn applies the NotIn predicate on the "markname" field.
- func MarknameNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldMarkname, vs...))
- }
- // MarknameGT applies the GT predicate on the "markname" field.
- func MarknameGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldMarkname, v))
- }
- // MarknameGTE applies the GTE predicate on the "markname" field.
- func MarknameGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldMarkname, v))
- }
- // MarknameLT applies the LT predicate on the "markname" field.
- func MarknameLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldMarkname, v))
- }
- // MarknameLTE applies the LTE predicate on the "markname" field.
- func MarknameLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldMarkname, v))
- }
- // MarknameContains applies the Contains predicate on the "markname" field.
- func MarknameContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldMarkname, v))
- }
- // MarknameHasPrefix applies the HasPrefix predicate on the "markname" field.
- func MarknameHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldMarkname, v))
- }
- // MarknameHasSuffix applies the HasSuffix predicate on the "markname" field.
- func MarknameHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldMarkname, v))
- }
- // MarknameEqualFold applies the EqualFold predicate on the "markname" field.
- func MarknameEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldMarkname, v))
- }
- // MarknameContainsFold applies the ContainsFold predicate on the "markname" field.
- func MarknameContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldMarkname, v))
- }
- // HeadimgEQ applies the EQ predicate on the "headimg" field.
- func HeadimgEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldHeadimg, v))
- }
- // HeadimgNEQ applies the NEQ predicate on the "headimg" field.
- func HeadimgNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldHeadimg, v))
- }
- // HeadimgIn applies the In predicate on the "headimg" field.
- func HeadimgIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldHeadimg, vs...))
- }
- // HeadimgNotIn applies the NotIn predicate on the "headimg" field.
- func HeadimgNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldHeadimg, vs...))
- }
- // HeadimgGT applies the GT predicate on the "headimg" field.
- func HeadimgGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldHeadimg, v))
- }
- // HeadimgGTE applies the GTE predicate on the "headimg" field.
- func HeadimgGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldHeadimg, v))
- }
- // HeadimgLT applies the LT predicate on the "headimg" field.
- func HeadimgLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldHeadimg, v))
- }
- // HeadimgLTE applies the LTE predicate on the "headimg" field.
- func HeadimgLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldHeadimg, v))
- }
- // HeadimgContains applies the Contains predicate on the "headimg" field.
- func HeadimgContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldHeadimg, v))
- }
- // HeadimgHasPrefix applies the HasPrefix predicate on the "headimg" field.
- func HeadimgHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldHeadimg, v))
- }
- // HeadimgHasSuffix applies the HasSuffix predicate on the "headimg" field.
- func HeadimgHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldHeadimg, v))
- }
- // HeadimgEqualFold applies the EqualFold predicate on the "headimg" field.
- func HeadimgEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldHeadimg, v))
- }
- // HeadimgContainsFold applies the ContainsFold predicate on the "headimg" field.
- func HeadimgContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldHeadimg, v))
- }
- // SexEQ applies the EQ predicate on the "sex" field.
- func SexEQ(v int) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldSex, v))
- }
- // SexNEQ applies the NEQ predicate on the "sex" field.
- func SexNEQ(v int) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldSex, v))
- }
- // SexIn applies the In predicate on the "sex" field.
- func SexIn(vs ...int) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldSex, vs...))
- }
- // SexNotIn applies the NotIn predicate on the "sex" field.
- func SexNotIn(vs ...int) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldSex, vs...))
- }
- // SexGT applies the GT predicate on the "sex" field.
- func SexGT(v int) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldSex, v))
- }
- // SexGTE applies the GTE predicate on the "sex" field.
- func SexGTE(v int) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldSex, v))
- }
- // SexLT applies the LT predicate on the "sex" field.
- func SexLT(v int) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldSex, v))
- }
- // SexLTE applies the LTE predicate on the "sex" field.
- func SexLTE(v int) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldSex, v))
- }
- // StarroleEQ applies the EQ predicate on the "starrole" field.
- func StarroleEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldStarrole, v))
- }
- // StarroleNEQ applies the NEQ predicate on the "starrole" field.
- func StarroleNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldStarrole, v))
- }
- // StarroleIn applies the In predicate on the "starrole" field.
- func StarroleIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldStarrole, vs...))
- }
- // StarroleNotIn applies the NotIn predicate on the "starrole" field.
- func StarroleNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldStarrole, vs...))
- }
- // StarroleGT applies the GT predicate on the "starrole" field.
- func StarroleGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldStarrole, v))
- }
- // StarroleGTE applies the GTE predicate on the "starrole" field.
- func StarroleGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldStarrole, v))
- }
- // StarroleLT applies the LT predicate on the "starrole" field.
- func StarroleLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldStarrole, v))
- }
- // StarroleLTE applies the LTE predicate on the "starrole" field.
- func StarroleLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldStarrole, v))
- }
- // StarroleContains applies the Contains predicate on the "starrole" field.
- func StarroleContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldStarrole, v))
- }
- // StarroleHasPrefix applies the HasPrefix predicate on the "starrole" field.
- func StarroleHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldStarrole, v))
- }
- // StarroleHasSuffix applies the HasSuffix predicate on the "starrole" field.
- func StarroleHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldStarrole, v))
- }
- // StarroleEqualFold applies the EqualFold predicate on the "starrole" field.
- func StarroleEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldStarrole, v))
- }
- // StarroleContainsFold applies the ContainsFold predicate on the "starrole" field.
- func StarroleContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldStarrole, v))
- }
- // DontseeitEQ applies the EQ predicate on the "dontseeit" field.
- func DontseeitEQ(v int) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldDontseeit, v))
- }
- // DontseeitNEQ applies the NEQ predicate on the "dontseeit" field.
- func DontseeitNEQ(v int) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldDontseeit, v))
- }
- // DontseeitIn applies the In predicate on the "dontseeit" field.
- func DontseeitIn(vs ...int) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldDontseeit, vs...))
- }
- // DontseeitNotIn applies the NotIn predicate on the "dontseeit" field.
- func DontseeitNotIn(vs ...int) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldDontseeit, vs...))
- }
- // DontseeitGT applies the GT predicate on the "dontseeit" field.
- func DontseeitGT(v int) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldDontseeit, v))
- }
- // DontseeitGTE applies the GTE predicate on the "dontseeit" field.
- func DontseeitGTE(v int) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldDontseeit, v))
- }
- // DontseeitLT applies the LT predicate on the "dontseeit" field.
- func DontseeitLT(v int) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldDontseeit, v))
- }
- // DontseeitLTE applies the LTE predicate on the "dontseeit" field.
- func DontseeitLTE(v int) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldDontseeit, v))
- }
- // DontseemeEQ applies the EQ predicate on the "dontseeme" field.
- func DontseemeEQ(v int) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldDontseeme, v))
- }
- // DontseemeNEQ applies the NEQ predicate on the "dontseeme" field.
- func DontseemeNEQ(v int) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldDontseeme, v))
- }
- // DontseemeIn applies the In predicate on the "dontseeme" field.
- func DontseemeIn(vs ...int) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldDontseeme, vs...))
- }
- // DontseemeNotIn applies the NotIn predicate on the "dontseeme" field.
- func DontseemeNotIn(vs ...int) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldDontseeme, vs...))
- }
- // DontseemeGT applies the GT predicate on the "dontseeme" field.
- func DontseemeGT(v int) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldDontseeme, v))
- }
- // DontseemeGTE applies the GTE predicate on the "dontseeme" field.
- func DontseemeGTE(v int) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldDontseeme, v))
- }
- // DontseemeLT applies the LT predicate on the "dontseeme" field.
- func DontseemeLT(v int) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldDontseeme, v))
- }
- // DontseemeLTE applies the LTE predicate on the "dontseeme" field.
- func DontseemeLTE(v int) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldDontseeme, v))
- }
- // LagEQ applies the EQ predicate on the "lag" field.
- func LagEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldLag, v))
- }
- // LagNEQ applies the NEQ predicate on the "lag" field.
- func LagNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldLag, v))
- }
- // LagIn applies the In predicate on the "lag" field.
- func LagIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldLag, vs...))
- }
- // LagNotIn applies the NotIn predicate on the "lag" field.
- func LagNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldLag, vs...))
- }
- // LagGT applies the GT predicate on the "lag" field.
- func LagGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldLag, v))
- }
- // LagGTE applies the GTE predicate on the "lag" field.
- func LagGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldLag, v))
- }
- // LagLT applies the LT predicate on the "lag" field.
- func LagLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldLag, v))
- }
- // LagLTE applies the LTE predicate on the "lag" field.
- func LagLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldLag, v))
- }
- // LagContains applies the Contains predicate on the "lag" field.
- func LagContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldLag, v))
- }
- // LagHasPrefix applies the HasPrefix predicate on the "lag" field.
- func LagHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldLag, v))
- }
- // LagHasSuffix applies the HasSuffix predicate on the "lag" field.
- func LagHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldLag, v))
- }
- // LagEqualFold applies the EqualFold predicate on the "lag" field.
- func LagEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldLag, v))
- }
- // LagContainsFold applies the ContainsFold predicate on the "lag" field.
- func LagContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldLag, v))
- }
- // GidEQ applies the EQ predicate on the "gid" field.
- func GidEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldGid, v))
- }
- // GidNEQ applies the NEQ predicate on the "gid" field.
- func GidNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldGid, v))
- }
- // GidIn applies the In predicate on the "gid" field.
- func GidIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldGid, vs...))
- }
- // GidNotIn applies the NotIn predicate on the "gid" field.
- func GidNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldGid, vs...))
- }
- // GidGT applies the GT predicate on the "gid" field.
- func GidGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldGid, v))
- }
- // GidGTE applies the GTE predicate on the "gid" field.
- func GidGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldGid, v))
- }
- // GidLT applies the LT predicate on the "gid" field.
- func GidLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldGid, v))
- }
- // GidLTE applies the LTE predicate on the "gid" field.
- func GidLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldGid, v))
- }
- // GidContains applies the Contains predicate on the "gid" field.
- func GidContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldGid, v))
- }
- // GidHasPrefix applies the HasPrefix predicate on the "gid" field.
- func GidHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldGid, v))
- }
- // GidHasSuffix applies the HasSuffix predicate on the "gid" field.
- func GidHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldGid, v))
- }
- // GidEqualFold applies the EqualFold predicate on the "gid" field.
- func GidEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldGid, v))
- }
- // GidContainsFold applies the ContainsFold predicate on the "gid" field.
- func GidContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldGid, v))
- }
- // GnameEQ applies the EQ predicate on the "gname" field.
- func GnameEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldGname, v))
- }
- // GnameNEQ applies the NEQ predicate on the "gname" field.
- func GnameNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldGname, v))
- }
- // GnameIn applies the In predicate on the "gname" field.
- func GnameIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldGname, vs...))
- }
- // GnameNotIn applies the NotIn predicate on the "gname" field.
- func GnameNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldGname, vs...))
- }
- // GnameGT applies the GT predicate on the "gname" field.
- func GnameGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldGname, v))
- }
- // GnameGTE applies the GTE predicate on the "gname" field.
- func GnameGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldGname, v))
- }
- // GnameLT applies the LT predicate on the "gname" field.
- func GnameLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldGname, v))
- }
- // GnameLTE applies the LTE predicate on the "gname" field.
- func GnameLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldGname, v))
- }
- // GnameContains applies the Contains predicate on the "gname" field.
- func GnameContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldGname, v))
- }
- // GnameHasPrefix applies the HasPrefix predicate on the "gname" field.
- func GnameHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldGname, v))
- }
- // GnameHasSuffix applies the HasSuffix predicate on the "gname" field.
- func GnameHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldGname, v))
- }
- // GnameEqualFold applies the EqualFold predicate on the "gname" field.
- func GnameEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldGname, v))
- }
- // GnameContainsFold applies the ContainsFold predicate on the "gname" field.
- func GnameContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldGname, v))
- }
- // V3EQ applies the EQ predicate on the "v3" field.
- func V3EQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldV3, v))
- }
- // V3NEQ applies the NEQ predicate on the "v3" field.
- func V3NEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldV3, v))
- }
- // V3In applies the In predicate on the "v3" field.
- func V3In(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldV3, vs...))
- }
- // V3NotIn applies the NotIn predicate on the "v3" field.
- func V3NotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldV3, vs...))
- }
- // V3GT applies the GT predicate on the "v3" field.
- func V3GT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldV3, v))
- }
- // V3GTE applies the GTE predicate on the "v3" field.
- func V3GTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldV3, v))
- }
- // V3LT applies the LT predicate on the "v3" field.
- func V3LT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldV3, v))
- }
- // V3LTE applies the LTE predicate on the "v3" field.
- func V3LTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldV3, v))
- }
- // V3Contains applies the Contains predicate on the "v3" field.
- func V3Contains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldV3, v))
- }
- // V3HasPrefix applies the HasPrefix predicate on the "v3" field.
- func V3HasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldV3, v))
- }
- // V3HasSuffix applies the HasSuffix predicate on the "v3" field.
- func V3HasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldV3, v))
- }
- // V3EqualFold applies the EqualFold predicate on the "v3" field.
- func V3EqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldV3, v))
- }
- // V3ContainsFold applies the ContainsFold predicate on the "v3" field.
- func V3ContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldV3, v))
- }
- // OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
- func OrganizationIDEQ(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldOrganizationID, v))
- }
- // OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
- func OrganizationIDNEQ(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldOrganizationID, v))
- }
- // OrganizationIDIn applies the In predicate on the "organization_id" field.
- func OrganizationIDIn(vs ...uint64) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldOrganizationID, vs...))
- }
- // OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
- func OrganizationIDNotIn(vs ...uint64) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldOrganizationID, vs...))
- }
- // OrganizationIDGT applies the GT predicate on the "organization_id" field.
- func OrganizationIDGT(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldOrganizationID, v))
- }
- // OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
- func OrganizationIDGTE(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldOrganizationID, v))
- }
- // OrganizationIDLT applies the LT predicate on the "organization_id" field.
- func OrganizationIDLT(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldOrganizationID, v))
- }
- // OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
- func OrganizationIDLTE(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldOrganizationID, v))
- }
- // OrganizationIDIsNil applies the IsNil predicate on the "organization_id" field.
- func OrganizationIDIsNil() predicate.Contact {
- return predicate.Contact(sql.FieldIsNull(FieldOrganizationID))
- }
- // OrganizationIDNotNil applies the NotNil predicate on the "organization_id" field.
- func OrganizationIDNotNil() predicate.Contact {
- return predicate.Contact(sql.FieldNotNull(FieldOrganizationID))
- }
- // CtypeEQ applies the EQ predicate on the "ctype" field.
- func CtypeEQ(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCtype, v))
- }
- // CtypeNEQ applies the NEQ predicate on the "ctype" field.
- func CtypeNEQ(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldCtype, v))
- }
- // CtypeIn applies the In predicate on the "ctype" field.
- func CtypeIn(vs ...uint64) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldCtype, vs...))
- }
- // CtypeNotIn applies the NotIn predicate on the "ctype" field.
- func CtypeNotIn(vs ...uint64) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldCtype, vs...))
- }
- // CtypeGT applies the GT predicate on the "ctype" field.
- func CtypeGT(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldCtype, v))
- }
- // CtypeGTE applies the GTE predicate on the "ctype" field.
- func CtypeGTE(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldCtype, v))
- }
- // CtypeLT applies the LT predicate on the "ctype" field.
- func CtypeLT(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldCtype, v))
- }
- // CtypeLTE applies the LTE predicate on the "ctype" field.
- func CtypeLTE(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldCtype, v))
- }
- // CageEQ applies the EQ predicate on the "cage" field.
- func CageEQ(v int) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCage, v))
- }
- // CageNEQ applies the NEQ predicate on the "cage" field.
- func CageNEQ(v int) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldCage, v))
- }
- // CageIn applies the In predicate on the "cage" field.
- func CageIn(vs ...int) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldCage, vs...))
- }
- // CageNotIn applies the NotIn predicate on the "cage" field.
- func CageNotIn(vs ...int) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldCage, vs...))
- }
- // CageGT applies the GT predicate on the "cage" field.
- func CageGT(v int) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldCage, v))
- }
- // CageGTE applies the GTE predicate on the "cage" field.
- func CageGTE(v int) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldCage, v))
- }
- // CageLT applies the LT predicate on the "cage" field.
- func CageLT(v int) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldCage, v))
- }
- // CageLTE applies the LTE predicate on the "cage" field.
- func CageLTE(v int) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldCage, v))
- }
- // CnameEQ applies the EQ predicate on the "cname" field.
- func CnameEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCname, v))
- }
- // CnameNEQ applies the NEQ predicate on the "cname" field.
- func CnameNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldCname, v))
- }
- // CnameIn applies the In predicate on the "cname" field.
- func CnameIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldCname, vs...))
- }
- // CnameNotIn applies the NotIn predicate on the "cname" field.
- func CnameNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldCname, vs...))
- }
- // CnameGT applies the GT predicate on the "cname" field.
- func CnameGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldCname, v))
- }
- // CnameGTE applies the GTE predicate on the "cname" field.
- func CnameGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldCname, v))
- }
- // CnameLT applies the LT predicate on the "cname" field.
- func CnameLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldCname, v))
- }
- // CnameLTE applies the LTE predicate on the "cname" field.
- func CnameLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldCname, v))
- }
- // CnameContains applies the Contains predicate on the "cname" field.
- func CnameContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldCname, v))
- }
- // CnameHasPrefix applies the HasPrefix predicate on the "cname" field.
- func CnameHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldCname, v))
- }
- // CnameHasSuffix applies the HasSuffix predicate on the "cname" field.
- func CnameHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldCname, v))
- }
- // CnameEqualFold applies the EqualFold predicate on the "cname" field.
- func CnameEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldCname, v))
- }
- // CnameContainsFold applies the ContainsFold predicate on the "cname" field.
- func CnameContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldCname, v))
- }
- // CareaEQ applies the EQ predicate on the "carea" field.
- func CareaEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCarea, v))
- }
- // CareaNEQ applies the NEQ predicate on the "carea" field.
- func CareaNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldCarea, v))
- }
- // CareaIn applies the In predicate on the "carea" field.
- func CareaIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldCarea, vs...))
- }
- // CareaNotIn applies the NotIn predicate on the "carea" field.
- func CareaNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldCarea, vs...))
- }
- // CareaGT applies the GT predicate on the "carea" field.
- func CareaGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldCarea, v))
- }
- // CareaGTE applies the GTE predicate on the "carea" field.
- func CareaGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldCarea, v))
- }
- // CareaLT applies the LT predicate on the "carea" field.
- func CareaLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldCarea, v))
- }
- // CareaLTE applies the LTE predicate on the "carea" field.
- func CareaLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldCarea, v))
- }
- // CareaContains applies the Contains predicate on the "carea" field.
- func CareaContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldCarea, v))
- }
- // CareaHasPrefix applies the HasPrefix predicate on the "carea" field.
- func CareaHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldCarea, v))
- }
- // CareaHasSuffix applies the HasSuffix predicate on the "carea" field.
- func CareaHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldCarea, v))
- }
- // CareaEqualFold applies the EqualFold predicate on the "carea" field.
- func CareaEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldCarea, v))
- }
- // CareaContainsFold applies the ContainsFold predicate on the "carea" field.
- func CareaContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldCarea, v))
- }
- // CbirthdayEQ applies the EQ predicate on the "cbirthday" field.
- func CbirthdayEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCbirthday, v))
- }
- // CbirthdayNEQ applies the NEQ predicate on the "cbirthday" field.
- func CbirthdayNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldCbirthday, v))
- }
- // CbirthdayIn applies the In predicate on the "cbirthday" field.
- func CbirthdayIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldCbirthday, vs...))
- }
- // CbirthdayNotIn applies the NotIn predicate on the "cbirthday" field.
- func CbirthdayNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldCbirthday, vs...))
- }
- // CbirthdayGT applies the GT predicate on the "cbirthday" field.
- func CbirthdayGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldCbirthday, v))
- }
- // CbirthdayGTE applies the GTE predicate on the "cbirthday" field.
- func CbirthdayGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldCbirthday, v))
- }
- // CbirthdayLT applies the LT predicate on the "cbirthday" field.
- func CbirthdayLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldCbirthday, v))
- }
- // CbirthdayLTE applies the LTE predicate on the "cbirthday" field.
- func CbirthdayLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldCbirthday, v))
- }
- // CbirthdayContains applies the Contains predicate on the "cbirthday" field.
- func CbirthdayContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldCbirthday, v))
- }
- // CbirthdayHasPrefix applies the HasPrefix predicate on the "cbirthday" field.
- func CbirthdayHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldCbirthday, v))
- }
- // CbirthdayHasSuffix applies the HasSuffix predicate on the "cbirthday" field.
- func CbirthdayHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldCbirthday, v))
- }
- // CbirthdayEqualFold applies the EqualFold predicate on the "cbirthday" field.
- func CbirthdayEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldCbirthday, v))
- }
- // CbirthdayContainsFold applies the ContainsFold predicate on the "cbirthday" field.
- func CbirthdayContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldCbirthday, v))
- }
- // CbirthareaEQ applies the EQ predicate on the "cbirtharea" field.
- func CbirthareaEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCbirtharea, v))
- }
- // CbirthareaNEQ applies the NEQ predicate on the "cbirtharea" field.
- func CbirthareaNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldCbirtharea, v))
- }
- // CbirthareaIn applies the In predicate on the "cbirtharea" field.
- func CbirthareaIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldCbirtharea, vs...))
- }
- // CbirthareaNotIn applies the NotIn predicate on the "cbirtharea" field.
- func CbirthareaNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldCbirtharea, vs...))
- }
- // CbirthareaGT applies the GT predicate on the "cbirtharea" field.
- func CbirthareaGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldCbirtharea, v))
- }
- // CbirthareaGTE applies the GTE predicate on the "cbirtharea" field.
- func CbirthareaGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldCbirtharea, v))
- }
- // CbirthareaLT applies the LT predicate on the "cbirtharea" field.
- func CbirthareaLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldCbirtharea, v))
- }
- // CbirthareaLTE applies the LTE predicate on the "cbirtharea" field.
- func CbirthareaLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldCbirtharea, v))
- }
- // CbirthareaContains applies the Contains predicate on the "cbirtharea" field.
- func CbirthareaContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldCbirtharea, v))
- }
- // CbirthareaHasPrefix applies the HasPrefix predicate on the "cbirtharea" field.
- func CbirthareaHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldCbirtharea, v))
- }
- // CbirthareaHasSuffix applies the HasSuffix predicate on the "cbirtharea" field.
- func CbirthareaHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldCbirtharea, v))
- }
- // CbirthareaEqualFold applies the EqualFold predicate on the "cbirtharea" field.
- func CbirthareaEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldCbirtharea, v))
- }
- // CbirthareaContainsFold applies the ContainsFold predicate on the "cbirtharea" field.
- func CbirthareaContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldCbirtharea, v))
- }
- // CidcardNoEQ applies the EQ predicate on the "cidcard_no" field.
- func CidcardNoEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCidcardNo, v))
- }
- // CidcardNoNEQ applies the NEQ predicate on the "cidcard_no" field.
- func CidcardNoNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldCidcardNo, v))
- }
- // CidcardNoIn applies the In predicate on the "cidcard_no" field.
- func CidcardNoIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldCidcardNo, vs...))
- }
- // CidcardNoNotIn applies the NotIn predicate on the "cidcard_no" field.
- func CidcardNoNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldCidcardNo, vs...))
- }
- // CidcardNoGT applies the GT predicate on the "cidcard_no" field.
- func CidcardNoGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldCidcardNo, v))
- }
- // CidcardNoGTE applies the GTE predicate on the "cidcard_no" field.
- func CidcardNoGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldCidcardNo, v))
- }
- // CidcardNoLT applies the LT predicate on the "cidcard_no" field.
- func CidcardNoLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldCidcardNo, v))
- }
- // CidcardNoLTE applies the LTE predicate on the "cidcard_no" field.
- func CidcardNoLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldCidcardNo, v))
- }
- // CidcardNoContains applies the Contains predicate on the "cidcard_no" field.
- func CidcardNoContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldCidcardNo, v))
- }
- // CidcardNoHasPrefix applies the HasPrefix predicate on the "cidcard_no" field.
- func CidcardNoHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldCidcardNo, v))
- }
- // CidcardNoHasSuffix applies the HasSuffix predicate on the "cidcard_no" field.
- func CidcardNoHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldCidcardNo, v))
- }
- // CidcardNoEqualFold applies the EqualFold predicate on the "cidcard_no" field.
- func CidcardNoEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldCidcardNo, v))
- }
- // CidcardNoContainsFold applies the ContainsFold predicate on the "cidcard_no" field.
- func CidcardNoContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldCidcardNo, v))
- }
- // CtitleEQ applies the EQ predicate on the "ctitle" field.
- func CtitleEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCtitle, v))
- }
- // CtitleNEQ applies the NEQ predicate on the "ctitle" field.
- func CtitleNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldCtitle, v))
- }
- // CtitleIn applies the In predicate on the "ctitle" field.
- func CtitleIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldCtitle, vs...))
- }
- // CtitleNotIn applies the NotIn predicate on the "ctitle" field.
- func CtitleNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldCtitle, vs...))
- }
- // CtitleGT applies the GT predicate on the "ctitle" field.
- func CtitleGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldCtitle, v))
- }
- // CtitleGTE applies the GTE predicate on the "ctitle" field.
- func CtitleGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldCtitle, v))
- }
- // CtitleLT applies the LT predicate on the "ctitle" field.
- func CtitleLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldCtitle, v))
- }
- // CtitleLTE applies the LTE predicate on the "ctitle" field.
- func CtitleLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldCtitle, v))
- }
- // CtitleContains applies the Contains predicate on the "ctitle" field.
- func CtitleContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldCtitle, v))
- }
- // CtitleHasPrefix applies the HasPrefix predicate on the "ctitle" field.
- func CtitleHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldCtitle, v))
- }
- // CtitleHasSuffix applies the HasSuffix predicate on the "ctitle" field.
- func CtitleHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldCtitle, v))
- }
- // CtitleEqualFold applies the EqualFold predicate on the "ctitle" field.
- func CtitleEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldCtitle, v))
- }
- // CtitleContainsFold applies the ContainsFold predicate on the "ctitle" field.
- func CtitleContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldCtitle, v))
- }
- // CcEQ applies the EQ predicate on the "cc" field.
- func CcEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCc, v))
- }
- // CcNEQ applies the NEQ predicate on the "cc" field.
- func CcNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldCc, v))
- }
- // CcIn applies the In predicate on the "cc" field.
- func CcIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldCc, vs...))
- }
- // CcNotIn applies the NotIn predicate on the "cc" field.
- func CcNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldCc, vs...))
- }
- // CcGT applies the GT predicate on the "cc" field.
- func CcGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldCc, v))
- }
- // CcGTE applies the GTE predicate on the "cc" field.
- func CcGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldCc, v))
- }
- // CcLT applies the LT predicate on the "cc" field.
- func CcLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldCc, v))
- }
- // CcLTE applies the LTE predicate on the "cc" field.
- func CcLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldCc, v))
- }
- // CcContains applies the Contains predicate on the "cc" field.
- func CcContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldCc, v))
- }
- // CcHasPrefix applies the HasPrefix predicate on the "cc" field.
- func CcHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldCc, v))
- }
- // CcHasSuffix applies the HasSuffix predicate on the "cc" field.
- func CcHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldCc, v))
- }
- // CcEqualFold applies the EqualFold predicate on the "cc" field.
- func CcEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldCc, v))
- }
- // CcContainsFold applies the ContainsFold predicate on the "cc" field.
- func CcContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldCc, v))
- }
- // PhoneEQ applies the EQ predicate on the "phone" field.
- func PhoneEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldPhone, v))
- }
- // PhoneNEQ applies the NEQ predicate on the "phone" field.
- func PhoneNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldPhone, v))
- }
- // PhoneIn applies the In predicate on the "phone" field.
- func PhoneIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldPhone, vs...))
- }
- // PhoneNotIn applies the NotIn predicate on the "phone" field.
- func PhoneNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldPhone, vs...))
- }
- // PhoneGT applies the GT predicate on the "phone" field.
- func PhoneGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldPhone, v))
- }
- // PhoneGTE applies the GTE predicate on the "phone" field.
- func PhoneGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldPhone, v))
- }
- // PhoneLT applies the LT predicate on the "phone" field.
- func PhoneLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldPhone, v))
- }
- // PhoneLTE applies the LTE predicate on the "phone" field.
- func PhoneLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldPhone, v))
- }
- // PhoneContains applies the Contains predicate on the "phone" field.
- func PhoneContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldPhone, v))
- }
- // PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
- func PhoneHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldPhone, v))
- }
- // PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
- func PhoneHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldPhone, v))
- }
- // PhoneEqualFold applies the EqualFold predicate on the "phone" field.
- func PhoneEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldPhone, v))
- }
- // PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
- func PhoneContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldPhone, v))
- }
- // HasContactRelationships applies the HasEdge predicate on the "contact_relationships" edge.
- func HasContactRelationships() predicate.Contact {
- return predicate.Contact(func(s *sql.Selector) {
- step := sqlgraph.NewStep(
- sqlgraph.From(Table, FieldID),
- sqlgraph.Edge(sqlgraph.O2M, false, ContactRelationshipsTable, ContactRelationshipsColumn),
- )
- sqlgraph.HasNeighbors(s, step)
- })
- }
- // HasContactRelationshipsWith applies the HasEdge predicate on the "contact_relationships" edge with a given conditions (other predicates).
- func HasContactRelationshipsWith(preds ...predicate.LabelRelationship) predicate.Contact {
- return predicate.Contact(func(s *sql.Selector) {
- step := newContactRelationshipsStep()
- sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
- for _, p := range preds {
- p(s)
- }
- })
- })
- }
- // HasContactMessages applies the HasEdge predicate on the "contact_messages" edge.
- func HasContactMessages() predicate.Contact {
- return predicate.Contact(func(s *sql.Selector) {
- step := sqlgraph.NewStep(
- sqlgraph.From(Table, FieldID),
- sqlgraph.Edge(sqlgraph.O2M, false, ContactMessagesTable, ContactMessagesColumn),
- )
- sqlgraph.HasNeighbors(s, step)
- })
- }
- // HasContactMessagesWith applies the HasEdge predicate on the "contact_messages" edge with a given conditions (other predicates).
- func HasContactMessagesWith(preds ...predicate.MessageRecords) predicate.Contact {
- return predicate.Contact(func(s *sql.Selector) {
- step := newContactMessagesStep()
- sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
- for _, p := range preds {
- p(s)
- }
- })
- })
- }
- // And groups predicates with the AND operator between them.
- func And(predicates ...predicate.Contact) predicate.Contact {
- return predicate.Contact(sql.AndPredicates(predicates...))
- }
- // Or groups predicates with the OR operator between them.
- func Or(predicates ...predicate.Contact) predicate.Contact {
- return predicate.Contact(sql.OrPredicates(predicates...))
- }
- // Not applies the not operator on the given predicate.
- func Not(p predicate.Contact) predicate.Contact {
- return predicate.Contact(sql.NotPredicates(p))
- }
|