mingyang-admin-pay/rpc/ent/payrefund/where.go

1248 lines
47 KiB
Go

// Code generated by ent, DO NOT EDIT.
package payrefund
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.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldID, id))
}
// IDEQ applies the EQ predicate on the ID field.
func IDEQ(id uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldID, id))
}
// IDNEQ applies the NEQ predicate on the ID field.
func IDNEQ(id uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldID, id))
}
// IDIn applies the In predicate on the ID field.
func IDIn(ids ...uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldID, ids...))
}
// IDNotIn applies the NotIn predicate on the ID field.
func IDNotIn(ids ...uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldID, ids...))
}
// IDGT applies the GT predicate on the ID field.
func IDGT(id uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGT(FieldID, id))
}
// IDGTE applies the GTE predicate on the ID field.
func IDGTE(id uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGTE(FieldID, id))
}
// IDLT applies the LT predicate on the ID field.
func IDLT(id uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLT(FieldID, id))
}
// IDLTE applies the LTE predicate on the ID field.
func IDLTE(id uint64) predicate.PayRefund {
return predicate.PayRefund(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.PayRefund {
return predicate.PayRefund(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.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldUpdatedAt, v))
}
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func Status(v uint8) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldStatus, v))
}
// TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantID(v uint64) predicate.PayRefund {
return predicate.PayRefund(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.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldDeletedAt, v))
}
// ChannelID applies equality check predicate on the "channel_id" field. It's identical to ChannelIDEQ.
func ChannelID(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldChannelID, v))
}
// UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserID(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldUserID, v))
}
// OrderID applies equality check predicate on the "order_id" field. It's identical to OrderIDEQ.
func OrderID(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldOrderID, v))
}
// NotifyURL applies equality check predicate on the "notify_url" field. It's identical to NotifyURLEQ.
func NotifyURL(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldNotifyURL, v))
}
// RefundStatus applies equality check predicate on the "refund_status" field. It's identical to RefundStatusEQ.
func RefundStatus(v uint8) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldRefundStatus, v))
}
// RefundAmount applies equality check predicate on the "refund_amount" field. It's identical to RefundAmountEQ.
func RefundAmount(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldRefundAmount, v))
}
// PayAmount applies equality check predicate on the "pay_amount" field. It's identical to PayAmountEQ.
func PayAmount(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldPayAmount, v))
}
// RefundNo applies equality check predicate on the "refund_no" field. It's identical to RefundNoEQ.
func RefundNo(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldRefundNo, v))
}
// RefundReason applies equality check predicate on the "refund_reason" field. It's identical to RefundReasonEQ.
func RefundReason(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldRefundReason, v))
}
// UserIP applies equality check predicate on the "user_ip" field. It's identical to UserIPEQ.
func UserIP(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldUserIP, v))
}
// ChannelRefundNo applies equality check predicate on the "channel_refund_no" field. It's identical to ChannelRefundNoEQ.
func ChannelRefundNo(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldChannelRefundNo, v))
}
// RefundTime applies equality check predicate on the "refund_time" field. It's identical to RefundTimeEQ.
func RefundTime(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldRefundTime, v))
}
// ChannelErrorCode applies equality check predicate on the "channel_error_code" field. It's identical to ChannelErrorCodeEQ.
func ChannelErrorCode(v string) predicate.PayRefund {
return predicate.PayRefund(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.PayRefund {
return predicate.PayRefund(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.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldChannelNotifyData, v))
}
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtEQ(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldCreatedAt, v))
}
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNEQ(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldCreatedAt, v))
}
// CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIn(vs ...time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldCreatedAt, vs...))
}
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotIn(vs ...time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldCreatedAt, vs...))
}
// CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGT(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGT(FieldCreatedAt, v))
}
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtGTE(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGTE(FieldCreatedAt, v))
}
// CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLT(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLT(FieldCreatedAt, v))
}
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtLTE(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLTE(FieldCreatedAt, v))
}
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtEQ(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldUpdatedAt, v))
}
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNEQ(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldUpdatedAt, v))
}
// UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIn(vs ...time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldUpdatedAt, vs...))
}
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotIn(vs ...time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldUpdatedAt, vs...))
}
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGT(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGT(FieldUpdatedAt, v))
}
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtGTE(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGTE(FieldUpdatedAt, v))
}
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLT(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLT(FieldUpdatedAt, v))
}
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtLTE(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLTE(FieldUpdatedAt, v))
}
// StatusEQ applies the EQ predicate on the "status" field.
func StatusEQ(v uint8) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldStatus, v))
}
// StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNEQ(v uint8) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldStatus, v))
}
// StatusIn applies the In predicate on the "status" field.
func StatusIn(vs ...uint8) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldStatus, vs...))
}
// StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotIn(vs ...uint8) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldStatus, vs...))
}
// StatusGT applies the GT predicate on the "status" field.
func StatusGT(v uint8) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGT(FieldStatus, v))
}
// StatusGTE applies the GTE predicate on the "status" field.
func StatusGTE(v uint8) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGTE(FieldStatus, v))
}
// StatusLT applies the LT predicate on the "status" field.
func StatusLT(v uint8) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLT(FieldStatus, v))
}
// StatusLTE applies the LTE predicate on the "status" field.
func StatusLTE(v uint8) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLTE(FieldStatus, v))
}
// StatusIsNil applies the IsNil predicate on the "status" field.
func StatusIsNil() predicate.PayRefund {
return predicate.PayRefund(sql.FieldIsNull(FieldStatus))
}
// StatusNotNil applies the NotNil predicate on the "status" field.
func StatusNotNil() predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotNull(FieldStatus))
}
// TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDEQ(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldTenantID, v))
}
// TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNEQ(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldTenantID, v))
}
// TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDIn(vs ...uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldTenantID, vs...))
}
// TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
func TenantIDNotIn(vs ...uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldTenantID, vs...))
}
// TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGT(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGT(FieldTenantID, v))
}
// TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDGTE(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGTE(FieldTenantID, v))
}
// TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLT(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLT(FieldTenantID, v))
}
// TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDLTE(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLTE(FieldTenantID, v))
}
// DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtEQ(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldDeletedAt, v))
}
// DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNEQ(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldDeletedAt, v))
}
// DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIn(vs ...time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldDeletedAt, vs...))
}
// DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotIn(vs ...time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldDeletedAt, vs...))
}
// DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGT(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGT(FieldDeletedAt, v))
}
// DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtGTE(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGTE(FieldDeletedAt, v))
}
// DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLT(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLT(FieldDeletedAt, v))
}
// DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtLTE(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLTE(FieldDeletedAt, v))
}
// DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtIsNil() predicate.PayRefund {
return predicate.PayRefund(sql.FieldIsNull(FieldDeletedAt))
}
// DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedAtNotNil() predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotNull(FieldDeletedAt))
}
// ChannelIDEQ applies the EQ predicate on the "channel_id" field.
func ChannelIDEQ(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldChannelID, v))
}
// ChannelIDNEQ applies the NEQ predicate on the "channel_id" field.
func ChannelIDNEQ(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldChannelID, v))
}
// ChannelIDIn applies the In predicate on the "channel_id" field.
func ChannelIDIn(vs ...uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldChannelID, vs...))
}
// ChannelIDNotIn applies the NotIn predicate on the "channel_id" field.
func ChannelIDNotIn(vs ...uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldChannelID, vs...))
}
// UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDEQ(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldUserID, v))
}
// UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNEQ(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldUserID, v))
}
// UserIDIn applies the In predicate on the "user_id" field.
func UserIDIn(vs ...uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldUserID, vs...))
}
// UserIDNotIn applies the NotIn predicate on the "user_id" field.
func UserIDNotIn(vs ...uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldUserID, vs...))
}
// UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGT(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGT(FieldUserID, v))
}
// UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDGTE(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGTE(FieldUserID, v))
}
// UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLT(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLT(FieldUserID, v))
}
// UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDLTE(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLTE(FieldUserID, v))
}
// OrderIDEQ applies the EQ predicate on the "order_id" field.
func OrderIDEQ(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldOrderID, v))
}
// OrderIDNEQ applies the NEQ predicate on the "order_id" field.
func OrderIDNEQ(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldOrderID, v))
}
// OrderIDIn applies the In predicate on the "order_id" field.
func OrderIDIn(vs ...uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldOrderID, vs...))
}
// OrderIDNotIn applies the NotIn predicate on the "order_id" field.
func OrderIDNotIn(vs ...uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldOrderID, vs...))
}
// NotifyURLEQ applies the EQ predicate on the "notify_url" field.
func NotifyURLEQ(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldNotifyURL, v))
}
// NotifyURLNEQ applies the NEQ predicate on the "notify_url" field.
func NotifyURLNEQ(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldNotifyURL, v))
}
// NotifyURLIn applies the In predicate on the "notify_url" field.
func NotifyURLIn(vs ...string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldNotifyURL, vs...))
}
// NotifyURLNotIn applies the NotIn predicate on the "notify_url" field.
func NotifyURLNotIn(vs ...string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldNotifyURL, vs...))
}
// NotifyURLGT applies the GT predicate on the "notify_url" field.
func NotifyURLGT(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGT(FieldNotifyURL, v))
}
// NotifyURLGTE applies the GTE predicate on the "notify_url" field.
func NotifyURLGTE(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGTE(FieldNotifyURL, v))
}
// NotifyURLLT applies the LT predicate on the "notify_url" field.
func NotifyURLLT(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLT(FieldNotifyURL, v))
}
// NotifyURLLTE applies the LTE predicate on the "notify_url" field.
func NotifyURLLTE(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLTE(FieldNotifyURL, v))
}
// NotifyURLContains applies the Contains predicate on the "notify_url" field.
func NotifyURLContains(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldContains(FieldNotifyURL, v))
}
// NotifyURLHasPrefix applies the HasPrefix predicate on the "notify_url" field.
func NotifyURLHasPrefix(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldHasPrefix(FieldNotifyURL, v))
}
// NotifyURLHasSuffix applies the HasSuffix predicate on the "notify_url" field.
func NotifyURLHasSuffix(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldHasSuffix(FieldNotifyURL, v))
}
// NotifyURLIsNil applies the IsNil predicate on the "notify_url" field.
func NotifyURLIsNil() predicate.PayRefund {
return predicate.PayRefund(sql.FieldIsNull(FieldNotifyURL))
}
// NotifyURLNotNil applies the NotNil predicate on the "notify_url" field.
func NotifyURLNotNil() predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotNull(FieldNotifyURL))
}
// NotifyURLEqualFold applies the EqualFold predicate on the "notify_url" field.
func NotifyURLEqualFold(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEqualFold(FieldNotifyURL, v))
}
// NotifyURLContainsFold applies the ContainsFold predicate on the "notify_url" field.
func NotifyURLContainsFold(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldContainsFold(FieldNotifyURL, v))
}
// RefundStatusEQ applies the EQ predicate on the "refund_status" field.
func RefundStatusEQ(v uint8) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldRefundStatus, v))
}
// RefundStatusNEQ applies the NEQ predicate on the "refund_status" field.
func RefundStatusNEQ(v uint8) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldRefundStatus, v))
}
// RefundStatusIn applies the In predicate on the "refund_status" field.
func RefundStatusIn(vs ...uint8) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldRefundStatus, vs...))
}
// RefundStatusNotIn applies the NotIn predicate on the "refund_status" field.
func RefundStatusNotIn(vs ...uint8) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldRefundStatus, vs...))
}
// RefundStatusGT applies the GT predicate on the "refund_status" field.
func RefundStatusGT(v uint8) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGT(FieldRefundStatus, v))
}
// RefundStatusGTE applies the GTE predicate on the "refund_status" field.
func RefundStatusGTE(v uint8) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGTE(FieldRefundStatus, v))
}
// RefundStatusLT applies the LT predicate on the "refund_status" field.
func RefundStatusLT(v uint8) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLT(FieldRefundStatus, v))
}
// RefundStatusLTE applies the LTE predicate on the "refund_status" field.
func RefundStatusLTE(v uint8) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLTE(FieldRefundStatus, v))
}
// RefundAmountEQ applies the EQ predicate on the "refund_amount" field.
func RefundAmountEQ(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldRefundAmount, v))
}
// RefundAmountNEQ applies the NEQ predicate on the "refund_amount" field.
func RefundAmountNEQ(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldRefundAmount, v))
}
// RefundAmountIn applies the In predicate on the "refund_amount" field.
func RefundAmountIn(vs ...uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldRefundAmount, vs...))
}
// RefundAmountNotIn applies the NotIn predicate on the "refund_amount" field.
func RefundAmountNotIn(vs ...uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldRefundAmount, vs...))
}
// RefundAmountGT applies the GT predicate on the "refund_amount" field.
func RefundAmountGT(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGT(FieldRefundAmount, v))
}
// RefundAmountGTE applies the GTE predicate on the "refund_amount" field.
func RefundAmountGTE(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGTE(FieldRefundAmount, v))
}
// RefundAmountLT applies the LT predicate on the "refund_amount" field.
func RefundAmountLT(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLT(FieldRefundAmount, v))
}
// RefundAmountLTE applies the LTE predicate on the "refund_amount" field.
func RefundAmountLTE(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLTE(FieldRefundAmount, v))
}
// PayAmountEQ applies the EQ predicate on the "pay_amount" field.
func PayAmountEQ(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldPayAmount, v))
}
// PayAmountNEQ applies the NEQ predicate on the "pay_amount" field.
func PayAmountNEQ(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldPayAmount, v))
}
// PayAmountIn applies the In predicate on the "pay_amount" field.
func PayAmountIn(vs ...uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldPayAmount, vs...))
}
// PayAmountNotIn applies the NotIn predicate on the "pay_amount" field.
func PayAmountNotIn(vs ...uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldPayAmount, vs...))
}
// PayAmountGT applies the GT predicate on the "pay_amount" field.
func PayAmountGT(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGT(FieldPayAmount, v))
}
// PayAmountGTE applies the GTE predicate on the "pay_amount" field.
func PayAmountGTE(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGTE(FieldPayAmount, v))
}
// PayAmountLT applies the LT predicate on the "pay_amount" field.
func PayAmountLT(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLT(FieldPayAmount, v))
}
// PayAmountLTE applies the LTE predicate on the "pay_amount" field.
func PayAmountLTE(v uint64) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLTE(FieldPayAmount, v))
}
// RefundNoEQ applies the EQ predicate on the "refund_no" field.
func RefundNoEQ(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldRefundNo, v))
}
// RefundNoNEQ applies the NEQ predicate on the "refund_no" field.
func RefundNoNEQ(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldRefundNo, v))
}
// RefundNoIn applies the In predicate on the "refund_no" field.
func RefundNoIn(vs ...string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldRefundNo, vs...))
}
// RefundNoNotIn applies the NotIn predicate on the "refund_no" field.
func RefundNoNotIn(vs ...string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldRefundNo, vs...))
}
// RefundNoGT applies the GT predicate on the "refund_no" field.
func RefundNoGT(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGT(FieldRefundNo, v))
}
// RefundNoGTE applies the GTE predicate on the "refund_no" field.
func RefundNoGTE(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGTE(FieldRefundNo, v))
}
// RefundNoLT applies the LT predicate on the "refund_no" field.
func RefundNoLT(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLT(FieldRefundNo, v))
}
// RefundNoLTE applies the LTE predicate on the "refund_no" field.
func RefundNoLTE(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLTE(FieldRefundNo, v))
}
// RefundNoContains applies the Contains predicate on the "refund_no" field.
func RefundNoContains(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldContains(FieldRefundNo, v))
}
// RefundNoHasPrefix applies the HasPrefix predicate on the "refund_no" field.
func RefundNoHasPrefix(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldHasPrefix(FieldRefundNo, v))
}
// RefundNoHasSuffix applies the HasSuffix predicate on the "refund_no" field.
func RefundNoHasSuffix(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldHasSuffix(FieldRefundNo, v))
}
// RefundNoEqualFold applies the EqualFold predicate on the "refund_no" field.
func RefundNoEqualFold(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEqualFold(FieldRefundNo, v))
}
// RefundNoContainsFold applies the ContainsFold predicate on the "refund_no" field.
func RefundNoContainsFold(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldContainsFold(FieldRefundNo, v))
}
// RefundReasonEQ applies the EQ predicate on the "refund_reason" field.
func RefundReasonEQ(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldRefundReason, v))
}
// RefundReasonNEQ applies the NEQ predicate on the "refund_reason" field.
func RefundReasonNEQ(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldRefundReason, v))
}
// RefundReasonIn applies the In predicate on the "refund_reason" field.
func RefundReasonIn(vs ...string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldRefundReason, vs...))
}
// RefundReasonNotIn applies the NotIn predicate on the "refund_reason" field.
func RefundReasonNotIn(vs ...string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldRefundReason, vs...))
}
// RefundReasonGT applies the GT predicate on the "refund_reason" field.
func RefundReasonGT(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGT(FieldRefundReason, v))
}
// RefundReasonGTE applies the GTE predicate on the "refund_reason" field.
func RefundReasonGTE(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGTE(FieldRefundReason, v))
}
// RefundReasonLT applies the LT predicate on the "refund_reason" field.
func RefundReasonLT(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLT(FieldRefundReason, v))
}
// RefundReasonLTE applies the LTE predicate on the "refund_reason" field.
func RefundReasonLTE(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLTE(FieldRefundReason, v))
}
// RefundReasonContains applies the Contains predicate on the "refund_reason" field.
func RefundReasonContains(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldContains(FieldRefundReason, v))
}
// RefundReasonHasPrefix applies the HasPrefix predicate on the "refund_reason" field.
func RefundReasonHasPrefix(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldHasPrefix(FieldRefundReason, v))
}
// RefundReasonHasSuffix applies the HasSuffix predicate on the "refund_reason" field.
func RefundReasonHasSuffix(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldHasSuffix(FieldRefundReason, v))
}
// RefundReasonEqualFold applies the EqualFold predicate on the "refund_reason" field.
func RefundReasonEqualFold(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEqualFold(FieldRefundReason, v))
}
// RefundReasonContainsFold applies the ContainsFold predicate on the "refund_reason" field.
func RefundReasonContainsFold(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldContainsFold(FieldRefundReason, v))
}
// UserIPEQ applies the EQ predicate on the "user_ip" field.
func UserIPEQ(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldUserIP, v))
}
// UserIPNEQ applies the NEQ predicate on the "user_ip" field.
func UserIPNEQ(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldUserIP, v))
}
// UserIPIn applies the In predicate on the "user_ip" field.
func UserIPIn(vs ...string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldUserIP, vs...))
}
// UserIPNotIn applies the NotIn predicate on the "user_ip" field.
func UserIPNotIn(vs ...string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldUserIP, vs...))
}
// UserIPGT applies the GT predicate on the "user_ip" field.
func UserIPGT(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGT(FieldUserIP, v))
}
// UserIPGTE applies the GTE predicate on the "user_ip" field.
func UserIPGTE(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGTE(FieldUserIP, v))
}
// UserIPLT applies the LT predicate on the "user_ip" field.
func UserIPLT(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLT(FieldUserIP, v))
}
// UserIPLTE applies the LTE predicate on the "user_ip" field.
func UserIPLTE(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLTE(FieldUserIP, v))
}
// UserIPContains applies the Contains predicate on the "user_ip" field.
func UserIPContains(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldContains(FieldUserIP, v))
}
// UserIPHasPrefix applies the HasPrefix predicate on the "user_ip" field.
func UserIPHasPrefix(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldHasPrefix(FieldUserIP, v))
}
// UserIPHasSuffix applies the HasSuffix predicate on the "user_ip" field.
func UserIPHasSuffix(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldHasSuffix(FieldUserIP, v))
}
// UserIPIsNil applies the IsNil predicate on the "user_ip" field.
func UserIPIsNil() predicate.PayRefund {
return predicate.PayRefund(sql.FieldIsNull(FieldUserIP))
}
// UserIPNotNil applies the NotNil predicate on the "user_ip" field.
func UserIPNotNil() predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotNull(FieldUserIP))
}
// UserIPEqualFold applies the EqualFold predicate on the "user_ip" field.
func UserIPEqualFold(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEqualFold(FieldUserIP, v))
}
// UserIPContainsFold applies the ContainsFold predicate on the "user_ip" field.
func UserIPContainsFold(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldContainsFold(FieldUserIP, v))
}
// ChannelRefundNoEQ applies the EQ predicate on the "channel_refund_no" field.
func ChannelRefundNoEQ(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldChannelRefundNo, v))
}
// ChannelRefundNoNEQ applies the NEQ predicate on the "channel_refund_no" field.
func ChannelRefundNoNEQ(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldChannelRefundNo, v))
}
// ChannelRefundNoIn applies the In predicate on the "channel_refund_no" field.
func ChannelRefundNoIn(vs ...string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldChannelRefundNo, vs...))
}
// ChannelRefundNoNotIn applies the NotIn predicate on the "channel_refund_no" field.
func ChannelRefundNoNotIn(vs ...string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldChannelRefundNo, vs...))
}
// ChannelRefundNoGT applies the GT predicate on the "channel_refund_no" field.
func ChannelRefundNoGT(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGT(FieldChannelRefundNo, v))
}
// ChannelRefundNoGTE applies the GTE predicate on the "channel_refund_no" field.
func ChannelRefundNoGTE(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGTE(FieldChannelRefundNo, v))
}
// ChannelRefundNoLT applies the LT predicate on the "channel_refund_no" field.
func ChannelRefundNoLT(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLT(FieldChannelRefundNo, v))
}
// ChannelRefundNoLTE applies the LTE predicate on the "channel_refund_no" field.
func ChannelRefundNoLTE(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLTE(FieldChannelRefundNo, v))
}
// ChannelRefundNoContains applies the Contains predicate on the "channel_refund_no" field.
func ChannelRefundNoContains(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldContains(FieldChannelRefundNo, v))
}
// ChannelRefundNoHasPrefix applies the HasPrefix predicate on the "channel_refund_no" field.
func ChannelRefundNoHasPrefix(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldHasPrefix(FieldChannelRefundNo, v))
}
// ChannelRefundNoHasSuffix applies the HasSuffix predicate on the "channel_refund_no" field.
func ChannelRefundNoHasSuffix(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldHasSuffix(FieldChannelRefundNo, v))
}
// ChannelRefundNoEqualFold applies the EqualFold predicate on the "channel_refund_no" field.
func ChannelRefundNoEqualFold(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEqualFold(FieldChannelRefundNo, v))
}
// ChannelRefundNoContainsFold applies the ContainsFold predicate on the "channel_refund_no" field.
func ChannelRefundNoContainsFold(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldContainsFold(FieldChannelRefundNo, v))
}
// RefundTimeEQ applies the EQ predicate on the "refund_time" field.
func RefundTimeEQ(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldRefundTime, v))
}
// RefundTimeNEQ applies the NEQ predicate on the "refund_time" field.
func RefundTimeNEQ(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldRefundTime, v))
}
// RefundTimeIn applies the In predicate on the "refund_time" field.
func RefundTimeIn(vs ...time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldRefundTime, vs...))
}
// RefundTimeNotIn applies the NotIn predicate on the "refund_time" field.
func RefundTimeNotIn(vs ...time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldRefundTime, vs...))
}
// RefundTimeGT applies the GT predicate on the "refund_time" field.
func RefundTimeGT(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGT(FieldRefundTime, v))
}
// RefundTimeGTE applies the GTE predicate on the "refund_time" field.
func RefundTimeGTE(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGTE(FieldRefundTime, v))
}
// RefundTimeLT applies the LT predicate on the "refund_time" field.
func RefundTimeLT(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLT(FieldRefundTime, v))
}
// RefundTimeLTE applies the LTE predicate on the "refund_time" field.
func RefundTimeLTE(v time.Time) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLTE(FieldRefundTime, v))
}
// ChannelErrorCodeEQ applies the EQ predicate on the "channel_error_code" field.
func ChannelErrorCodeEQ(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldChannelErrorCode, v))
}
// ChannelErrorCodeNEQ applies the NEQ predicate on the "channel_error_code" field.
func ChannelErrorCodeNEQ(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldChannelErrorCode, v))
}
// ChannelErrorCodeIn applies the In predicate on the "channel_error_code" field.
func ChannelErrorCodeIn(vs ...string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldChannelErrorCode, vs...))
}
// ChannelErrorCodeNotIn applies the NotIn predicate on the "channel_error_code" field.
func ChannelErrorCodeNotIn(vs ...string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldChannelErrorCode, vs...))
}
// ChannelErrorCodeGT applies the GT predicate on the "channel_error_code" field.
func ChannelErrorCodeGT(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGT(FieldChannelErrorCode, v))
}
// ChannelErrorCodeGTE applies the GTE predicate on the "channel_error_code" field.
func ChannelErrorCodeGTE(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGTE(FieldChannelErrorCode, v))
}
// ChannelErrorCodeLT applies the LT predicate on the "channel_error_code" field.
func ChannelErrorCodeLT(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLT(FieldChannelErrorCode, v))
}
// ChannelErrorCodeLTE applies the LTE predicate on the "channel_error_code" field.
func ChannelErrorCodeLTE(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLTE(FieldChannelErrorCode, v))
}
// ChannelErrorCodeContains applies the Contains predicate on the "channel_error_code" field.
func ChannelErrorCodeContains(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldContains(FieldChannelErrorCode, v))
}
// ChannelErrorCodeHasPrefix applies the HasPrefix predicate on the "channel_error_code" field.
func ChannelErrorCodeHasPrefix(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldHasPrefix(FieldChannelErrorCode, v))
}
// ChannelErrorCodeHasSuffix applies the HasSuffix predicate on the "channel_error_code" field.
func ChannelErrorCodeHasSuffix(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldHasSuffix(FieldChannelErrorCode, v))
}
// ChannelErrorCodeIsNil applies the IsNil predicate on the "channel_error_code" field.
func ChannelErrorCodeIsNil() predicate.PayRefund {
return predicate.PayRefund(sql.FieldIsNull(FieldChannelErrorCode))
}
// ChannelErrorCodeNotNil applies the NotNil predicate on the "channel_error_code" field.
func ChannelErrorCodeNotNil() predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotNull(FieldChannelErrorCode))
}
// ChannelErrorCodeEqualFold applies the EqualFold predicate on the "channel_error_code" field.
func ChannelErrorCodeEqualFold(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEqualFold(FieldChannelErrorCode, v))
}
// ChannelErrorCodeContainsFold applies the ContainsFold predicate on the "channel_error_code" field.
func ChannelErrorCodeContainsFold(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldContainsFold(FieldChannelErrorCode, v))
}
// ChannelErrorMsgEQ applies the EQ predicate on the "channel_error_msg" field.
func ChannelErrorMsgEQ(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldChannelErrorMsg, v))
}
// ChannelErrorMsgNEQ applies the NEQ predicate on the "channel_error_msg" field.
func ChannelErrorMsgNEQ(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldChannelErrorMsg, v))
}
// ChannelErrorMsgIn applies the In predicate on the "channel_error_msg" field.
func ChannelErrorMsgIn(vs ...string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldChannelErrorMsg, vs...))
}
// ChannelErrorMsgNotIn applies the NotIn predicate on the "channel_error_msg" field.
func ChannelErrorMsgNotIn(vs ...string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldChannelErrorMsg, vs...))
}
// ChannelErrorMsgGT applies the GT predicate on the "channel_error_msg" field.
func ChannelErrorMsgGT(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGT(FieldChannelErrorMsg, v))
}
// ChannelErrorMsgGTE applies the GTE predicate on the "channel_error_msg" field.
func ChannelErrorMsgGTE(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGTE(FieldChannelErrorMsg, v))
}
// ChannelErrorMsgLT applies the LT predicate on the "channel_error_msg" field.
func ChannelErrorMsgLT(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLT(FieldChannelErrorMsg, v))
}
// ChannelErrorMsgLTE applies the LTE predicate on the "channel_error_msg" field.
func ChannelErrorMsgLTE(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLTE(FieldChannelErrorMsg, v))
}
// ChannelErrorMsgContains applies the Contains predicate on the "channel_error_msg" field.
func ChannelErrorMsgContains(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldContains(FieldChannelErrorMsg, v))
}
// ChannelErrorMsgHasPrefix applies the HasPrefix predicate on the "channel_error_msg" field.
func ChannelErrorMsgHasPrefix(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldHasPrefix(FieldChannelErrorMsg, v))
}
// ChannelErrorMsgHasSuffix applies the HasSuffix predicate on the "channel_error_msg" field.
func ChannelErrorMsgHasSuffix(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldHasSuffix(FieldChannelErrorMsg, v))
}
// ChannelErrorMsgIsNil applies the IsNil predicate on the "channel_error_msg" field.
func ChannelErrorMsgIsNil() predicate.PayRefund {
return predicate.PayRefund(sql.FieldIsNull(FieldChannelErrorMsg))
}
// ChannelErrorMsgNotNil applies the NotNil predicate on the "channel_error_msg" field.
func ChannelErrorMsgNotNil() predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotNull(FieldChannelErrorMsg))
}
// ChannelErrorMsgEqualFold applies the EqualFold predicate on the "channel_error_msg" field.
func ChannelErrorMsgEqualFold(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEqualFold(FieldChannelErrorMsg, v))
}
// ChannelErrorMsgContainsFold applies the ContainsFold predicate on the "channel_error_msg" field.
func ChannelErrorMsgContainsFold(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldContainsFold(FieldChannelErrorMsg, v))
}
// ChannelNotifyDataEQ applies the EQ predicate on the "channel_notify_data" field.
func ChannelNotifyDataEQ(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEQ(FieldChannelNotifyData, v))
}
// ChannelNotifyDataNEQ applies the NEQ predicate on the "channel_notify_data" field.
func ChannelNotifyDataNEQ(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNEQ(FieldChannelNotifyData, v))
}
// ChannelNotifyDataIn applies the In predicate on the "channel_notify_data" field.
func ChannelNotifyDataIn(vs ...string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldIn(FieldChannelNotifyData, vs...))
}
// ChannelNotifyDataNotIn applies the NotIn predicate on the "channel_notify_data" field.
func ChannelNotifyDataNotIn(vs ...string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotIn(FieldChannelNotifyData, vs...))
}
// ChannelNotifyDataGT applies the GT predicate on the "channel_notify_data" field.
func ChannelNotifyDataGT(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGT(FieldChannelNotifyData, v))
}
// ChannelNotifyDataGTE applies the GTE predicate on the "channel_notify_data" field.
func ChannelNotifyDataGTE(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldGTE(FieldChannelNotifyData, v))
}
// ChannelNotifyDataLT applies the LT predicate on the "channel_notify_data" field.
func ChannelNotifyDataLT(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLT(FieldChannelNotifyData, v))
}
// ChannelNotifyDataLTE applies the LTE predicate on the "channel_notify_data" field.
func ChannelNotifyDataLTE(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldLTE(FieldChannelNotifyData, v))
}
// ChannelNotifyDataContains applies the Contains predicate on the "channel_notify_data" field.
func ChannelNotifyDataContains(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldContains(FieldChannelNotifyData, v))
}
// ChannelNotifyDataHasPrefix applies the HasPrefix predicate on the "channel_notify_data" field.
func ChannelNotifyDataHasPrefix(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldHasPrefix(FieldChannelNotifyData, v))
}
// ChannelNotifyDataHasSuffix applies the HasSuffix predicate on the "channel_notify_data" field.
func ChannelNotifyDataHasSuffix(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldHasSuffix(FieldChannelNotifyData, v))
}
// ChannelNotifyDataIsNil applies the IsNil predicate on the "channel_notify_data" field.
func ChannelNotifyDataIsNil() predicate.PayRefund {
return predicate.PayRefund(sql.FieldIsNull(FieldChannelNotifyData))
}
// ChannelNotifyDataNotNil applies the NotNil predicate on the "channel_notify_data" field.
func ChannelNotifyDataNotNil() predicate.PayRefund {
return predicate.PayRefund(sql.FieldNotNull(FieldChannelNotifyData))
}
// ChannelNotifyDataEqualFold applies the EqualFold predicate on the "channel_notify_data" field.
func ChannelNotifyDataEqualFold(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldEqualFold(FieldChannelNotifyData, v))
}
// ChannelNotifyDataContainsFold applies the ContainsFold predicate on the "channel_notify_data" field.
func ChannelNotifyDataContainsFold(v string) predicate.PayRefund {
return predicate.PayRefund(sql.FieldContainsFold(FieldChannelNotifyData, v))
}
// HasOrder applies the HasEdge predicate on the "order" edge.
func HasOrder() predicate.PayRefund {
return predicate.PayRefund(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.PayRefund {
return predicate.PayRefund(func(s *sql.Selector) {
step := newOrderStep()
sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
for _, p := range preds {
p(s)
}
})
})
}
// HasChannel applies the HasEdge predicate on the "channel" edge.
func HasChannel() predicate.PayRefund {
return predicate.PayRefund(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.PayRefund {
return predicate.PayRefund(func(s *sql.Selector) {
step := newChannelStep()
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.PayRefund) predicate.PayRefund {
return predicate.PayRefund(sql.AndPredicates(predicates...))
}
// Or groups predicates with the OR operator between them.
func Or(predicates ...predicate.PayRefund) predicate.PayRefund {
return predicate.PayRefund(sql.OrPredicates(predicates...))
}
// Not applies the not operator on the given predicate.
func Not(p predicate.PayRefund) predicate.PayRefund {
return predicate.PayRefund(sql.NotPredicates(p))
}