989 lines
35 KiB
Go
989 lines
35 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package paychannel
|
|
|
|
import (
|
|
"mingyang-admin-pay/rpc/ent/predicate"
|
|
"time"
|
|
|
|
"entgo.io/ent/dialect/sql"
|
|
"entgo.io/ent/dialect/sql/sqlgraph"
|
|
)
|
|
|
|
// ID filters vertices based on their ID field.
|
|
func ID(id uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDEQ applies the EQ predicate on the ID field.
|
|
func IDEQ(id uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDNEQ applies the NEQ predicate on the ID field.
|
|
func IDNEQ(id uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNEQ(FieldID, id))
|
|
}
|
|
|
|
// IDIn applies the In predicate on the ID field.
|
|
func IDIn(ids ...uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDNotIn applies the NotIn predicate on the ID field.
|
|
func IDNotIn(ids ...uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNotIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDGT applies the GT predicate on the ID field.
|
|
func IDGT(id uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGT(FieldID, id))
|
|
}
|
|
|
|
// IDGTE applies the GTE predicate on the ID field.
|
|
func IDGTE(id uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGTE(FieldID, id))
|
|
}
|
|
|
|
// IDLT applies the LT predicate on the ID field.
|
|
func IDLT(id uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLT(FieldID, id))
|
|
}
|
|
|
|
// IDLTE applies the LTE predicate on the ID field.
|
|
func IDLTE(id uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(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.PayChannel {
|
|
return predicate.PayChannel(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.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
|
|
func Status(v uint8) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
|
|
func TenantID(v uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldTenantID, v))
|
|
}
|
|
|
|
// DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
|
|
func DeletedAt(v time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldDeletedAt, v))
|
|
}
|
|
|
|
// Code applies equality check predicate on the "code" field. It's identical to CodeEQ.
|
|
func Code(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldCode, v))
|
|
}
|
|
|
|
// NameEn applies equality check predicate on the "name_en" field. It's identical to NameEnEQ.
|
|
func NameEn(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldNameEn, v))
|
|
}
|
|
|
|
// NameZh applies equality check predicate on the "name_zh" field. It's identical to NameZhEQ.
|
|
func NameZh(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldNameZh, v))
|
|
}
|
|
|
|
// FreeRate applies equality check predicate on the "free_rate" field. It's identical to FreeRateEQ.
|
|
func FreeRate(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldFreeRate, v))
|
|
}
|
|
|
|
// AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.
|
|
func AppID(v uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldAppID, v))
|
|
}
|
|
|
|
// Remake applies equality check predicate on the "remake" field. It's identical to RemakeEQ.
|
|
func Remake(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldRemake, v))
|
|
}
|
|
|
|
// Icon applies equality check predicate on the "icon" field. It's identical to IconEQ.
|
|
func Icon(v uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldIcon, v))
|
|
}
|
|
|
|
// OrderTimeOut applies equality check predicate on the "order_time_out" field. It's identical to OrderTimeOutEQ.
|
|
func OrderTimeOut(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldOrderTimeOut, v))
|
|
}
|
|
|
|
// SupportCurrency applies equality check predicate on the "support_currency" field. It's identical to SupportCurrencyEQ.
|
|
func SupportCurrency(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldSupportCurrency, v))
|
|
}
|
|
|
|
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
|
|
func CreatedAtEQ(v time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
|
|
func CreatedAtNEQ(v time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtIn applies the In predicate on the "created_at" field.
|
|
func CreatedAtIn(vs ...time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
|
|
func CreatedAtNotIn(vs ...time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNotIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtGT applies the GT predicate on the "created_at" field.
|
|
func CreatedAtGT(v time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
|
|
func CreatedAtGTE(v time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLT applies the LT predicate on the "created_at" field.
|
|
func CreatedAtLT(v time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
|
|
func CreatedAtLTE(v time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
|
|
func UpdatedAtEQ(v time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
|
|
func UpdatedAtNEQ(v time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtIn applies the In predicate on the "updated_at" field.
|
|
func UpdatedAtIn(vs ...time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldIn(FieldUpdatedAt, vs...))
|
|
}
|
|
|
|
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
|
|
func UpdatedAtNotIn(vs ...time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNotIn(FieldUpdatedAt, vs...))
|
|
}
|
|
|
|
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
|
|
func UpdatedAtGT(v time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGT(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
|
|
func UpdatedAtGTE(v time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGTE(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
|
|
func UpdatedAtLT(v time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLT(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
|
|
func UpdatedAtLTE(v time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLTE(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// StatusEQ applies the EQ predicate on the "status" field.
|
|
func StatusEQ(v uint8) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusNEQ applies the NEQ predicate on the "status" field.
|
|
func StatusNEQ(v uint8) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusIn applies the In predicate on the "status" field.
|
|
func StatusIn(vs ...uint8) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusNotIn applies the NotIn predicate on the "status" field.
|
|
func StatusNotIn(vs ...uint8) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNotIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusGT applies the GT predicate on the "status" field.
|
|
func StatusGT(v uint8) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusGTE applies the GTE predicate on the "status" field.
|
|
func StatusGTE(v uint8) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLT applies the LT predicate on the "status" field.
|
|
func StatusLT(v uint8) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLTE applies the LTE predicate on the "status" field.
|
|
func StatusLTE(v uint8) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusIsNil applies the IsNil predicate on the "status" field.
|
|
func StatusIsNil() predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldIsNull(FieldStatus))
|
|
}
|
|
|
|
// StatusNotNil applies the NotNil predicate on the "status" field.
|
|
func StatusNotNil() predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNotNull(FieldStatus))
|
|
}
|
|
|
|
// TenantIDEQ applies the EQ predicate on the "tenant_id" field.
|
|
func TenantIDEQ(v uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
|
|
func TenantIDNEQ(v uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNEQ(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDIn applies the In predicate on the "tenant_id" field.
|
|
func TenantIDIn(vs ...uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldIn(FieldTenantID, vs...))
|
|
}
|
|
|
|
// TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
|
|
func TenantIDNotIn(vs ...uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNotIn(FieldTenantID, vs...))
|
|
}
|
|
|
|
// TenantIDGT applies the GT predicate on the "tenant_id" field.
|
|
func TenantIDGT(v uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGT(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDGTE applies the GTE predicate on the "tenant_id" field.
|
|
func TenantIDGTE(v uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGTE(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDLT applies the LT predicate on the "tenant_id" field.
|
|
func TenantIDLT(v uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLT(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDLTE applies the LTE predicate on the "tenant_id" field.
|
|
func TenantIDLTE(v uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLTE(FieldTenantID, v))
|
|
}
|
|
|
|
// DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
|
|
func DeletedAtEQ(v time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
|
|
func DeletedAtNEQ(v time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNEQ(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtIn applies the In predicate on the "deleted_at" field.
|
|
func DeletedAtIn(vs ...time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldIn(FieldDeletedAt, vs...))
|
|
}
|
|
|
|
// DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
|
|
func DeletedAtNotIn(vs ...time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNotIn(FieldDeletedAt, vs...))
|
|
}
|
|
|
|
// DeletedAtGT applies the GT predicate on the "deleted_at" field.
|
|
func DeletedAtGT(v time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGT(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
|
|
func DeletedAtGTE(v time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGTE(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtLT applies the LT predicate on the "deleted_at" field.
|
|
func DeletedAtLT(v time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLT(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
|
|
func DeletedAtLTE(v time.Time) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLTE(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
|
|
func DeletedAtIsNil() predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldIsNull(FieldDeletedAt))
|
|
}
|
|
|
|
// DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
|
|
func DeletedAtNotNil() predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNotNull(FieldDeletedAt))
|
|
}
|
|
|
|
// CodeEQ applies the EQ predicate on the "code" field.
|
|
func CodeEQ(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldCode, v))
|
|
}
|
|
|
|
// CodeNEQ applies the NEQ predicate on the "code" field.
|
|
func CodeNEQ(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNEQ(FieldCode, v))
|
|
}
|
|
|
|
// CodeIn applies the In predicate on the "code" field.
|
|
func CodeIn(vs ...string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldIn(FieldCode, vs...))
|
|
}
|
|
|
|
// CodeNotIn applies the NotIn predicate on the "code" field.
|
|
func CodeNotIn(vs ...string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNotIn(FieldCode, vs...))
|
|
}
|
|
|
|
// CodeGT applies the GT predicate on the "code" field.
|
|
func CodeGT(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGT(FieldCode, v))
|
|
}
|
|
|
|
// CodeGTE applies the GTE predicate on the "code" field.
|
|
func CodeGTE(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGTE(FieldCode, v))
|
|
}
|
|
|
|
// CodeLT applies the LT predicate on the "code" field.
|
|
func CodeLT(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLT(FieldCode, v))
|
|
}
|
|
|
|
// CodeLTE applies the LTE predicate on the "code" field.
|
|
func CodeLTE(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLTE(FieldCode, v))
|
|
}
|
|
|
|
// CodeContains applies the Contains predicate on the "code" field.
|
|
func CodeContains(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldContains(FieldCode, v))
|
|
}
|
|
|
|
// CodeHasPrefix applies the HasPrefix predicate on the "code" field.
|
|
func CodeHasPrefix(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldHasPrefix(FieldCode, v))
|
|
}
|
|
|
|
// CodeHasSuffix applies the HasSuffix predicate on the "code" field.
|
|
func CodeHasSuffix(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldHasSuffix(FieldCode, v))
|
|
}
|
|
|
|
// CodeEqualFold applies the EqualFold predicate on the "code" field.
|
|
func CodeEqualFold(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEqualFold(FieldCode, v))
|
|
}
|
|
|
|
// CodeContainsFold applies the ContainsFold predicate on the "code" field.
|
|
func CodeContainsFold(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldContainsFold(FieldCode, v))
|
|
}
|
|
|
|
// NameEnEQ applies the EQ predicate on the "name_en" field.
|
|
func NameEnEQ(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldNameEn, v))
|
|
}
|
|
|
|
// NameEnNEQ applies the NEQ predicate on the "name_en" field.
|
|
func NameEnNEQ(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNEQ(FieldNameEn, v))
|
|
}
|
|
|
|
// NameEnIn applies the In predicate on the "name_en" field.
|
|
func NameEnIn(vs ...string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldIn(FieldNameEn, vs...))
|
|
}
|
|
|
|
// NameEnNotIn applies the NotIn predicate on the "name_en" field.
|
|
func NameEnNotIn(vs ...string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNotIn(FieldNameEn, vs...))
|
|
}
|
|
|
|
// NameEnGT applies the GT predicate on the "name_en" field.
|
|
func NameEnGT(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGT(FieldNameEn, v))
|
|
}
|
|
|
|
// NameEnGTE applies the GTE predicate on the "name_en" field.
|
|
func NameEnGTE(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGTE(FieldNameEn, v))
|
|
}
|
|
|
|
// NameEnLT applies the LT predicate on the "name_en" field.
|
|
func NameEnLT(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLT(FieldNameEn, v))
|
|
}
|
|
|
|
// NameEnLTE applies the LTE predicate on the "name_en" field.
|
|
func NameEnLTE(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLTE(FieldNameEn, v))
|
|
}
|
|
|
|
// NameEnContains applies the Contains predicate on the "name_en" field.
|
|
func NameEnContains(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldContains(FieldNameEn, v))
|
|
}
|
|
|
|
// NameEnHasPrefix applies the HasPrefix predicate on the "name_en" field.
|
|
func NameEnHasPrefix(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldHasPrefix(FieldNameEn, v))
|
|
}
|
|
|
|
// NameEnHasSuffix applies the HasSuffix predicate on the "name_en" field.
|
|
func NameEnHasSuffix(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldHasSuffix(FieldNameEn, v))
|
|
}
|
|
|
|
// NameEnEqualFold applies the EqualFold predicate on the "name_en" field.
|
|
func NameEnEqualFold(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEqualFold(FieldNameEn, v))
|
|
}
|
|
|
|
// NameEnContainsFold applies the ContainsFold predicate on the "name_en" field.
|
|
func NameEnContainsFold(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldContainsFold(FieldNameEn, v))
|
|
}
|
|
|
|
// NameZhEQ applies the EQ predicate on the "name_zh" field.
|
|
func NameZhEQ(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldNameZh, v))
|
|
}
|
|
|
|
// NameZhNEQ applies the NEQ predicate on the "name_zh" field.
|
|
func NameZhNEQ(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNEQ(FieldNameZh, v))
|
|
}
|
|
|
|
// NameZhIn applies the In predicate on the "name_zh" field.
|
|
func NameZhIn(vs ...string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldIn(FieldNameZh, vs...))
|
|
}
|
|
|
|
// NameZhNotIn applies the NotIn predicate on the "name_zh" field.
|
|
func NameZhNotIn(vs ...string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNotIn(FieldNameZh, vs...))
|
|
}
|
|
|
|
// NameZhGT applies the GT predicate on the "name_zh" field.
|
|
func NameZhGT(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGT(FieldNameZh, v))
|
|
}
|
|
|
|
// NameZhGTE applies the GTE predicate on the "name_zh" field.
|
|
func NameZhGTE(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGTE(FieldNameZh, v))
|
|
}
|
|
|
|
// NameZhLT applies the LT predicate on the "name_zh" field.
|
|
func NameZhLT(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLT(FieldNameZh, v))
|
|
}
|
|
|
|
// NameZhLTE applies the LTE predicate on the "name_zh" field.
|
|
func NameZhLTE(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLTE(FieldNameZh, v))
|
|
}
|
|
|
|
// NameZhContains applies the Contains predicate on the "name_zh" field.
|
|
func NameZhContains(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldContains(FieldNameZh, v))
|
|
}
|
|
|
|
// NameZhHasPrefix applies the HasPrefix predicate on the "name_zh" field.
|
|
func NameZhHasPrefix(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldHasPrefix(FieldNameZh, v))
|
|
}
|
|
|
|
// NameZhHasSuffix applies the HasSuffix predicate on the "name_zh" field.
|
|
func NameZhHasSuffix(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldHasSuffix(FieldNameZh, v))
|
|
}
|
|
|
|
// NameZhEqualFold applies the EqualFold predicate on the "name_zh" field.
|
|
func NameZhEqualFold(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEqualFold(FieldNameZh, v))
|
|
}
|
|
|
|
// NameZhContainsFold applies the ContainsFold predicate on the "name_zh" field.
|
|
func NameZhContainsFold(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldContainsFold(FieldNameZh, v))
|
|
}
|
|
|
|
// FreeRateEQ applies the EQ predicate on the "free_rate" field.
|
|
func FreeRateEQ(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldFreeRate, v))
|
|
}
|
|
|
|
// FreeRateNEQ applies the NEQ predicate on the "free_rate" field.
|
|
func FreeRateNEQ(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNEQ(FieldFreeRate, v))
|
|
}
|
|
|
|
// FreeRateIn applies the In predicate on the "free_rate" field.
|
|
func FreeRateIn(vs ...string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldIn(FieldFreeRate, vs...))
|
|
}
|
|
|
|
// FreeRateNotIn applies the NotIn predicate on the "free_rate" field.
|
|
func FreeRateNotIn(vs ...string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNotIn(FieldFreeRate, vs...))
|
|
}
|
|
|
|
// FreeRateGT applies the GT predicate on the "free_rate" field.
|
|
func FreeRateGT(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGT(FieldFreeRate, v))
|
|
}
|
|
|
|
// FreeRateGTE applies the GTE predicate on the "free_rate" field.
|
|
func FreeRateGTE(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGTE(FieldFreeRate, v))
|
|
}
|
|
|
|
// FreeRateLT applies the LT predicate on the "free_rate" field.
|
|
func FreeRateLT(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLT(FieldFreeRate, v))
|
|
}
|
|
|
|
// FreeRateLTE applies the LTE predicate on the "free_rate" field.
|
|
func FreeRateLTE(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLTE(FieldFreeRate, v))
|
|
}
|
|
|
|
// FreeRateContains applies the Contains predicate on the "free_rate" field.
|
|
func FreeRateContains(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldContains(FieldFreeRate, v))
|
|
}
|
|
|
|
// FreeRateHasPrefix applies the HasPrefix predicate on the "free_rate" field.
|
|
func FreeRateHasPrefix(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldHasPrefix(FieldFreeRate, v))
|
|
}
|
|
|
|
// FreeRateHasSuffix applies the HasSuffix predicate on the "free_rate" field.
|
|
func FreeRateHasSuffix(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldHasSuffix(FieldFreeRate, v))
|
|
}
|
|
|
|
// FreeRateEqualFold applies the EqualFold predicate on the "free_rate" field.
|
|
func FreeRateEqualFold(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEqualFold(FieldFreeRate, v))
|
|
}
|
|
|
|
// FreeRateContainsFold applies the ContainsFold predicate on the "free_rate" field.
|
|
func FreeRateContainsFold(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldContainsFold(FieldFreeRate, v))
|
|
}
|
|
|
|
// AppIDEQ applies the EQ predicate on the "app_id" field.
|
|
func AppIDEQ(v uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldAppID, v))
|
|
}
|
|
|
|
// AppIDNEQ applies the NEQ predicate on the "app_id" field.
|
|
func AppIDNEQ(v uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNEQ(FieldAppID, v))
|
|
}
|
|
|
|
// AppIDIn applies the In predicate on the "app_id" field.
|
|
func AppIDIn(vs ...uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldIn(FieldAppID, vs...))
|
|
}
|
|
|
|
// AppIDNotIn applies the NotIn predicate on the "app_id" field.
|
|
func AppIDNotIn(vs ...uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNotIn(FieldAppID, vs...))
|
|
}
|
|
|
|
// RemakeEQ applies the EQ predicate on the "remake" field.
|
|
func RemakeEQ(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldRemake, v))
|
|
}
|
|
|
|
// RemakeNEQ applies the NEQ predicate on the "remake" field.
|
|
func RemakeNEQ(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNEQ(FieldRemake, v))
|
|
}
|
|
|
|
// RemakeIn applies the In predicate on the "remake" field.
|
|
func RemakeIn(vs ...string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldIn(FieldRemake, vs...))
|
|
}
|
|
|
|
// RemakeNotIn applies the NotIn predicate on the "remake" field.
|
|
func RemakeNotIn(vs ...string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNotIn(FieldRemake, vs...))
|
|
}
|
|
|
|
// RemakeGT applies the GT predicate on the "remake" field.
|
|
func RemakeGT(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGT(FieldRemake, v))
|
|
}
|
|
|
|
// RemakeGTE applies the GTE predicate on the "remake" field.
|
|
func RemakeGTE(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGTE(FieldRemake, v))
|
|
}
|
|
|
|
// RemakeLT applies the LT predicate on the "remake" field.
|
|
func RemakeLT(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLT(FieldRemake, v))
|
|
}
|
|
|
|
// RemakeLTE applies the LTE predicate on the "remake" field.
|
|
func RemakeLTE(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLTE(FieldRemake, v))
|
|
}
|
|
|
|
// RemakeContains applies the Contains predicate on the "remake" field.
|
|
func RemakeContains(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldContains(FieldRemake, v))
|
|
}
|
|
|
|
// RemakeHasPrefix applies the HasPrefix predicate on the "remake" field.
|
|
func RemakeHasPrefix(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldHasPrefix(FieldRemake, v))
|
|
}
|
|
|
|
// RemakeHasSuffix applies the HasSuffix predicate on the "remake" field.
|
|
func RemakeHasSuffix(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldHasSuffix(FieldRemake, v))
|
|
}
|
|
|
|
// RemakeIsNil applies the IsNil predicate on the "remake" field.
|
|
func RemakeIsNil() predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldIsNull(FieldRemake))
|
|
}
|
|
|
|
// RemakeNotNil applies the NotNil predicate on the "remake" field.
|
|
func RemakeNotNil() predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNotNull(FieldRemake))
|
|
}
|
|
|
|
// RemakeEqualFold applies the EqualFold predicate on the "remake" field.
|
|
func RemakeEqualFold(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEqualFold(FieldRemake, v))
|
|
}
|
|
|
|
// RemakeContainsFold applies the ContainsFold predicate on the "remake" field.
|
|
func RemakeContainsFold(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldContainsFold(FieldRemake, v))
|
|
}
|
|
|
|
// IconEQ applies the EQ predicate on the "icon" field.
|
|
func IconEQ(v uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldIcon, v))
|
|
}
|
|
|
|
// IconNEQ applies the NEQ predicate on the "icon" field.
|
|
func IconNEQ(v uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNEQ(FieldIcon, v))
|
|
}
|
|
|
|
// IconIn applies the In predicate on the "icon" field.
|
|
func IconIn(vs ...uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldIn(FieldIcon, vs...))
|
|
}
|
|
|
|
// IconNotIn applies the NotIn predicate on the "icon" field.
|
|
func IconNotIn(vs ...uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNotIn(FieldIcon, vs...))
|
|
}
|
|
|
|
// IconGT applies the GT predicate on the "icon" field.
|
|
func IconGT(v uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGT(FieldIcon, v))
|
|
}
|
|
|
|
// IconGTE applies the GTE predicate on the "icon" field.
|
|
func IconGTE(v uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGTE(FieldIcon, v))
|
|
}
|
|
|
|
// IconLT applies the LT predicate on the "icon" field.
|
|
func IconLT(v uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLT(FieldIcon, v))
|
|
}
|
|
|
|
// IconLTE applies the LTE predicate on the "icon" field.
|
|
func IconLTE(v uint64) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLTE(FieldIcon, v))
|
|
}
|
|
|
|
// IconIsNil applies the IsNil predicate on the "icon" field.
|
|
func IconIsNil() predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldIsNull(FieldIcon))
|
|
}
|
|
|
|
// IconNotNil applies the NotNil predicate on the "icon" field.
|
|
func IconNotNil() predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNotNull(FieldIcon))
|
|
}
|
|
|
|
// OrderTimeOutEQ applies the EQ predicate on the "order_time_out" field.
|
|
func OrderTimeOutEQ(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldOrderTimeOut, v))
|
|
}
|
|
|
|
// OrderTimeOutNEQ applies the NEQ predicate on the "order_time_out" field.
|
|
func OrderTimeOutNEQ(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNEQ(FieldOrderTimeOut, v))
|
|
}
|
|
|
|
// OrderTimeOutIn applies the In predicate on the "order_time_out" field.
|
|
func OrderTimeOutIn(vs ...string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldIn(FieldOrderTimeOut, vs...))
|
|
}
|
|
|
|
// OrderTimeOutNotIn applies the NotIn predicate on the "order_time_out" field.
|
|
func OrderTimeOutNotIn(vs ...string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNotIn(FieldOrderTimeOut, vs...))
|
|
}
|
|
|
|
// OrderTimeOutGT applies the GT predicate on the "order_time_out" field.
|
|
func OrderTimeOutGT(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGT(FieldOrderTimeOut, v))
|
|
}
|
|
|
|
// OrderTimeOutGTE applies the GTE predicate on the "order_time_out" field.
|
|
func OrderTimeOutGTE(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGTE(FieldOrderTimeOut, v))
|
|
}
|
|
|
|
// OrderTimeOutLT applies the LT predicate on the "order_time_out" field.
|
|
func OrderTimeOutLT(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLT(FieldOrderTimeOut, v))
|
|
}
|
|
|
|
// OrderTimeOutLTE applies the LTE predicate on the "order_time_out" field.
|
|
func OrderTimeOutLTE(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLTE(FieldOrderTimeOut, v))
|
|
}
|
|
|
|
// OrderTimeOutContains applies the Contains predicate on the "order_time_out" field.
|
|
func OrderTimeOutContains(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldContains(FieldOrderTimeOut, v))
|
|
}
|
|
|
|
// OrderTimeOutHasPrefix applies the HasPrefix predicate on the "order_time_out" field.
|
|
func OrderTimeOutHasPrefix(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldHasPrefix(FieldOrderTimeOut, v))
|
|
}
|
|
|
|
// OrderTimeOutHasSuffix applies the HasSuffix predicate on the "order_time_out" field.
|
|
func OrderTimeOutHasSuffix(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldHasSuffix(FieldOrderTimeOut, v))
|
|
}
|
|
|
|
// OrderTimeOutEqualFold applies the EqualFold predicate on the "order_time_out" field.
|
|
func OrderTimeOutEqualFold(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEqualFold(FieldOrderTimeOut, v))
|
|
}
|
|
|
|
// OrderTimeOutContainsFold applies the ContainsFold predicate on the "order_time_out" field.
|
|
func OrderTimeOutContainsFold(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldContainsFold(FieldOrderTimeOut, v))
|
|
}
|
|
|
|
// SupportCurrencyEQ applies the EQ predicate on the "support_currency" field.
|
|
func SupportCurrencyEQ(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEQ(FieldSupportCurrency, v))
|
|
}
|
|
|
|
// SupportCurrencyNEQ applies the NEQ predicate on the "support_currency" field.
|
|
func SupportCurrencyNEQ(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNEQ(FieldSupportCurrency, v))
|
|
}
|
|
|
|
// SupportCurrencyIn applies the In predicate on the "support_currency" field.
|
|
func SupportCurrencyIn(vs ...string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldIn(FieldSupportCurrency, vs...))
|
|
}
|
|
|
|
// SupportCurrencyNotIn applies the NotIn predicate on the "support_currency" field.
|
|
func SupportCurrencyNotIn(vs ...string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldNotIn(FieldSupportCurrency, vs...))
|
|
}
|
|
|
|
// SupportCurrencyGT applies the GT predicate on the "support_currency" field.
|
|
func SupportCurrencyGT(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGT(FieldSupportCurrency, v))
|
|
}
|
|
|
|
// SupportCurrencyGTE applies the GTE predicate on the "support_currency" field.
|
|
func SupportCurrencyGTE(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldGTE(FieldSupportCurrency, v))
|
|
}
|
|
|
|
// SupportCurrencyLT applies the LT predicate on the "support_currency" field.
|
|
func SupportCurrencyLT(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLT(FieldSupportCurrency, v))
|
|
}
|
|
|
|
// SupportCurrencyLTE applies the LTE predicate on the "support_currency" field.
|
|
func SupportCurrencyLTE(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldLTE(FieldSupportCurrency, v))
|
|
}
|
|
|
|
// SupportCurrencyContains applies the Contains predicate on the "support_currency" field.
|
|
func SupportCurrencyContains(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldContains(FieldSupportCurrency, v))
|
|
}
|
|
|
|
// SupportCurrencyHasPrefix applies the HasPrefix predicate on the "support_currency" field.
|
|
func SupportCurrencyHasPrefix(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldHasPrefix(FieldSupportCurrency, v))
|
|
}
|
|
|
|
// SupportCurrencyHasSuffix applies the HasSuffix predicate on the "support_currency" field.
|
|
func SupportCurrencyHasSuffix(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldHasSuffix(FieldSupportCurrency, v))
|
|
}
|
|
|
|
// SupportCurrencyEqualFold applies the EqualFold predicate on the "support_currency" field.
|
|
func SupportCurrencyEqualFold(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldEqualFold(FieldSupportCurrency, v))
|
|
}
|
|
|
|
// SupportCurrencyContainsFold applies the ContainsFold predicate on the "support_currency" field.
|
|
func SupportCurrencyContainsFold(v string) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.FieldContainsFold(FieldSupportCurrency, v))
|
|
}
|
|
|
|
// HasOrders applies the HasEdge predicate on the "orders" edge.
|
|
func HasOrders() predicate.PayChannel {
|
|
return predicate.PayChannel(func(s *sql.Selector) {
|
|
step := sqlgraph.NewStep(
|
|
sqlgraph.From(Table, FieldID),
|
|
sqlgraph.Edge(sqlgraph.O2M, true, OrdersTable, OrdersColumn),
|
|
)
|
|
sqlgraph.HasNeighbors(s, step)
|
|
})
|
|
}
|
|
|
|
// HasOrdersWith applies the HasEdge predicate on the "orders" edge with a given conditions (other predicates).
|
|
func HasOrdersWith(preds ...predicate.PayOrder) predicate.PayChannel {
|
|
return predicate.PayChannel(func(s *sql.Selector) {
|
|
step := newOrdersStep()
|
|
sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
|
|
for _, p := range preds {
|
|
p(s)
|
|
}
|
|
})
|
|
})
|
|
}
|
|
|
|
// HasOrdersExtension applies the HasEdge predicate on the "orders_extension" edge.
|
|
func HasOrdersExtension() predicate.PayChannel {
|
|
return predicate.PayChannel(func(s *sql.Selector) {
|
|
step := sqlgraph.NewStep(
|
|
sqlgraph.From(Table, FieldID),
|
|
sqlgraph.Edge(sqlgraph.O2M, true, OrdersExtensionTable, OrdersExtensionColumn),
|
|
)
|
|
sqlgraph.HasNeighbors(s, step)
|
|
})
|
|
}
|
|
|
|
// HasOrdersExtensionWith applies the HasEdge predicate on the "orders_extension" edge with a given conditions (other predicates).
|
|
func HasOrdersExtensionWith(preds ...predicate.PayOrderExtension) predicate.PayChannel {
|
|
return predicate.PayChannel(func(s *sql.Selector) {
|
|
step := newOrdersExtensionStep()
|
|
sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
|
|
for _, p := range preds {
|
|
p(s)
|
|
}
|
|
})
|
|
})
|
|
}
|
|
|
|
// HasRefund applies the HasEdge predicate on the "refund" edge.
|
|
func HasRefund() predicate.PayChannel {
|
|
return predicate.PayChannel(func(s *sql.Selector) {
|
|
step := sqlgraph.NewStep(
|
|
sqlgraph.From(Table, FieldID),
|
|
sqlgraph.Edge(sqlgraph.O2M, true, RefundTable, RefundColumn),
|
|
)
|
|
sqlgraph.HasNeighbors(s, step)
|
|
})
|
|
}
|
|
|
|
// HasRefundWith applies the HasEdge predicate on the "refund" edge with a given conditions (other predicates).
|
|
func HasRefundWith(preds ...predicate.PayRefund) predicate.PayChannel {
|
|
return predicate.PayChannel(func(s *sql.Selector) {
|
|
step := newRefundStep()
|
|
sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
|
|
for _, p := range preds {
|
|
p(s)
|
|
}
|
|
})
|
|
})
|
|
}
|
|
|
|
// HasApp applies the HasEdge predicate on the "app" edge.
|
|
func HasApp() predicate.PayChannel {
|
|
return predicate.PayChannel(func(s *sql.Selector) {
|
|
step := sqlgraph.NewStep(
|
|
sqlgraph.From(Table, FieldID),
|
|
sqlgraph.Edge(sqlgraph.M2O, false, AppTable, AppColumn),
|
|
)
|
|
sqlgraph.HasNeighbors(s, step)
|
|
})
|
|
}
|
|
|
|
// HasAppWith applies the HasEdge predicate on the "app" edge with a given conditions (other predicates).
|
|
func HasAppWith(preds ...predicate.App) predicate.PayChannel {
|
|
return predicate.PayChannel(func(s *sql.Selector) {
|
|
step := newAppStep()
|
|
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.PayChannel) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.AndPredicates(predicates...))
|
|
}
|
|
|
|
// Or groups predicates with the OR operator between them.
|
|
func Or(predicates ...predicate.PayChannel) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.OrPredicates(predicates...))
|
|
}
|
|
|
|
// Not applies the not operator on the given predicate.
|
|
func Not(p predicate.PayChannel) predicate.PayChannel {
|
|
return predicate.PayChannel(sql.NotPredicates(p))
|
|
}
|