663 lines
27 KiB
Go
663 lines
27 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package payorderextension
|
|
|
|
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.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDEQ applies the EQ predicate on the ID field.
|
|
func IDEQ(id uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDNEQ applies the NEQ predicate on the ID field.
|
|
func IDNEQ(id uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNEQ(FieldID, id))
|
|
}
|
|
|
|
// IDIn applies the In predicate on the ID field.
|
|
func IDIn(ids ...uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDNotIn applies the NotIn predicate on the ID field.
|
|
func IDNotIn(ids ...uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNotIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDGT applies the GT predicate on the ID field.
|
|
func IDGT(id uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldGT(FieldID, id))
|
|
}
|
|
|
|
// IDGTE applies the GTE predicate on the ID field.
|
|
func IDGTE(id uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldGTE(FieldID, id))
|
|
}
|
|
|
|
// IDLT applies the LT predicate on the ID field.
|
|
func IDLT(id uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldLT(FieldID, id))
|
|
}
|
|
|
|
// IDLTE applies the LTE predicate on the ID field.
|
|
func IDLTE(id uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(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.PayOrderExtension {
|
|
return predicate.PayOrderExtension(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.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
|
|
func Status(v uint8) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
|
|
func TenantID(v uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(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.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldDeletedAt, v))
|
|
}
|
|
|
|
// OrderID applies equality check predicate on the "order_id" field. It's identical to OrderIDEQ.
|
|
func OrderID(v uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldOrderID, v))
|
|
}
|
|
|
|
// ChannelID applies equality check predicate on the "channel_id" field. It's identical to ChannelIDEQ.
|
|
func ChannelID(v uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldChannelID, v))
|
|
}
|
|
|
|
// ChannelErrorCode applies equality check predicate on the "channel_error_code" field. It's identical to ChannelErrorCodeEQ.
|
|
func ChannelErrorCode(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldChannelErrorCode, v))
|
|
}
|
|
|
|
// ChannelErrorMsg applies equality check predicate on the "channel_error_msg" field. It's identical to ChannelErrorMsgEQ.
|
|
func ChannelErrorMsg(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldChannelErrorMsg, v))
|
|
}
|
|
|
|
// ChannelNotifyData applies equality check predicate on the "channel_notify_data" field. It's identical to ChannelNotifyDataEQ.
|
|
func ChannelNotifyData(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldChannelNotifyData, v))
|
|
}
|
|
|
|
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
|
|
func CreatedAtEQ(v time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
|
|
func CreatedAtNEQ(v time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtIn applies the In predicate on the "created_at" field.
|
|
func CreatedAtIn(vs ...time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
|
|
func CreatedAtNotIn(vs ...time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNotIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtGT applies the GT predicate on the "created_at" field.
|
|
func CreatedAtGT(v time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldGT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
|
|
func CreatedAtGTE(v time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldGTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLT applies the LT predicate on the "created_at" field.
|
|
func CreatedAtLT(v time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldLT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
|
|
func CreatedAtLTE(v time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldLTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
|
|
func UpdatedAtEQ(v time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
|
|
func UpdatedAtNEQ(v time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtIn applies the In predicate on the "updated_at" field.
|
|
func UpdatedAtIn(vs ...time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldIn(FieldUpdatedAt, vs...))
|
|
}
|
|
|
|
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
|
|
func UpdatedAtNotIn(vs ...time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNotIn(FieldUpdatedAt, vs...))
|
|
}
|
|
|
|
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
|
|
func UpdatedAtGT(v time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldGT(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
|
|
func UpdatedAtGTE(v time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldGTE(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
|
|
func UpdatedAtLT(v time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldLT(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
|
|
func UpdatedAtLTE(v time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldLTE(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// StatusEQ applies the EQ predicate on the "status" field.
|
|
func StatusEQ(v uint8) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusNEQ applies the NEQ predicate on the "status" field.
|
|
func StatusNEQ(v uint8) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusIn applies the In predicate on the "status" field.
|
|
func StatusIn(vs ...uint8) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusNotIn applies the NotIn predicate on the "status" field.
|
|
func StatusNotIn(vs ...uint8) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNotIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusGT applies the GT predicate on the "status" field.
|
|
func StatusGT(v uint8) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldGT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusGTE applies the GTE predicate on the "status" field.
|
|
func StatusGTE(v uint8) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldGTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLT applies the LT predicate on the "status" field.
|
|
func StatusLT(v uint8) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldLT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLTE applies the LTE predicate on the "status" field.
|
|
func StatusLTE(v uint8) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldLTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusIsNil applies the IsNil predicate on the "status" field.
|
|
func StatusIsNil() predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldIsNull(FieldStatus))
|
|
}
|
|
|
|
// StatusNotNil applies the NotNil predicate on the "status" field.
|
|
func StatusNotNil() predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNotNull(FieldStatus))
|
|
}
|
|
|
|
// TenantIDEQ applies the EQ predicate on the "tenant_id" field.
|
|
func TenantIDEQ(v uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
|
|
func TenantIDNEQ(v uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNEQ(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDIn applies the In predicate on the "tenant_id" field.
|
|
func TenantIDIn(vs ...uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldIn(FieldTenantID, vs...))
|
|
}
|
|
|
|
// TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
|
|
func TenantIDNotIn(vs ...uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNotIn(FieldTenantID, vs...))
|
|
}
|
|
|
|
// TenantIDGT applies the GT predicate on the "tenant_id" field.
|
|
func TenantIDGT(v uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldGT(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDGTE applies the GTE predicate on the "tenant_id" field.
|
|
func TenantIDGTE(v uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldGTE(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDLT applies the LT predicate on the "tenant_id" field.
|
|
func TenantIDLT(v uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldLT(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDLTE applies the LTE predicate on the "tenant_id" field.
|
|
func TenantIDLTE(v uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldLTE(FieldTenantID, v))
|
|
}
|
|
|
|
// DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
|
|
func DeletedAtEQ(v time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
|
|
func DeletedAtNEQ(v time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNEQ(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtIn applies the In predicate on the "deleted_at" field.
|
|
func DeletedAtIn(vs ...time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldIn(FieldDeletedAt, vs...))
|
|
}
|
|
|
|
// DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
|
|
func DeletedAtNotIn(vs ...time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNotIn(FieldDeletedAt, vs...))
|
|
}
|
|
|
|
// DeletedAtGT applies the GT predicate on the "deleted_at" field.
|
|
func DeletedAtGT(v time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldGT(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
|
|
func DeletedAtGTE(v time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldGTE(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtLT applies the LT predicate on the "deleted_at" field.
|
|
func DeletedAtLT(v time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldLT(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
|
|
func DeletedAtLTE(v time.Time) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldLTE(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
|
|
func DeletedAtIsNil() predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldIsNull(FieldDeletedAt))
|
|
}
|
|
|
|
// DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
|
|
func DeletedAtNotNil() predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNotNull(FieldDeletedAt))
|
|
}
|
|
|
|
// OrderIDEQ applies the EQ predicate on the "order_id" field.
|
|
func OrderIDEQ(v uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldOrderID, v))
|
|
}
|
|
|
|
// OrderIDNEQ applies the NEQ predicate on the "order_id" field.
|
|
func OrderIDNEQ(v uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNEQ(FieldOrderID, v))
|
|
}
|
|
|
|
// OrderIDIn applies the In predicate on the "order_id" field.
|
|
func OrderIDIn(vs ...uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldIn(FieldOrderID, vs...))
|
|
}
|
|
|
|
// OrderIDNotIn applies the NotIn predicate on the "order_id" field.
|
|
func OrderIDNotIn(vs ...uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNotIn(FieldOrderID, vs...))
|
|
}
|
|
|
|
// ChannelIDEQ applies the EQ predicate on the "channel_id" field.
|
|
func ChannelIDEQ(v uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldChannelID, v))
|
|
}
|
|
|
|
// ChannelIDNEQ applies the NEQ predicate on the "channel_id" field.
|
|
func ChannelIDNEQ(v uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNEQ(FieldChannelID, v))
|
|
}
|
|
|
|
// ChannelIDIn applies the In predicate on the "channel_id" field.
|
|
func ChannelIDIn(vs ...uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldIn(FieldChannelID, vs...))
|
|
}
|
|
|
|
// ChannelIDNotIn applies the NotIn predicate on the "channel_id" field.
|
|
func ChannelIDNotIn(vs ...uint64) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNotIn(FieldChannelID, vs...))
|
|
}
|
|
|
|
// ChannelExtrasIsNil applies the IsNil predicate on the "channel_extras" field.
|
|
func ChannelExtrasIsNil() predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldIsNull(FieldChannelExtras))
|
|
}
|
|
|
|
// ChannelExtrasNotNil applies the NotNil predicate on the "channel_extras" field.
|
|
func ChannelExtrasNotNil() predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNotNull(FieldChannelExtras))
|
|
}
|
|
|
|
// ChannelErrorCodeEQ applies the EQ predicate on the "channel_error_code" field.
|
|
func ChannelErrorCodeEQ(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldChannelErrorCode, v))
|
|
}
|
|
|
|
// ChannelErrorCodeNEQ applies the NEQ predicate on the "channel_error_code" field.
|
|
func ChannelErrorCodeNEQ(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNEQ(FieldChannelErrorCode, v))
|
|
}
|
|
|
|
// ChannelErrorCodeIn applies the In predicate on the "channel_error_code" field.
|
|
func ChannelErrorCodeIn(vs ...string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldIn(FieldChannelErrorCode, vs...))
|
|
}
|
|
|
|
// ChannelErrorCodeNotIn applies the NotIn predicate on the "channel_error_code" field.
|
|
func ChannelErrorCodeNotIn(vs ...string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNotIn(FieldChannelErrorCode, vs...))
|
|
}
|
|
|
|
// ChannelErrorCodeGT applies the GT predicate on the "channel_error_code" field.
|
|
func ChannelErrorCodeGT(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldGT(FieldChannelErrorCode, v))
|
|
}
|
|
|
|
// ChannelErrorCodeGTE applies the GTE predicate on the "channel_error_code" field.
|
|
func ChannelErrorCodeGTE(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldGTE(FieldChannelErrorCode, v))
|
|
}
|
|
|
|
// ChannelErrorCodeLT applies the LT predicate on the "channel_error_code" field.
|
|
func ChannelErrorCodeLT(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldLT(FieldChannelErrorCode, v))
|
|
}
|
|
|
|
// ChannelErrorCodeLTE applies the LTE predicate on the "channel_error_code" field.
|
|
func ChannelErrorCodeLTE(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldLTE(FieldChannelErrorCode, v))
|
|
}
|
|
|
|
// ChannelErrorCodeContains applies the Contains predicate on the "channel_error_code" field.
|
|
func ChannelErrorCodeContains(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldContains(FieldChannelErrorCode, v))
|
|
}
|
|
|
|
// ChannelErrorCodeHasPrefix applies the HasPrefix predicate on the "channel_error_code" field.
|
|
func ChannelErrorCodeHasPrefix(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldHasPrefix(FieldChannelErrorCode, v))
|
|
}
|
|
|
|
// ChannelErrorCodeHasSuffix applies the HasSuffix predicate on the "channel_error_code" field.
|
|
func ChannelErrorCodeHasSuffix(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldHasSuffix(FieldChannelErrorCode, v))
|
|
}
|
|
|
|
// ChannelErrorCodeIsNil applies the IsNil predicate on the "channel_error_code" field.
|
|
func ChannelErrorCodeIsNil() predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldIsNull(FieldChannelErrorCode))
|
|
}
|
|
|
|
// ChannelErrorCodeNotNil applies the NotNil predicate on the "channel_error_code" field.
|
|
func ChannelErrorCodeNotNil() predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNotNull(FieldChannelErrorCode))
|
|
}
|
|
|
|
// ChannelErrorCodeEqualFold applies the EqualFold predicate on the "channel_error_code" field.
|
|
func ChannelErrorCodeEqualFold(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEqualFold(FieldChannelErrorCode, v))
|
|
}
|
|
|
|
// ChannelErrorCodeContainsFold applies the ContainsFold predicate on the "channel_error_code" field.
|
|
func ChannelErrorCodeContainsFold(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldContainsFold(FieldChannelErrorCode, v))
|
|
}
|
|
|
|
// ChannelErrorMsgEQ applies the EQ predicate on the "channel_error_msg" field.
|
|
func ChannelErrorMsgEQ(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldChannelErrorMsg, v))
|
|
}
|
|
|
|
// ChannelErrorMsgNEQ applies the NEQ predicate on the "channel_error_msg" field.
|
|
func ChannelErrorMsgNEQ(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNEQ(FieldChannelErrorMsg, v))
|
|
}
|
|
|
|
// ChannelErrorMsgIn applies the In predicate on the "channel_error_msg" field.
|
|
func ChannelErrorMsgIn(vs ...string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldIn(FieldChannelErrorMsg, vs...))
|
|
}
|
|
|
|
// ChannelErrorMsgNotIn applies the NotIn predicate on the "channel_error_msg" field.
|
|
func ChannelErrorMsgNotIn(vs ...string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNotIn(FieldChannelErrorMsg, vs...))
|
|
}
|
|
|
|
// ChannelErrorMsgGT applies the GT predicate on the "channel_error_msg" field.
|
|
func ChannelErrorMsgGT(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldGT(FieldChannelErrorMsg, v))
|
|
}
|
|
|
|
// ChannelErrorMsgGTE applies the GTE predicate on the "channel_error_msg" field.
|
|
func ChannelErrorMsgGTE(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldGTE(FieldChannelErrorMsg, v))
|
|
}
|
|
|
|
// ChannelErrorMsgLT applies the LT predicate on the "channel_error_msg" field.
|
|
func ChannelErrorMsgLT(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldLT(FieldChannelErrorMsg, v))
|
|
}
|
|
|
|
// ChannelErrorMsgLTE applies the LTE predicate on the "channel_error_msg" field.
|
|
func ChannelErrorMsgLTE(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldLTE(FieldChannelErrorMsg, v))
|
|
}
|
|
|
|
// ChannelErrorMsgContains applies the Contains predicate on the "channel_error_msg" field.
|
|
func ChannelErrorMsgContains(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldContains(FieldChannelErrorMsg, v))
|
|
}
|
|
|
|
// ChannelErrorMsgHasPrefix applies the HasPrefix predicate on the "channel_error_msg" field.
|
|
func ChannelErrorMsgHasPrefix(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldHasPrefix(FieldChannelErrorMsg, v))
|
|
}
|
|
|
|
// ChannelErrorMsgHasSuffix applies the HasSuffix predicate on the "channel_error_msg" field.
|
|
func ChannelErrorMsgHasSuffix(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldHasSuffix(FieldChannelErrorMsg, v))
|
|
}
|
|
|
|
// ChannelErrorMsgIsNil applies the IsNil predicate on the "channel_error_msg" field.
|
|
func ChannelErrorMsgIsNil() predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldIsNull(FieldChannelErrorMsg))
|
|
}
|
|
|
|
// ChannelErrorMsgNotNil applies the NotNil predicate on the "channel_error_msg" field.
|
|
func ChannelErrorMsgNotNil() predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNotNull(FieldChannelErrorMsg))
|
|
}
|
|
|
|
// ChannelErrorMsgEqualFold applies the EqualFold predicate on the "channel_error_msg" field.
|
|
func ChannelErrorMsgEqualFold(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEqualFold(FieldChannelErrorMsg, v))
|
|
}
|
|
|
|
// ChannelErrorMsgContainsFold applies the ContainsFold predicate on the "channel_error_msg" field.
|
|
func ChannelErrorMsgContainsFold(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldContainsFold(FieldChannelErrorMsg, v))
|
|
}
|
|
|
|
// ChannelNotifyDataEQ applies the EQ predicate on the "channel_notify_data" field.
|
|
func ChannelNotifyDataEQ(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEQ(FieldChannelNotifyData, v))
|
|
}
|
|
|
|
// ChannelNotifyDataNEQ applies the NEQ predicate on the "channel_notify_data" field.
|
|
func ChannelNotifyDataNEQ(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNEQ(FieldChannelNotifyData, v))
|
|
}
|
|
|
|
// ChannelNotifyDataIn applies the In predicate on the "channel_notify_data" field.
|
|
func ChannelNotifyDataIn(vs ...string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldIn(FieldChannelNotifyData, vs...))
|
|
}
|
|
|
|
// ChannelNotifyDataNotIn applies the NotIn predicate on the "channel_notify_data" field.
|
|
func ChannelNotifyDataNotIn(vs ...string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNotIn(FieldChannelNotifyData, vs...))
|
|
}
|
|
|
|
// ChannelNotifyDataGT applies the GT predicate on the "channel_notify_data" field.
|
|
func ChannelNotifyDataGT(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldGT(FieldChannelNotifyData, v))
|
|
}
|
|
|
|
// ChannelNotifyDataGTE applies the GTE predicate on the "channel_notify_data" field.
|
|
func ChannelNotifyDataGTE(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldGTE(FieldChannelNotifyData, v))
|
|
}
|
|
|
|
// ChannelNotifyDataLT applies the LT predicate on the "channel_notify_data" field.
|
|
func ChannelNotifyDataLT(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldLT(FieldChannelNotifyData, v))
|
|
}
|
|
|
|
// ChannelNotifyDataLTE applies the LTE predicate on the "channel_notify_data" field.
|
|
func ChannelNotifyDataLTE(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldLTE(FieldChannelNotifyData, v))
|
|
}
|
|
|
|
// ChannelNotifyDataContains applies the Contains predicate on the "channel_notify_data" field.
|
|
func ChannelNotifyDataContains(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldContains(FieldChannelNotifyData, v))
|
|
}
|
|
|
|
// ChannelNotifyDataHasPrefix applies the HasPrefix predicate on the "channel_notify_data" field.
|
|
func ChannelNotifyDataHasPrefix(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldHasPrefix(FieldChannelNotifyData, v))
|
|
}
|
|
|
|
// ChannelNotifyDataHasSuffix applies the HasSuffix predicate on the "channel_notify_data" field.
|
|
func ChannelNotifyDataHasSuffix(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldHasSuffix(FieldChannelNotifyData, v))
|
|
}
|
|
|
|
// ChannelNotifyDataIsNil applies the IsNil predicate on the "channel_notify_data" field.
|
|
func ChannelNotifyDataIsNil() predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldIsNull(FieldChannelNotifyData))
|
|
}
|
|
|
|
// ChannelNotifyDataNotNil applies the NotNil predicate on the "channel_notify_data" field.
|
|
func ChannelNotifyDataNotNil() predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldNotNull(FieldChannelNotifyData))
|
|
}
|
|
|
|
// ChannelNotifyDataEqualFold applies the EqualFold predicate on the "channel_notify_data" field.
|
|
func ChannelNotifyDataEqualFold(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldEqualFold(FieldChannelNotifyData, v))
|
|
}
|
|
|
|
// ChannelNotifyDataContainsFold applies the ContainsFold predicate on the "channel_notify_data" field.
|
|
func ChannelNotifyDataContainsFold(v string) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.FieldContainsFold(FieldChannelNotifyData, v))
|
|
}
|
|
|
|
// HasChannel applies the HasEdge predicate on the "channel" edge.
|
|
func HasChannel() predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(func(s *sql.Selector) {
|
|
step := sqlgraph.NewStep(
|
|
sqlgraph.From(Table, FieldID),
|
|
sqlgraph.Edge(sqlgraph.M2O, false, 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.PayOrderExtension {
|
|
return predicate.PayOrderExtension(func(s *sql.Selector) {
|
|
step := newChannelStep()
|
|
sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
|
|
for _, p := range preds {
|
|
p(s)
|
|
}
|
|
})
|
|
})
|
|
}
|
|
|
|
// HasOrder applies the HasEdge predicate on the "order" edge.
|
|
func HasOrder() predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(func(s *sql.Selector) {
|
|
step := sqlgraph.NewStep(
|
|
sqlgraph.From(Table, FieldID),
|
|
sqlgraph.Edge(sqlgraph.M2O, false, OrderTable, OrderColumn),
|
|
)
|
|
sqlgraph.HasNeighbors(s, step)
|
|
})
|
|
}
|
|
|
|
// HasOrderWith applies the HasEdge predicate on the "order" edge with a given conditions (other predicates).
|
|
func HasOrderWith(preds ...predicate.PayOrder) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(func(s *sql.Selector) {
|
|
step := newOrderStep()
|
|
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.PayOrderExtension) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.AndPredicates(predicates...))
|
|
}
|
|
|
|
// Or groups predicates with the OR operator between them.
|
|
func Or(predicates ...predicate.PayOrderExtension) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.OrPredicates(predicates...))
|
|
}
|
|
|
|
// Not applies the not operator on the given predicate.
|
|
func Not(p predicate.PayOrderExtension) predicate.PayOrderExtension {
|
|
return predicate.PayOrderExtension(sql.NotPredicates(p))
|
|
}
|