|
@@ -155,6 +155,66 @@ 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))
|
|
|
+}
|
|
|
+
|
|
|
+// Csex applies equality check predicate on the "csex" field. It's identical to CsexEQ.
|
|
|
+func Csex(v int) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldEQ(FieldCsex, 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))
|
|
|
+}
|
|
|
+
|
|
|
+// Cmobile applies equality check predicate on the "cmobile" field. It's identical to CmobileEQ.
|
|
|
+func Cmobile(v string) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldEQ(FieldCmobile, 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))
|
|
@@ -1270,6 +1330,711 @@ 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))
|
|
|
+}
|
|
|
+
|
|
|
+// CsexEQ applies the EQ predicate on the "csex" field.
|
|
|
+func CsexEQ(v int) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldEQ(FieldCsex, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CsexNEQ applies the NEQ predicate on the "csex" field.
|
|
|
+func CsexNEQ(v int) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldNEQ(FieldCsex, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CsexIn applies the In predicate on the "csex" field.
|
|
|
+func CsexIn(vs ...int) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldIn(FieldCsex, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// CsexNotIn applies the NotIn predicate on the "csex" field.
|
|
|
+func CsexNotIn(vs ...int) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldNotIn(FieldCsex, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// CsexGT applies the GT predicate on the "csex" field.
|
|
|
+func CsexGT(v int) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldGT(FieldCsex, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CsexGTE applies the GTE predicate on the "csex" field.
|
|
|
+func CsexGTE(v int) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldGTE(FieldCsex, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CsexLT applies the LT predicate on the "csex" field.
|
|
|
+func CsexLT(v int) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldLT(FieldCsex, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CsexLTE applies the LTE predicate on the "csex" field.
|
|
|
+func CsexLTE(v int) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldLTE(FieldCsex, 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))
|
|
|
+}
|
|
|
+
|
|
|
+// CmobileEQ applies the EQ predicate on the "cmobile" field.
|
|
|
+func CmobileEQ(v string) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldEQ(FieldCmobile, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CmobileNEQ applies the NEQ predicate on the "cmobile" field.
|
|
|
+func CmobileNEQ(v string) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldNEQ(FieldCmobile, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CmobileIn applies the In predicate on the "cmobile" field.
|
|
|
+func CmobileIn(vs ...string) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldIn(FieldCmobile, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// CmobileNotIn applies the NotIn predicate on the "cmobile" field.
|
|
|
+func CmobileNotIn(vs ...string) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldNotIn(FieldCmobile, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// CmobileGT applies the GT predicate on the "cmobile" field.
|
|
|
+func CmobileGT(v string) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldGT(FieldCmobile, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CmobileGTE applies the GTE predicate on the "cmobile" field.
|
|
|
+func CmobileGTE(v string) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldGTE(FieldCmobile, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CmobileLT applies the LT predicate on the "cmobile" field.
|
|
|
+func CmobileLT(v string) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldLT(FieldCmobile, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CmobileLTE applies the LTE predicate on the "cmobile" field.
|
|
|
+func CmobileLTE(v string) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldLTE(FieldCmobile, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CmobileContains applies the Contains predicate on the "cmobile" field.
|
|
|
+func CmobileContains(v string) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldContains(FieldCmobile, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CmobileHasPrefix applies the HasPrefix predicate on the "cmobile" field.
|
|
|
+func CmobileHasPrefix(v string) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldHasPrefix(FieldCmobile, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CmobileHasSuffix applies the HasSuffix predicate on the "cmobile" field.
|
|
|
+func CmobileHasSuffix(v string) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldHasSuffix(FieldCmobile, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CmobileEqualFold applies the EqualFold predicate on the "cmobile" field.
|
|
|
+func CmobileEqualFold(v string) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldEqualFold(FieldCmobile, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CmobileContainsFold applies the ContainsFold predicate on the "cmobile" field.
|
|
|
+func CmobileContainsFold(v string) predicate.Contact {
|
|
|
+ return predicate.Contact(sql.FieldContainsFold(FieldCmobile, 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) {
|