proxysubscriberebateconfig

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the proxysubscriberebateconfig type in the database.
	Label = "proxy_subscribe_rebate_config"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldSubscribeID holds the string denoting the subscribe_id field in the database.
	FieldSubscribeID = "subscribe_id"
	// FieldPriceOptionID holds the string denoting the price_option_id field in the database.
	FieldPriceOptionID = "price_option_id"
	// FieldReferralPercentage holds the string denoting the referral_percentage field in the database.
	FieldReferralPercentage = "referral_percentage"
	// FieldEnabled holds the string denoting the enabled field in the database.
	FieldEnabled = "enabled"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// Table holds the table name of the proxysubscriberebateconfig in the database.
	Table = "subscribe_rebate_config"
)

Variables

View Source
var (
	// DefaultPriceOptionID holds the default value on creation for the "price_option_id" field.
	DefaultPriceOptionID int64
	// DefaultReferralPercentage holds the default value on creation for the "referral_percentage" field.
	DefaultReferralPercentage int8
	// DefaultEnabled holds the default value on creation for the "enabled" field.
	DefaultEnabled bool
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// IDValidator is a validator for the "id" field. It is called by the builders before save.
	IDValidator func(int64) error
)

Columns holds all SQL columns for proxysubscriberebateconfig fields.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.ProxySubscribeRebateConfig

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.ProxySubscribeRebateConfig

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func Enabled

Enabled applies equality check predicate on the "enabled" field. It's identical to EnabledEQ.

func EnabledEQ

EnabledEQ applies the EQ predicate on the "enabled" field.

func EnabledNEQ

EnabledNEQ applies the NEQ predicate on the "enabled" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func PriceOptionID

PriceOptionID applies equality check predicate on the "price_option_id" field. It's identical to PriceOptionIDEQ.

func PriceOptionIDEQ

func PriceOptionIDEQ(v int64) predicate.ProxySubscribeRebateConfig

PriceOptionIDEQ applies the EQ predicate on the "price_option_id" field.

func PriceOptionIDGT

func PriceOptionIDGT(v int64) predicate.ProxySubscribeRebateConfig

PriceOptionIDGT applies the GT predicate on the "price_option_id" field.

func PriceOptionIDGTE

func PriceOptionIDGTE(v int64) predicate.ProxySubscribeRebateConfig

PriceOptionIDGTE applies the GTE predicate on the "price_option_id" field.

func PriceOptionIDIn

func PriceOptionIDIn(vs ...int64) predicate.ProxySubscribeRebateConfig

PriceOptionIDIn applies the In predicate on the "price_option_id" field.

func PriceOptionIDLT

func PriceOptionIDLT(v int64) predicate.ProxySubscribeRebateConfig

PriceOptionIDLT applies the LT predicate on the "price_option_id" field.

func PriceOptionIDLTE

func PriceOptionIDLTE(v int64) predicate.ProxySubscribeRebateConfig

PriceOptionIDLTE applies the LTE predicate on the "price_option_id" field.

func PriceOptionIDNEQ

func PriceOptionIDNEQ(v int64) predicate.ProxySubscribeRebateConfig

PriceOptionIDNEQ applies the NEQ predicate on the "price_option_id" field.

func PriceOptionIDNotIn

func PriceOptionIDNotIn(vs ...int64) predicate.ProxySubscribeRebateConfig

PriceOptionIDNotIn applies the NotIn predicate on the "price_option_id" field.

func ReferralPercentage

func ReferralPercentage(v int8) predicate.ProxySubscribeRebateConfig

ReferralPercentage applies equality check predicate on the "referral_percentage" field. It's identical to ReferralPercentageEQ.

func ReferralPercentageEQ

func ReferralPercentageEQ(v int8) predicate.ProxySubscribeRebateConfig

ReferralPercentageEQ applies the EQ predicate on the "referral_percentage" field.

func ReferralPercentageGT

func ReferralPercentageGT(v int8) predicate.ProxySubscribeRebateConfig

ReferralPercentageGT applies the GT predicate on the "referral_percentage" field.

func ReferralPercentageGTE

func ReferralPercentageGTE(v int8) predicate.ProxySubscribeRebateConfig

ReferralPercentageGTE applies the GTE predicate on the "referral_percentage" field.

func ReferralPercentageIn

func ReferralPercentageIn(vs ...int8) predicate.ProxySubscribeRebateConfig

ReferralPercentageIn applies the In predicate on the "referral_percentage" field.

func ReferralPercentageLT

func ReferralPercentageLT(v int8) predicate.ProxySubscribeRebateConfig

ReferralPercentageLT applies the LT predicate on the "referral_percentage" field.

func ReferralPercentageLTE

func ReferralPercentageLTE(v int8) predicate.ProxySubscribeRebateConfig

ReferralPercentageLTE applies the LTE predicate on the "referral_percentage" field.

func ReferralPercentageNEQ

func ReferralPercentageNEQ(v int8) predicate.ProxySubscribeRebateConfig

ReferralPercentageNEQ applies the NEQ predicate on the "referral_percentage" field.

func ReferralPercentageNotIn

func ReferralPercentageNotIn(vs ...int8) predicate.ProxySubscribeRebateConfig

ReferralPercentageNotIn applies the NotIn predicate on the "referral_percentage" field.

func SubscribeID

SubscribeID applies equality check predicate on the "subscribe_id" field. It's identical to SubscribeIDEQ.

func SubscribeIDEQ

SubscribeIDEQ applies the EQ predicate on the "subscribe_id" field.

func SubscribeIDGT

SubscribeIDGT applies the GT predicate on the "subscribe_id" field.

func SubscribeIDGTE

func SubscribeIDGTE(v int64) predicate.ProxySubscribeRebateConfig

SubscribeIDGTE applies the GTE predicate on the "subscribe_id" field.

func SubscribeIDIn

func SubscribeIDIn(vs ...int64) predicate.ProxySubscribeRebateConfig

SubscribeIDIn applies the In predicate on the "subscribe_id" field.

func SubscribeIDLT

SubscribeIDLT applies the LT predicate on the "subscribe_id" field.

func SubscribeIDLTE

func SubscribeIDLTE(v int64) predicate.ProxySubscribeRebateConfig

SubscribeIDLTE applies the LTE predicate on the "subscribe_id" field.

func SubscribeIDNEQ

func SubscribeIDNEQ(v int64) predicate.ProxySubscribeRebateConfig

SubscribeIDNEQ applies the NEQ predicate on the "subscribe_id" field.

func SubscribeIDNotIn

func SubscribeIDNotIn(vs ...int64) predicate.ProxySubscribeRebateConfig

SubscribeIDNotIn applies the NotIn predicate on the "subscribe_id" field.

func UpdatedAt

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.ProxySubscribeRebateConfig

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.ProxySubscribeRebateConfig

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ProxySubscribeRebateConfig queries.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByEnabled

func ByEnabled(opts ...sql.OrderTermOption) OrderOption

ByEnabled orders the results by the enabled field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByPriceOptionID

func ByPriceOptionID(opts ...sql.OrderTermOption) OrderOption

ByPriceOptionID orders the results by the price_option_id field.

func ByReferralPercentage

func ByReferralPercentage(opts ...sql.OrderTermOption) OrderOption

ByReferralPercentage orders the results by the referral_percentage field.

func BySubscribeID

func BySubscribeID(opts ...sql.OrderTermOption) OrderOption

BySubscribeID orders the results by the subscribe_id field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL