663 lines
23 KiB
Go
663 lines
23 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package app
|
|
|
|
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.App {
|
|
return predicate.App(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDEQ applies the EQ predicate on the ID field.
|
|
func IDEQ(id uint64) predicate.App {
|
|
return predicate.App(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDNEQ applies the NEQ predicate on the ID field.
|
|
func IDNEQ(id uint64) predicate.App {
|
|
return predicate.App(sql.FieldNEQ(FieldID, id))
|
|
}
|
|
|
|
// IDIn applies the In predicate on the ID field.
|
|
func IDIn(ids ...uint64) predicate.App {
|
|
return predicate.App(sql.FieldIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDNotIn applies the NotIn predicate on the ID field.
|
|
func IDNotIn(ids ...uint64) predicate.App {
|
|
return predicate.App(sql.FieldNotIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDGT applies the GT predicate on the ID field.
|
|
func IDGT(id uint64) predicate.App {
|
|
return predicate.App(sql.FieldGT(FieldID, id))
|
|
}
|
|
|
|
// IDGTE applies the GTE predicate on the ID field.
|
|
func IDGTE(id uint64) predicate.App {
|
|
return predicate.App(sql.FieldGTE(FieldID, id))
|
|
}
|
|
|
|
// IDLT applies the LT predicate on the ID field.
|
|
func IDLT(id uint64) predicate.App {
|
|
return predicate.App(sql.FieldLT(FieldID, id))
|
|
}
|
|
|
|
// IDLTE applies the LTE predicate on the ID field.
|
|
func IDLTE(id uint64) predicate.App {
|
|
return predicate.App(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.App {
|
|
return predicate.App(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.App {
|
|
return predicate.App(sql.FieldEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
|
|
func Status(v uint8) predicate.App {
|
|
return predicate.App(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
|
|
func TenantID(v uint64) predicate.App {
|
|
return predicate.App(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.App {
|
|
return predicate.App(sql.FieldEQ(FieldDeletedAt, v))
|
|
}
|
|
|
|
// AppKey applies equality check predicate on the "app_key" field. It's identical to AppKeyEQ.
|
|
func AppKey(v string) predicate.App {
|
|
return predicate.App(sql.FieldEQ(FieldAppKey, v))
|
|
}
|
|
|
|
// AppName applies equality check predicate on the "app_name" field. It's identical to AppNameEQ.
|
|
func AppName(v string) predicate.App {
|
|
return predicate.App(sql.FieldEQ(FieldAppName, v))
|
|
}
|
|
|
|
// OrderNotifyURL applies equality check predicate on the "order_notify_url" field. It's identical to OrderNotifyURLEQ.
|
|
func OrderNotifyURL(v string) predicate.App {
|
|
return predicate.App(sql.FieldEQ(FieldOrderNotifyURL, v))
|
|
}
|
|
|
|
// RefundNotifyURL applies equality check predicate on the "refund_notify_url" field. It's identical to RefundNotifyURLEQ.
|
|
func RefundNotifyURL(v string) predicate.App {
|
|
return predicate.App(sql.FieldEQ(FieldRefundNotifyURL, v))
|
|
}
|
|
|
|
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
|
|
func CreatedAtEQ(v time.Time) predicate.App {
|
|
return predicate.App(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
|
|
func CreatedAtNEQ(v time.Time) predicate.App {
|
|
return predicate.App(sql.FieldNEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtIn applies the In predicate on the "created_at" field.
|
|
func CreatedAtIn(vs ...time.Time) predicate.App {
|
|
return predicate.App(sql.FieldIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
|
|
func CreatedAtNotIn(vs ...time.Time) predicate.App {
|
|
return predicate.App(sql.FieldNotIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtGT applies the GT predicate on the "created_at" field.
|
|
func CreatedAtGT(v time.Time) predicate.App {
|
|
return predicate.App(sql.FieldGT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
|
|
func CreatedAtGTE(v time.Time) predicate.App {
|
|
return predicate.App(sql.FieldGTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLT applies the LT predicate on the "created_at" field.
|
|
func CreatedAtLT(v time.Time) predicate.App {
|
|
return predicate.App(sql.FieldLT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
|
|
func CreatedAtLTE(v time.Time) predicate.App {
|
|
return predicate.App(sql.FieldLTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
|
|
func UpdatedAtEQ(v time.Time) predicate.App {
|
|
return predicate.App(sql.FieldEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
|
|
func UpdatedAtNEQ(v time.Time) predicate.App {
|
|
return predicate.App(sql.FieldNEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtIn applies the In predicate on the "updated_at" field.
|
|
func UpdatedAtIn(vs ...time.Time) predicate.App {
|
|
return predicate.App(sql.FieldIn(FieldUpdatedAt, vs...))
|
|
}
|
|
|
|
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
|
|
func UpdatedAtNotIn(vs ...time.Time) predicate.App {
|
|
return predicate.App(sql.FieldNotIn(FieldUpdatedAt, vs...))
|
|
}
|
|
|
|
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
|
|
func UpdatedAtGT(v time.Time) predicate.App {
|
|
return predicate.App(sql.FieldGT(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
|
|
func UpdatedAtGTE(v time.Time) predicate.App {
|
|
return predicate.App(sql.FieldGTE(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
|
|
func UpdatedAtLT(v time.Time) predicate.App {
|
|
return predicate.App(sql.FieldLT(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
|
|
func UpdatedAtLTE(v time.Time) predicate.App {
|
|
return predicate.App(sql.FieldLTE(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// StatusEQ applies the EQ predicate on the "status" field.
|
|
func StatusEQ(v uint8) predicate.App {
|
|
return predicate.App(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusNEQ applies the NEQ predicate on the "status" field.
|
|
func StatusNEQ(v uint8) predicate.App {
|
|
return predicate.App(sql.FieldNEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusIn applies the In predicate on the "status" field.
|
|
func StatusIn(vs ...uint8) predicate.App {
|
|
return predicate.App(sql.FieldIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusNotIn applies the NotIn predicate on the "status" field.
|
|
func StatusNotIn(vs ...uint8) predicate.App {
|
|
return predicate.App(sql.FieldNotIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusGT applies the GT predicate on the "status" field.
|
|
func StatusGT(v uint8) predicate.App {
|
|
return predicate.App(sql.FieldGT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusGTE applies the GTE predicate on the "status" field.
|
|
func StatusGTE(v uint8) predicate.App {
|
|
return predicate.App(sql.FieldGTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLT applies the LT predicate on the "status" field.
|
|
func StatusLT(v uint8) predicate.App {
|
|
return predicate.App(sql.FieldLT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLTE applies the LTE predicate on the "status" field.
|
|
func StatusLTE(v uint8) predicate.App {
|
|
return predicate.App(sql.FieldLTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusIsNil applies the IsNil predicate on the "status" field.
|
|
func StatusIsNil() predicate.App {
|
|
return predicate.App(sql.FieldIsNull(FieldStatus))
|
|
}
|
|
|
|
// StatusNotNil applies the NotNil predicate on the "status" field.
|
|
func StatusNotNil() predicate.App {
|
|
return predicate.App(sql.FieldNotNull(FieldStatus))
|
|
}
|
|
|
|
// TenantIDEQ applies the EQ predicate on the "tenant_id" field.
|
|
func TenantIDEQ(v uint64) predicate.App {
|
|
return predicate.App(sql.FieldEQ(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
|
|
func TenantIDNEQ(v uint64) predicate.App {
|
|
return predicate.App(sql.FieldNEQ(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDIn applies the In predicate on the "tenant_id" field.
|
|
func TenantIDIn(vs ...uint64) predicate.App {
|
|
return predicate.App(sql.FieldIn(FieldTenantID, vs...))
|
|
}
|
|
|
|
// TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
|
|
func TenantIDNotIn(vs ...uint64) predicate.App {
|
|
return predicate.App(sql.FieldNotIn(FieldTenantID, vs...))
|
|
}
|
|
|
|
// TenantIDGT applies the GT predicate on the "tenant_id" field.
|
|
func TenantIDGT(v uint64) predicate.App {
|
|
return predicate.App(sql.FieldGT(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDGTE applies the GTE predicate on the "tenant_id" field.
|
|
func TenantIDGTE(v uint64) predicate.App {
|
|
return predicate.App(sql.FieldGTE(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDLT applies the LT predicate on the "tenant_id" field.
|
|
func TenantIDLT(v uint64) predicate.App {
|
|
return predicate.App(sql.FieldLT(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDLTE applies the LTE predicate on the "tenant_id" field.
|
|
func TenantIDLTE(v uint64) predicate.App {
|
|
return predicate.App(sql.FieldLTE(FieldTenantID, v))
|
|
}
|
|
|
|
// DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
|
|
func DeletedAtEQ(v time.Time) predicate.App {
|
|
return predicate.App(sql.FieldEQ(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
|
|
func DeletedAtNEQ(v time.Time) predicate.App {
|
|
return predicate.App(sql.FieldNEQ(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtIn applies the In predicate on the "deleted_at" field.
|
|
func DeletedAtIn(vs ...time.Time) predicate.App {
|
|
return predicate.App(sql.FieldIn(FieldDeletedAt, vs...))
|
|
}
|
|
|
|
// DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
|
|
func DeletedAtNotIn(vs ...time.Time) predicate.App {
|
|
return predicate.App(sql.FieldNotIn(FieldDeletedAt, vs...))
|
|
}
|
|
|
|
// DeletedAtGT applies the GT predicate on the "deleted_at" field.
|
|
func DeletedAtGT(v time.Time) predicate.App {
|
|
return predicate.App(sql.FieldGT(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
|
|
func DeletedAtGTE(v time.Time) predicate.App {
|
|
return predicate.App(sql.FieldGTE(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtLT applies the LT predicate on the "deleted_at" field.
|
|
func DeletedAtLT(v time.Time) predicate.App {
|
|
return predicate.App(sql.FieldLT(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
|
|
func DeletedAtLTE(v time.Time) predicate.App {
|
|
return predicate.App(sql.FieldLTE(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
|
|
func DeletedAtIsNil() predicate.App {
|
|
return predicate.App(sql.FieldIsNull(FieldDeletedAt))
|
|
}
|
|
|
|
// DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
|
|
func DeletedAtNotNil() predicate.App {
|
|
return predicate.App(sql.FieldNotNull(FieldDeletedAt))
|
|
}
|
|
|
|
// AppKeyEQ applies the EQ predicate on the "app_key" field.
|
|
func AppKeyEQ(v string) predicate.App {
|
|
return predicate.App(sql.FieldEQ(FieldAppKey, v))
|
|
}
|
|
|
|
// AppKeyNEQ applies the NEQ predicate on the "app_key" field.
|
|
func AppKeyNEQ(v string) predicate.App {
|
|
return predicate.App(sql.FieldNEQ(FieldAppKey, v))
|
|
}
|
|
|
|
// AppKeyIn applies the In predicate on the "app_key" field.
|
|
func AppKeyIn(vs ...string) predicate.App {
|
|
return predicate.App(sql.FieldIn(FieldAppKey, vs...))
|
|
}
|
|
|
|
// AppKeyNotIn applies the NotIn predicate on the "app_key" field.
|
|
func AppKeyNotIn(vs ...string) predicate.App {
|
|
return predicate.App(sql.FieldNotIn(FieldAppKey, vs...))
|
|
}
|
|
|
|
// AppKeyGT applies the GT predicate on the "app_key" field.
|
|
func AppKeyGT(v string) predicate.App {
|
|
return predicate.App(sql.FieldGT(FieldAppKey, v))
|
|
}
|
|
|
|
// AppKeyGTE applies the GTE predicate on the "app_key" field.
|
|
func AppKeyGTE(v string) predicate.App {
|
|
return predicate.App(sql.FieldGTE(FieldAppKey, v))
|
|
}
|
|
|
|
// AppKeyLT applies the LT predicate on the "app_key" field.
|
|
func AppKeyLT(v string) predicate.App {
|
|
return predicate.App(sql.FieldLT(FieldAppKey, v))
|
|
}
|
|
|
|
// AppKeyLTE applies the LTE predicate on the "app_key" field.
|
|
func AppKeyLTE(v string) predicate.App {
|
|
return predicate.App(sql.FieldLTE(FieldAppKey, v))
|
|
}
|
|
|
|
// AppKeyContains applies the Contains predicate on the "app_key" field.
|
|
func AppKeyContains(v string) predicate.App {
|
|
return predicate.App(sql.FieldContains(FieldAppKey, v))
|
|
}
|
|
|
|
// AppKeyHasPrefix applies the HasPrefix predicate on the "app_key" field.
|
|
func AppKeyHasPrefix(v string) predicate.App {
|
|
return predicate.App(sql.FieldHasPrefix(FieldAppKey, v))
|
|
}
|
|
|
|
// AppKeyHasSuffix applies the HasSuffix predicate on the "app_key" field.
|
|
func AppKeyHasSuffix(v string) predicate.App {
|
|
return predicate.App(sql.FieldHasSuffix(FieldAppKey, v))
|
|
}
|
|
|
|
// AppKeyEqualFold applies the EqualFold predicate on the "app_key" field.
|
|
func AppKeyEqualFold(v string) predicate.App {
|
|
return predicate.App(sql.FieldEqualFold(FieldAppKey, v))
|
|
}
|
|
|
|
// AppKeyContainsFold applies the ContainsFold predicate on the "app_key" field.
|
|
func AppKeyContainsFold(v string) predicate.App {
|
|
return predicate.App(sql.FieldContainsFold(FieldAppKey, v))
|
|
}
|
|
|
|
// AppNameEQ applies the EQ predicate on the "app_name" field.
|
|
func AppNameEQ(v string) predicate.App {
|
|
return predicate.App(sql.FieldEQ(FieldAppName, v))
|
|
}
|
|
|
|
// AppNameNEQ applies the NEQ predicate on the "app_name" field.
|
|
func AppNameNEQ(v string) predicate.App {
|
|
return predicate.App(sql.FieldNEQ(FieldAppName, v))
|
|
}
|
|
|
|
// AppNameIn applies the In predicate on the "app_name" field.
|
|
func AppNameIn(vs ...string) predicate.App {
|
|
return predicate.App(sql.FieldIn(FieldAppName, vs...))
|
|
}
|
|
|
|
// AppNameNotIn applies the NotIn predicate on the "app_name" field.
|
|
func AppNameNotIn(vs ...string) predicate.App {
|
|
return predicate.App(sql.FieldNotIn(FieldAppName, vs...))
|
|
}
|
|
|
|
// AppNameGT applies the GT predicate on the "app_name" field.
|
|
func AppNameGT(v string) predicate.App {
|
|
return predicate.App(sql.FieldGT(FieldAppName, v))
|
|
}
|
|
|
|
// AppNameGTE applies the GTE predicate on the "app_name" field.
|
|
func AppNameGTE(v string) predicate.App {
|
|
return predicate.App(sql.FieldGTE(FieldAppName, v))
|
|
}
|
|
|
|
// AppNameLT applies the LT predicate on the "app_name" field.
|
|
func AppNameLT(v string) predicate.App {
|
|
return predicate.App(sql.FieldLT(FieldAppName, v))
|
|
}
|
|
|
|
// AppNameLTE applies the LTE predicate on the "app_name" field.
|
|
func AppNameLTE(v string) predicate.App {
|
|
return predicate.App(sql.FieldLTE(FieldAppName, v))
|
|
}
|
|
|
|
// AppNameContains applies the Contains predicate on the "app_name" field.
|
|
func AppNameContains(v string) predicate.App {
|
|
return predicate.App(sql.FieldContains(FieldAppName, v))
|
|
}
|
|
|
|
// AppNameHasPrefix applies the HasPrefix predicate on the "app_name" field.
|
|
func AppNameHasPrefix(v string) predicate.App {
|
|
return predicate.App(sql.FieldHasPrefix(FieldAppName, v))
|
|
}
|
|
|
|
// AppNameHasSuffix applies the HasSuffix predicate on the "app_name" field.
|
|
func AppNameHasSuffix(v string) predicate.App {
|
|
return predicate.App(sql.FieldHasSuffix(FieldAppName, v))
|
|
}
|
|
|
|
// AppNameEqualFold applies the EqualFold predicate on the "app_name" field.
|
|
func AppNameEqualFold(v string) predicate.App {
|
|
return predicate.App(sql.FieldEqualFold(FieldAppName, v))
|
|
}
|
|
|
|
// AppNameContainsFold applies the ContainsFold predicate on the "app_name" field.
|
|
func AppNameContainsFold(v string) predicate.App {
|
|
return predicate.App(sql.FieldContainsFold(FieldAppName, v))
|
|
}
|
|
|
|
// OrderNotifyURLEQ applies the EQ predicate on the "order_notify_url" field.
|
|
func OrderNotifyURLEQ(v string) predicate.App {
|
|
return predicate.App(sql.FieldEQ(FieldOrderNotifyURL, v))
|
|
}
|
|
|
|
// OrderNotifyURLNEQ applies the NEQ predicate on the "order_notify_url" field.
|
|
func OrderNotifyURLNEQ(v string) predicate.App {
|
|
return predicate.App(sql.FieldNEQ(FieldOrderNotifyURL, v))
|
|
}
|
|
|
|
// OrderNotifyURLIn applies the In predicate on the "order_notify_url" field.
|
|
func OrderNotifyURLIn(vs ...string) predicate.App {
|
|
return predicate.App(sql.FieldIn(FieldOrderNotifyURL, vs...))
|
|
}
|
|
|
|
// OrderNotifyURLNotIn applies the NotIn predicate on the "order_notify_url" field.
|
|
func OrderNotifyURLNotIn(vs ...string) predicate.App {
|
|
return predicate.App(sql.FieldNotIn(FieldOrderNotifyURL, vs...))
|
|
}
|
|
|
|
// OrderNotifyURLGT applies the GT predicate on the "order_notify_url" field.
|
|
func OrderNotifyURLGT(v string) predicate.App {
|
|
return predicate.App(sql.FieldGT(FieldOrderNotifyURL, v))
|
|
}
|
|
|
|
// OrderNotifyURLGTE applies the GTE predicate on the "order_notify_url" field.
|
|
func OrderNotifyURLGTE(v string) predicate.App {
|
|
return predicate.App(sql.FieldGTE(FieldOrderNotifyURL, v))
|
|
}
|
|
|
|
// OrderNotifyURLLT applies the LT predicate on the "order_notify_url" field.
|
|
func OrderNotifyURLLT(v string) predicate.App {
|
|
return predicate.App(sql.FieldLT(FieldOrderNotifyURL, v))
|
|
}
|
|
|
|
// OrderNotifyURLLTE applies the LTE predicate on the "order_notify_url" field.
|
|
func OrderNotifyURLLTE(v string) predicate.App {
|
|
return predicate.App(sql.FieldLTE(FieldOrderNotifyURL, v))
|
|
}
|
|
|
|
// OrderNotifyURLContains applies the Contains predicate on the "order_notify_url" field.
|
|
func OrderNotifyURLContains(v string) predicate.App {
|
|
return predicate.App(sql.FieldContains(FieldOrderNotifyURL, v))
|
|
}
|
|
|
|
// OrderNotifyURLHasPrefix applies the HasPrefix predicate on the "order_notify_url" field.
|
|
func OrderNotifyURLHasPrefix(v string) predicate.App {
|
|
return predicate.App(sql.FieldHasPrefix(FieldOrderNotifyURL, v))
|
|
}
|
|
|
|
// OrderNotifyURLHasSuffix applies the HasSuffix predicate on the "order_notify_url" field.
|
|
func OrderNotifyURLHasSuffix(v string) predicate.App {
|
|
return predicate.App(sql.FieldHasSuffix(FieldOrderNotifyURL, v))
|
|
}
|
|
|
|
// OrderNotifyURLIsNil applies the IsNil predicate on the "order_notify_url" field.
|
|
func OrderNotifyURLIsNil() predicate.App {
|
|
return predicate.App(sql.FieldIsNull(FieldOrderNotifyURL))
|
|
}
|
|
|
|
// OrderNotifyURLNotNil applies the NotNil predicate on the "order_notify_url" field.
|
|
func OrderNotifyURLNotNil() predicate.App {
|
|
return predicate.App(sql.FieldNotNull(FieldOrderNotifyURL))
|
|
}
|
|
|
|
// OrderNotifyURLEqualFold applies the EqualFold predicate on the "order_notify_url" field.
|
|
func OrderNotifyURLEqualFold(v string) predicate.App {
|
|
return predicate.App(sql.FieldEqualFold(FieldOrderNotifyURL, v))
|
|
}
|
|
|
|
// OrderNotifyURLContainsFold applies the ContainsFold predicate on the "order_notify_url" field.
|
|
func OrderNotifyURLContainsFold(v string) predicate.App {
|
|
return predicate.App(sql.FieldContainsFold(FieldOrderNotifyURL, v))
|
|
}
|
|
|
|
// RefundNotifyURLEQ applies the EQ predicate on the "refund_notify_url" field.
|
|
func RefundNotifyURLEQ(v string) predicate.App {
|
|
return predicate.App(sql.FieldEQ(FieldRefundNotifyURL, v))
|
|
}
|
|
|
|
// RefundNotifyURLNEQ applies the NEQ predicate on the "refund_notify_url" field.
|
|
func RefundNotifyURLNEQ(v string) predicate.App {
|
|
return predicate.App(sql.FieldNEQ(FieldRefundNotifyURL, v))
|
|
}
|
|
|
|
// RefundNotifyURLIn applies the In predicate on the "refund_notify_url" field.
|
|
func RefundNotifyURLIn(vs ...string) predicate.App {
|
|
return predicate.App(sql.FieldIn(FieldRefundNotifyURL, vs...))
|
|
}
|
|
|
|
// RefundNotifyURLNotIn applies the NotIn predicate on the "refund_notify_url" field.
|
|
func RefundNotifyURLNotIn(vs ...string) predicate.App {
|
|
return predicate.App(sql.FieldNotIn(FieldRefundNotifyURL, vs...))
|
|
}
|
|
|
|
// RefundNotifyURLGT applies the GT predicate on the "refund_notify_url" field.
|
|
func RefundNotifyURLGT(v string) predicate.App {
|
|
return predicate.App(sql.FieldGT(FieldRefundNotifyURL, v))
|
|
}
|
|
|
|
// RefundNotifyURLGTE applies the GTE predicate on the "refund_notify_url" field.
|
|
func RefundNotifyURLGTE(v string) predicate.App {
|
|
return predicate.App(sql.FieldGTE(FieldRefundNotifyURL, v))
|
|
}
|
|
|
|
// RefundNotifyURLLT applies the LT predicate on the "refund_notify_url" field.
|
|
func RefundNotifyURLLT(v string) predicate.App {
|
|
return predicate.App(sql.FieldLT(FieldRefundNotifyURL, v))
|
|
}
|
|
|
|
// RefundNotifyURLLTE applies the LTE predicate on the "refund_notify_url" field.
|
|
func RefundNotifyURLLTE(v string) predicate.App {
|
|
return predicate.App(sql.FieldLTE(FieldRefundNotifyURL, v))
|
|
}
|
|
|
|
// RefundNotifyURLContains applies the Contains predicate on the "refund_notify_url" field.
|
|
func RefundNotifyURLContains(v string) predicate.App {
|
|
return predicate.App(sql.FieldContains(FieldRefundNotifyURL, v))
|
|
}
|
|
|
|
// RefundNotifyURLHasPrefix applies the HasPrefix predicate on the "refund_notify_url" field.
|
|
func RefundNotifyURLHasPrefix(v string) predicate.App {
|
|
return predicate.App(sql.FieldHasPrefix(FieldRefundNotifyURL, v))
|
|
}
|
|
|
|
// RefundNotifyURLHasSuffix applies the HasSuffix predicate on the "refund_notify_url" field.
|
|
func RefundNotifyURLHasSuffix(v string) predicate.App {
|
|
return predicate.App(sql.FieldHasSuffix(FieldRefundNotifyURL, v))
|
|
}
|
|
|
|
// RefundNotifyURLIsNil applies the IsNil predicate on the "refund_notify_url" field.
|
|
func RefundNotifyURLIsNil() predicate.App {
|
|
return predicate.App(sql.FieldIsNull(FieldRefundNotifyURL))
|
|
}
|
|
|
|
// RefundNotifyURLNotNil applies the NotNil predicate on the "refund_notify_url" field.
|
|
func RefundNotifyURLNotNil() predicate.App {
|
|
return predicate.App(sql.FieldNotNull(FieldRefundNotifyURL))
|
|
}
|
|
|
|
// RefundNotifyURLEqualFold applies the EqualFold predicate on the "refund_notify_url" field.
|
|
func RefundNotifyURLEqualFold(v string) predicate.App {
|
|
return predicate.App(sql.FieldEqualFold(FieldRefundNotifyURL, v))
|
|
}
|
|
|
|
// RefundNotifyURLContainsFold applies the ContainsFold predicate on the "refund_notify_url" field.
|
|
func RefundNotifyURLContainsFold(v string) predicate.App {
|
|
return predicate.App(sql.FieldContainsFold(FieldRefundNotifyURL, v))
|
|
}
|
|
|
|
// HasChannel applies the HasEdge predicate on the "channel" edge.
|
|
func HasChannel() predicate.App {
|
|
return predicate.App(func(s *sql.Selector) {
|
|
step := sqlgraph.NewStep(
|
|
sqlgraph.From(Table, FieldID),
|
|
sqlgraph.Edge(sqlgraph.O2M, true, ChannelTable, ChannelColumn),
|
|
)
|
|
sqlgraph.HasNeighbors(s, step)
|
|
})
|
|
}
|
|
|
|
// HasChannelWith applies the HasEdge predicate on the "channel" edge with a given conditions (other predicates).
|
|
func HasChannelWith(preds ...predicate.PayChannel) predicate.App {
|
|
return predicate.App(func(s *sql.Selector) {
|
|
step := newChannelStep()
|
|
sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
|
|
for _, p := range preds {
|
|
p(s)
|
|
}
|
|
})
|
|
})
|
|
}
|
|
|
|
// HasNotifyTask applies the HasEdge predicate on the "notify_task" edge.
|
|
func HasNotifyTask() predicate.App {
|
|
return predicate.App(func(s *sql.Selector) {
|
|
step := sqlgraph.NewStep(
|
|
sqlgraph.From(Table, FieldID),
|
|
sqlgraph.Edge(sqlgraph.O2M, true, NotifyTaskTable, NotifyTaskColumn),
|
|
)
|
|
sqlgraph.HasNeighbors(s, step)
|
|
})
|
|
}
|
|
|
|
// HasNotifyTaskWith applies the HasEdge predicate on the "notify_task" edge with a given conditions (other predicates).
|
|
func HasNotifyTaskWith(preds ...predicate.PayNotifyTask) predicate.App {
|
|
return predicate.App(func(s *sql.Selector) {
|
|
step := newNotifyTaskStep()
|
|
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.App) predicate.App {
|
|
return predicate.App(sql.AndPredicates(predicates...))
|
|
}
|
|
|
|
// Or groups predicates with the OR operator between them.
|
|
func Or(predicates ...predicate.App) predicate.App {
|
|
return predicate.App(sql.OrPredicates(predicates...))
|
|
}
|
|
|
|
// Not applies the not operator on the given predicate.
|
|
func Not(p predicate.App) predicate.App {
|
|
return predicate.App(sql.NotPredicates(p))
|
|
}
|