proxysubscribepriceoption

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the proxysubscribepriceoption type in the database.
	Label = "proxy_subscribe_price_option"
	// 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"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldDurationUnit holds the string denoting the duration_unit field in the database.
	FieldDurationUnit = "duration_unit"
	// FieldDurationValue holds the string denoting the duration_value field in the database.
	FieldDurationValue = "duration_value"
	// FieldPrice holds the string denoting the price field in the database.
	FieldPrice = "price"
	// FieldOriginalPrice holds the string denoting the original_price field in the database.
	FieldOriginalPrice = "original_price"
	// FieldInventory holds the string denoting the inventory field in the database.
	FieldInventory = "inventory"
	// FieldShow holds the string denoting the show field in the database.
	FieldShow = "show"
	// FieldSell holds the string denoting the sell field in the database.
	FieldSell = "sell"
	// FieldIsDefault holds the string denoting the is_default field in the database.
	FieldIsDefault = "is_default"
	// FieldSort holds the string denoting the sort field in the database.
	FieldSort = "sort"
	// 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 proxysubscribepriceoption in the database.
	Table = "subscribe_price_option"
)

Variables

View Source
var (
	// DefaultName holds the default value on creation for the "name" field.
	DefaultName string
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// DefaultDurationUnit holds the default value on creation for the "duration_unit" field.
	DefaultDurationUnit string
	// DurationUnitValidator is a validator for the "duration_unit" field. It is called by the builders before save.
	DurationUnitValidator func(string) error
	// DefaultDurationValue holds the default value on creation for the "duration_value" field.
	DefaultDurationValue int64
	// DefaultPrice holds the default value on creation for the "price" field.
	DefaultPrice int64
	// DefaultOriginalPrice holds the default value on creation for the "original_price" field.
	DefaultOriginalPrice int64
	// DefaultInventory holds the default value on creation for the "inventory" field.
	DefaultInventory int32
	// DefaultShow holds the default value on creation for the "show" field.
	DefaultShow bool
	// DefaultSell holds the default value on creation for the "sell" field.
	DefaultSell bool
	// DefaultIsDefault holds the default value on creation for the "is_default" field.
	DefaultIsDefault bool
	// DefaultSort holds the default value on creation for the "sort" field.
	DefaultSort int32
	// 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 proxysubscribepriceoption 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.ProxySubscribePriceOption

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.ProxySubscribePriceOption

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

func DurationUnit

DurationUnit applies equality check predicate on the "duration_unit" field. It's identical to DurationUnitEQ.

func DurationUnitContains

func DurationUnitContains(v string) predicate.ProxySubscribePriceOption

DurationUnitContains applies the Contains predicate on the "duration_unit" field.

func DurationUnitContainsFold

func DurationUnitContainsFold(v string) predicate.ProxySubscribePriceOption

DurationUnitContainsFold applies the ContainsFold predicate on the "duration_unit" field.

func DurationUnitEQ

func DurationUnitEQ(v string) predicate.ProxySubscribePriceOption

DurationUnitEQ applies the EQ predicate on the "duration_unit" field.

func DurationUnitEqualFold

func DurationUnitEqualFold(v string) predicate.ProxySubscribePriceOption

DurationUnitEqualFold applies the EqualFold predicate on the "duration_unit" field.

func DurationUnitGT

func DurationUnitGT(v string) predicate.ProxySubscribePriceOption

DurationUnitGT applies the GT predicate on the "duration_unit" field.

func DurationUnitGTE

func DurationUnitGTE(v string) predicate.ProxySubscribePriceOption

DurationUnitGTE applies the GTE predicate on the "duration_unit" field.

func DurationUnitHasPrefix

func DurationUnitHasPrefix(v string) predicate.ProxySubscribePriceOption

DurationUnitHasPrefix applies the HasPrefix predicate on the "duration_unit" field.

func DurationUnitHasSuffix

func DurationUnitHasSuffix(v string) predicate.ProxySubscribePriceOption

DurationUnitHasSuffix applies the HasSuffix predicate on the "duration_unit" field.

func DurationUnitIn

func DurationUnitIn(vs ...string) predicate.ProxySubscribePriceOption

DurationUnitIn applies the In predicate on the "duration_unit" field.

func DurationUnitLT

func DurationUnitLT(v string) predicate.ProxySubscribePriceOption

DurationUnitLT applies the LT predicate on the "duration_unit" field.

func DurationUnitLTE

func DurationUnitLTE(v string) predicate.ProxySubscribePriceOption

DurationUnitLTE applies the LTE predicate on the "duration_unit" field.

func DurationUnitNEQ

func DurationUnitNEQ(v string) predicate.ProxySubscribePriceOption

DurationUnitNEQ applies the NEQ predicate on the "duration_unit" field.

func DurationUnitNotIn

func DurationUnitNotIn(vs ...string) predicate.ProxySubscribePriceOption

DurationUnitNotIn applies the NotIn predicate on the "duration_unit" field.

func DurationValue

func DurationValue(v int64) predicate.ProxySubscribePriceOption

DurationValue applies equality check predicate on the "duration_value" field. It's identical to DurationValueEQ.

func DurationValueEQ

func DurationValueEQ(v int64) predicate.ProxySubscribePriceOption

DurationValueEQ applies the EQ predicate on the "duration_value" field.

func DurationValueGT

func DurationValueGT(v int64) predicate.ProxySubscribePriceOption

DurationValueGT applies the GT predicate on the "duration_value" field.

func DurationValueGTE

func DurationValueGTE(v int64) predicate.ProxySubscribePriceOption

DurationValueGTE applies the GTE predicate on the "duration_value" field.

func DurationValueIn

func DurationValueIn(vs ...int64) predicate.ProxySubscribePriceOption

DurationValueIn applies the In predicate on the "duration_value" field.

func DurationValueLT

func DurationValueLT(v int64) predicate.ProxySubscribePriceOption

DurationValueLT applies the LT predicate on the "duration_value" field.

func DurationValueLTE

func DurationValueLTE(v int64) predicate.ProxySubscribePriceOption

DurationValueLTE applies the LTE predicate on the "duration_value" field.

func DurationValueNEQ

func DurationValueNEQ(v int64) predicate.ProxySubscribePriceOption

DurationValueNEQ applies the NEQ predicate on the "duration_value" field.

func DurationValueNotIn

func DurationValueNotIn(vs ...int64) predicate.ProxySubscribePriceOption

DurationValueNotIn applies the NotIn predicate on the "duration_value" 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 Inventory

Inventory applies equality check predicate on the "inventory" field. It's identical to InventoryEQ.

func InventoryEQ

InventoryEQ applies the EQ predicate on the "inventory" field.

func InventoryGT

InventoryGT applies the GT predicate on the "inventory" field.

func InventoryGTE

InventoryGTE applies the GTE predicate on the "inventory" field.

func InventoryIn

func InventoryIn(vs ...int32) predicate.ProxySubscribePriceOption

InventoryIn applies the In predicate on the "inventory" field.

func InventoryLT

InventoryLT applies the LT predicate on the "inventory" field.

func InventoryLTE

InventoryLTE applies the LTE predicate on the "inventory" field.

func InventoryNEQ

InventoryNEQ applies the NEQ predicate on the "inventory" field.

func InventoryNotIn

func InventoryNotIn(vs ...int32) predicate.ProxySubscribePriceOption

InventoryNotIn applies the NotIn predicate on the "inventory" field.

func IsDefault

IsDefault applies equality check predicate on the "is_default" field. It's identical to IsDefaultEQ.

func IsDefaultEQ

IsDefaultEQ applies the EQ predicate on the "is_default" field.

func IsDefaultNEQ

IsDefaultNEQ applies the NEQ predicate on the "is_default" field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.ProxySubscribePriceOption

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

NameGT applies the GT predicate on the "name" field.

func NameGTE

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

NameIn applies the In predicate on the "name" field.

func NameLT

NameLT applies the LT predicate on the "name" field.

func NameLTE

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func OriginalPrice

func OriginalPrice(v int64) predicate.ProxySubscribePriceOption

OriginalPrice applies equality check predicate on the "original_price" field. It's identical to OriginalPriceEQ.

func OriginalPriceEQ

func OriginalPriceEQ(v int64) predicate.ProxySubscribePriceOption

OriginalPriceEQ applies the EQ predicate on the "original_price" field.

func OriginalPriceGT

func OriginalPriceGT(v int64) predicate.ProxySubscribePriceOption

OriginalPriceGT applies the GT predicate on the "original_price" field.

func OriginalPriceGTE

func OriginalPriceGTE(v int64) predicate.ProxySubscribePriceOption

OriginalPriceGTE applies the GTE predicate on the "original_price" field.

func OriginalPriceIn

func OriginalPriceIn(vs ...int64) predicate.ProxySubscribePriceOption

OriginalPriceIn applies the In predicate on the "original_price" field.

func OriginalPriceLT

func OriginalPriceLT(v int64) predicate.ProxySubscribePriceOption

OriginalPriceLT applies the LT predicate on the "original_price" field.

func OriginalPriceLTE

func OriginalPriceLTE(v int64) predicate.ProxySubscribePriceOption

OriginalPriceLTE applies the LTE predicate on the "original_price" field.

func OriginalPriceNEQ

func OriginalPriceNEQ(v int64) predicate.ProxySubscribePriceOption

OriginalPriceNEQ applies the NEQ predicate on the "original_price" field.

func OriginalPriceNotIn

func OriginalPriceNotIn(vs ...int64) predicate.ProxySubscribePriceOption

OriginalPriceNotIn applies the NotIn predicate on the "original_price" field.

func Price

Price applies equality check predicate on the "price" field. It's identical to PriceEQ.

func PriceEQ

PriceEQ applies the EQ predicate on the "price" field.

func PriceGT

PriceGT applies the GT predicate on the "price" field.

func PriceGTE

PriceGTE applies the GTE predicate on the "price" field.

func PriceIn

PriceIn applies the In predicate on the "price" field.

func PriceLT

PriceLT applies the LT predicate on the "price" field.

func PriceLTE

PriceLTE applies the LTE predicate on the "price" field.

func PriceNEQ

PriceNEQ applies the NEQ predicate on the "price" field.

func PriceNotIn

func PriceNotIn(vs ...int64) predicate.ProxySubscribePriceOption

PriceNotIn applies the NotIn predicate on the "price" field.

func Sell

Sell applies equality check predicate on the "sell" field. It's identical to SellEQ.

func SellEQ

SellEQ applies the EQ predicate on the "sell" field.

func SellNEQ

SellNEQ applies the NEQ predicate on the "sell" field.

func Show

Show applies equality check predicate on the "show" field. It's identical to ShowEQ.

func ShowEQ

ShowEQ applies the EQ predicate on the "show" field.

func ShowNEQ

ShowNEQ applies the NEQ predicate on the "show" field.

func Sort

Sort applies equality check predicate on the "sort" field. It's identical to SortEQ.

func SortEQ

SortEQ applies the EQ predicate on the "sort" field.

func SortGT

SortGT applies the GT predicate on the "sort" field.

func SortGTE

SortGTE applies the GTE predicate on the "sort" field.

func SortIn

SortIn applies the In predicate on the "sort" field.

func SortLT

SortLT applies the LT predicate on the "sort" field.

func SortLTE

SortLTE applies the LTE predicate on the "sort" field.

func SortNEQ

SortNEQ applies the NEQ predicate on the "sort" field.

func SortNotIn

func SortNotIn(vs ...int32) predicate.ProxySubscribePriceOption

SortNotIn applies the NotIn predicate on the "sort" field.

func SubscribeID

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

func SubscribeIDEQ

func SubscribeIDEQ(v int64) predicate.ProxySubscribePriceOption

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

func SubscribeIDGT

func SubscribeIDGT(v int64) predicate.ProxySubscribePriceOption

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

func SubscribeIDGTE

func SubscribeIDGTE(v int64) predicate.ProxySubscribePriceOption

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

func SubscribeIDIn

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

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

func SubscribeIDLT

func SubscribeIDLT(v int64) predicate.ProxySubscribePriceOption

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

func SubscribeIDLTE

func SubscribeIDLTE(v int64) predicate.ProxySubscribePriceOption

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

func SubscribeIDNEQ

func SubscribeIDNEQ(v int64) predicate.ProxySubscribePriceOption

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

func SubscribeIDNotIn

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

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.ProxySubscribePriceOption

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.ProxySubscribePriceOption

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 ProxySubscribePriceOption queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDurationUnit

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

ByDurationUnit orders the results by the duration_unit field.

func ByDurationValue

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

ByDurationValue orders the results by the duration_value field.

func ByID

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

ByID orders the results by the id field.

func ByInventory

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

ByInventory orders the results by the inventory field.

func ByIsDefault

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

ByIsDefault orders the results by the is_default field.

func ByName

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

ByName orders the results by the name field.

func ByOriginalPrice

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

ByOriginalPrice orders the results by the original_price field.

func ByPrice

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

ByPrice orders the results by the price field.

func BySell

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

BySell orders the results by the sell field.

func ByShow

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

ByShow orders the results by the show field.

func BySort

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

BySort orders the results by the sort 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