Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProxyRechargePromotion) predicate.ProxyRechargePromotion
- func CreatedAt(v time.Time) predicate.ProxyRechargePromotion
- func CreatedAtEQ(v time.Time) predicate.ProxyRechargePromotion
- func CreatedAtGT(v time.Time) predicate.ProxyRechargePromotion
- func CreatedAtGTE(v time.Time) predicate.ProxyRechargePromotion
- func CreatedAtIn(vs ...time.Time) predicate.ProxyRechargePromotion
- func CreatedAtLT(v time.Time) predicate.ProxyRechargePromotion
- func CreatedAtLTE(v time.Time) predicate.ProxyRechargePromotion
- func CreatedAtNEQ(v time.Time) predicate.ProxyRechargePromotion
- func CreatedAtNotIn(vs ...time.Time) predicate.ProxyRechargePromotion
- func CustomBonusEnabled(v bool) predicate.ProxyRechargePromotion
- func CustomBonusEnabledEQ(v bool) predicate.ProxyRechargePromotion
- func CustomBonusEnabledNEQ(v bool) predicate.ProxyRechargePromotion
- func CustomBonusPercent(v int32) predicate.ProxyRechargePromotion
- func CustomBonusPercentEQ(v int32) predicate.ProxyRechargePromotion
- func CustomBonusPercentGT(v int32) predicate.ProxyRechargePromotion
- func CustomBonusPercentGTE(v int32) predicate.ProxyRechargePromotion
- func CustomBonusPercentIn(vs ...int32) predicate.ProxyRechargePromotion
- func CustomBonusPercentLT(v int32) predicate.ProxyRechargePromotion
- func CustomBonusPercentLTE(v int32) predicate.ProxyRechargePromotion
- func CustomBonusPercentNEQ(v int32) predicate.ProxyRechargePromotion
- func CustomBonusPercentNotIn(vs ...int32) predicate.ProxyRechargePromotion
- func Description(v string) predicate.ProxyRechargePromotion
- func DescriptionContains(v string) predicate.ProxyRechargePromotion
- func DescriptionContainsFold(v string) predicate.ProxyRechargePromotion
- func DescriptionEQ(v string) predicate.ProxyRechargePromotion
- func DescriptionEqualFold(v string) predicate.ProxyRechargePromotion
- func DescriptionGT(v string) predicate.ProxyRechargePromotion
- func DescriptionGTE(v string) predicate.ProxyRechargePromotion
- func DescriptionHasPrefix(v string) predicate.ProxyRechargePromotion
- func DescriptionHasSuffix(v string) predicate.ProxyRechargePromotion
- func DescriptionIn(vs ...string) predicate.ProxyRechargePromotion
- func DescriptionLT(v string) predicate.ProxyRechargePromotion
- func DescriptionLTE(v string) predicate.ProxyRechargePromotion
- func DescriptionNEQ(v string) predicate.ProxyRechargePromotion
- func DescriptionNotIn(vs ...string) predicate.ProxyRechargePromotion
- func EndTime(v int64) predicate.ProxyRechargePromotion
- func EndTimeEQ(v int64) predicate.ProxyRechargePromotion
- func EndTimeGT(v int64) predicate.ProxyRechargePromotion
- func EndTimeGTE(v int64) predicate.ProxyRechargePromotion
- func EndTimeIn(vs ...int64) predicate.ProxyRechargePromotion
- func EndTimeLT(v int64) predicate.ProxyRechargePromotion
- func EndTimeLTE(v int64) predicate.ProxyRechargePromotion
- func EndTimeNEQ(v int64) predicate.ProxyRechargePromotion
- func EndTimeNotIn(vs ...int64) predicate.ProxyRechargePromotion
- func HasTiers() predicate.ProxyRechargePromotion
- func HasTiersWith(preds ...predicate.ProxyRechargePromotionTier) predicate.ProxyRechargePromotion
- func ID(id int64) predicate.ProxyRechargePromotion
- func IDEQ(id int64) predicate.ProxyRechargePromotion
- func IDGT(id int64) predicate.ProxyRechargePromotion
- func IDGTE(id int64) predicate.ProxyRechargePromotion
- func IDIn(ids ...int64) predicate.ProxyRechargePromotion
- func IDLT(id int64) predicate.ProxyRechargePromotion
- func IDLTE(id int64) predicate.ProxyRechargePromotion
- func IDNEQ(id int64) predicate.ProxyRechargePromotion
- func IDNotIn(ids ...int64) predicate.ProxyRechargePromotion
- func Name(v string) predicate.ProxyRechargePromotion
- func NameContains(v string) predicate.ProxyRechargePromotion
- func NameContainsFold(v string) predicate.ProxyRechargePromotion
- func NameEQ(v string) predicate.ProxyRechargePromotion
- func NameEqualFold(v string) predicate.ProxyRechargePromotion
- func NameGT(v string) predicate.ProxyRechargePromotion
- func NameGTE(v string) predicate.ProxyRechargePromotion
- func NameHasPrefix(v string) predicate.ProxyRechargePromotion
- func NameHasSuffix(v string) predicate.ProxyRechargePromotion
- func NameIn(vs ...string) predicate.ProxyRechargePromotion
- func NameLT(v string) predicate.ProxyRechargePromotion
- func NameLTE(v string) predicate.ProxyRechargePromotion
- func NameNEQ(v string) predicate.ProxyRechargePromotion
- func NameNotIn(vs ...string) predicate.ProxyRechargePromotion
- func Not(p predicate.ProxyRechargePromotion) predicate.ProxyRechargePromotion
- func Or(predicates ...predicate.ProxyRechargePromotion) predicate.ProxyRechargePromotion
- func Priority(v int32) predicate.ProxyRechargePromotion
- func PriorityEQ(v int32) predicate.ProxyRechargePromotion
- func PriorityGT(v int32) predicate.ProxyRechargePromotion
- func PriorityGTE(v int32) predicate.ProxyRechargePromotion
- func PriorityIn(vs ...int32) predicate.ProxyRechargePromotion
- func PriorityLT(v int32) predicate.ProxyRechargePromotion
- func PriorityLTE(v int32) predicate.ProxyRechargePromotion
- func PriorityNEQ(v int32) predicate.ProxyRechargePromotion
- func PriorityNotIn(vs ...int32) predicate.ProxyRechargePromotion
- func Sort(v int32) predicate.ProxyRechargePromotion
- func SortEQ(v int32) predicate.ProxyRechargePromotion
- func SortGT(v int32) predicate.ProxyRechargePromotion
- func SortGTE(v int32) predicate.ProxyRechargePromotion
- func SortIn(vs ...int32) predicate.ProxyRechargePromotion
- func SortLT(v int32) predicate.ProxyRechargePromotion
- func SortLTE(v int32) predicate.ProxyRechargePromotion
- func SortNEQ(v int32) predicate.ProxyRechargePromotion
- func SortNotIn(vs ...int32) predicate.ProxyRechargePromotion
- func StackMode(v int8) predicate.ProxyRechargePromotion
- func StackModeEQ(v int8) predicate.ProxyRechargePromotion
- func StackModeGT(v int8) predicate.ProxyRechargePromotion
- func StackModeGTE(v int8) predicate.ProxyRechargePromotion
- func StackModeIn(vs ...int8) predicate.ProxyRechargePromotion
- func StackModeLT(v int8) predicate.ProxyRechargePromotion
- func StackModeLTE(v int8) predicate.ProxyRechargePromotion
- func StackModeNEQ(v int8) predicate.ProxyRechargePromotion
- func StackModeNotIn(vs ...int8) predicate.ProxyRechargePromotion
- func StartTime(v int64) predicate.ProxyRechargePromotion
- func StartTimeEQ(v int64) predicate.ProxyRechargePromotion
- func StartTimeGT(v int64) predicate.ProxyRechargePromotion
- func StartTimeGTE(v int64) predicate.ProxyRechargePromotion
- func StartTimeIn(vs ...int64) predicate.ProxyRechargePromotion
- func StartTimeLT(v int64) predicate.ProxyRechargePromotion
- func StartTimeLTE(v int64) predicate.ProxyRechargePromotion
- func StartTimeNEQ(v int64) predicate.ProxyRechargePromotion
- func StartTimeNotIn(vs ...int64) predicate.ProxyRechargePromotion
- func Status(v bool) predicate.ProxyRechargePromotion
- func StatusEQ(v bool) predicate.ProxyRechargePromotion
- func StatusNEQ(v bool) predicate.ProxyRechargePromotion
- func UpdatedAt(v time.Time) predicate.ProxyRechargePromotion
- func UpdatedAtEQ(v time.Time) predicate.ProxyRechargePromotion
- func UpdatedAtGT(v time.Time) predicate.ProxyRechargePromotion
- func UpdatedAtGTE(v time.Time) predicate.ProxyRechargePromotion
- func UpdatedAtIn(vs ...time.Time) predicate.ProxyRechargePromotion
- func UpdatedAtLT(v time.Time) predicate.ProxyRechargePromotion
- func UpdatedAtLTE(v time.Time) predicate.ProxyRechargePromotion
- func UpdatedAtNEQ(v time.Time) predicate.ProxyRechargePromotion
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProxyRechargePromotion
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCustomBonusEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByCustomBonusPercent(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByEndTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByPriority(opts ...sql.OrderTermOption) OrderOption
- func BySort(opts ...sql.OrderTermOption) OrderOption
- func ByStackMode(opts ...sql.OrderTermOption) OrderOption
- func ByStartTime(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTiers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTiersCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the proxyrechargepromotion type in the database. Label = "proxy_recharge_promotion" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldStartTime holds the string denoting the start_time field in the database. FieldStartTime = "start_time" // FieldEndTime holds the string denoting the end_time field in the database. FieldEndTime = "end_time" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldPriority holds the string denoting the priority field in the database. FieldPriority = "priority" // FieldStackMode holds the string denoting the stack_mode field in the database. FieldStackMode = "stack_mode" // FieldCustomBonusEnabled holds the string denoting the custom_bonus_enabled field in the database. FieldCustomBonusEnabled = "custom_bonus_enabled" // FieldCustomBonusPercent holds the string denoting the custom_bonus_percent field in the database. FieldCustomBonusPercent = "custom_bonus_percent" // 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" // EdgeTiers holds the string denoting the tiers edge name in mutations. EdgeTiers = "tiers" // Table holds the table name of the proxyrechargepromotion in the database. Table = "recharge_promotion" // TiersTable is the table that holds the tiers relation/edge. TiersTable = "recharge_promotion_tier" // TiersInverseTable is the table name for the ProxyRechargePromotionTier entity. // It exists in this package in order to avoid circular dependency with the "proxyrechargepromotiontier" package. TiersInverseTable = "recharge_promotion_tier" // TiersColumn is the table column denoting the tiers relation/edge. TiersColumn = "promotion_id" )
Variables ¶
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultDescription holds the default value on creation for the "description" field. DefaultDescription string // DefaultStartTime holds the default value on creation for the "start_time" field. DefaultStartTime int64 // DefaultEndTime holds the default value on creation for the "end_time" field. DefaultEndTime int64 // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus bool // DefaultPriority holds the default value on creation for the "priority" field. DefaultPriority int32 // DefaultStackMode holds the default value on creation for the "stack_mode" field. DefaultStackMode int8 // DefaultCustomBonusEnabled holds the default value on creation for the "custom_bonus_enabled" field. DefaultCustomBonusEnabled bool // DefaultCustomBonusPercent holds the default value on creation for the "custom_bonus_percent" field. DefaultCustomBonusPercent int32 // 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 )
var Columns = []string{ FieldID, FieldName, FieldDescription, FieldStartTime, FieldEndTime, FieldStatus, FieldPriority, FieldStackMode, FieldCustomBonusEnabled, FieldCustomBonusPercent, FieldSort, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for proxyrechargepromotion fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ProxyRechargePromotion) predicate.ProxyRechargePromotion
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProxyRechargePromotion
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProxyRechargePromotion
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProxyRechargePromotion
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProxyRechargePromotion
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProxyRechargePromotion
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProxyRechargePromotion
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProxyRechargePromotion
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProxyRechargePromotion
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProxyRechargePromotion
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CustomBonusEnabled ¶
func CustomBonusEnabled(v bool) predicate.ProxyRechargePromotion
CustomBonusEnabled applies equality check predicate on the "custom_bonus_enabled" field. It's identical to CustomBonusEnabledEQ.
func CustomBonusEnabledEQ ¶
func CustomBonusEnabledEQ(v bool) predicate.ProxyRechargePromotion
CustomBonusEnabledEQ applies the EQ predicate on the "custom_bonus_enabled" field.
func CustomBonusEnabledNEQ ¶
func CustomBonusEnabledNEQ(v bool) predicate.ProxyRechargePromotion
CustomBonusEnabledNEQ applies the NEQ predicate on the "custom_bonus_enabled" field.
func CustomBonusPercent ¶
func CustomBonusPercent(v int32) predicate.ProxyRechargePromotion
CustomBonusPercent applies equality check predicate on the "custom_bonus_percent" field. It's identical to CustomBonusPercentEQ.
func CustomBonusPercentEQ ¶
func CustomBonusPercentEQ(v int32) predicate.ProxyRechargePromotion
CustomBonusPercentEQ applies the EQ predicate on the "custom_bonus_percent" field.
func CustomBonusPercentGT ¶
func CustomBonusPercentGT(v int32) predicate.ProxyRechargePromotion
CustomBonusPercentGT applies the GT predicate on the "custom_bonus_percent" field.
func CustomBonusPercentGTE ¶
func CustomBonusPercentGTE(v int32) predicate.ProxyRechargePromotion
CustomBonusPercentGTE applies the GTE predicate on the "custom_bonus_percent" field.
func CustomBonusPercentIn ¶
func CustomBonusPercentIn(vs ...int32) predicate.ProxyRechargePromotion
CustomBonusPercentIn applies the In predicate on the "custom_bonus_percent" field.
func CustomBonusPercentLT ¶
func CustomBonusPercentLT(v int32) predicate.ProxyRechargePromotion
CustomBonusPercentLT applies the LT predicate on the "custom_bonus_percent" field.
func CustomBonusPercentLTE ¶
func CustomBonusPercentLTE(v int32) predicate.ProxyRechargePromotion
CustomBonusPercentLTE applies the LTE predicate on the "custom_bonus_percent" field.
func CustomBonusPercentNEQ ¶
func CustomBonusPercentNEQ(v int32) predicate.ProxyRechargePromotion
CustomBonusPercentNEQ applies the NEQ predicate on the "custom_bonus_percent" field.
func CustomBonusPercentNotIn ¶
func CustomBonusPercentNotIn(vs ...int32) predicate.ProxyRechargePromotion
CustomBonusPercentNotIn applies the NotIn predicate on the "custom_bonus_percent" field.
func Description ¶
func Description(v string) predicate.ProxyRechargePromotion
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.ProxyRechargePromotion
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.ProxyRechargePromotion
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.ProxyRechargePromotion
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.ProxyRechargePromotion
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.ProxyRechargePromotion
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.ProxyRechargePromotion
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.ProxyRechargePromotion
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.ProxyRechargePromotion
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.ProxyRechargePromotion
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.ProxyRechargePromotion
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.ProxyRechargePromotion
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.ProxyRechargePromotion
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.ProxyRechargePromotion
DescriptionNotIn applies the NotIn predicate on the "description" field.
func EndTime ¶
func EndTime(v int64) predicate.ProxyRechargePromotion
EndTime applies equality check predicate on the "end_time" field. It's identical to EndTimeEQ.
func EndTimeEQ ¶
func EndTimeEQ(v int64) predicate.ProxyRechargePromotion
EndTimeEQ applies the EQ predicate on the "end_time" field.
func EndTimeGT ¶
func EndTimeGT(v int64) predicate.ProxyRechargePromotion
EndTimeGT applies the GT predicate on the "end_time" field.
func EndTimeGTE ¶
func EndTimeGTE(v int64) predicate.ProxyRechargePromotion
EndTimeGTE applies the GTE predicate on the "end_time" field.
func EndTimeIn ¶
func EndTimeIn(vs ...int64) predicate.ProxyRechargePromotion
EndTimeIn applies the In predicate on the "end_time" field.
func EndTimeLT ¶
func EndTimeLT(v int64) predicate.ProxyRechargePromotion
EndTimeLT applies the LT predicate on the "end_time" field.
func EndTimeLTE ¶
func EndTimeLTE(v int64) predicate.ProxyRechargePromotion
EndTimeLTE applies the LTE predicate on the "end_time" field.
func EndTimeNEQ ¶
func EndTimeNEQ(v int64) predicate.ProxyRechargePromotion
EndTimeNEQ applies the NEQ predicate on the "end_time" field.
func EndTimeNotIn ¶
func EndTimeNotIn(vs ...int64) predicate.ProxyRechargePromotion
EndTimeNotIn applies the NotIn predicate on the "end_time" field.
func HasTiers ¶
func HasTiers() predicate.ProxyRechargePromotion
HasTiers applies the HasEdge predicate on the "tiers" edge.
func HasTiersWith ¶
func HasTiersWith(preds ...predicate.ProxyRechargePromotionTier) predicate.ProxyRechargePromotion
HasTiersWith applies the HasEdge predicate on the "tiers" edge with a given conditions (other predicates).
func ID ¶
func ID(id int64) predicate.ProxyRechargePromotion
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int64) predicate.ProxyRechargePromotion
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.ProxyRechargePromotion
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.ProxyRechargePromotion
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.ProxyRechargePromotion
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.ProxyRechargePromotion
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.ProxyRechargePromotion
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.ProxyRechargePromotion
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.ProxyRechargePromotion
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.ProxyRechargePromotion
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.ProxyRechargePromotion
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.ProxyRechargePromotion
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.ProxyRechargePromotion
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.ProxyRechargePromotion
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.ProxyRechargePromotion
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.ProxyRechargePromotion
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.ProxyRechargePromotion
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.ProxyRechargePromotion
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.ProxyRechargePromotion
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.ProxyRechargePromotion
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.ProxyRechargePromotion
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.ProxyRechargePromotion
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.ProxyRechargePromotion
NameNotIn applies the NotIn predicate on the "name" field.
func Or ¶
func Or(predicates ...predicate.ProxyRechargePromotion) predicate.ProxyRechargePromotion
Or groups predicates with the OR operator between them.
func Priority ¶
func Priority(v int32) predicate.ProxyRechargePromotion
Priority applies equality check predicate on the "priority" field. It's identical to PriorityEQ.
func PriorityEQ ¶
func PriorityEQ(v int32) predicate.ProxyRechargePromotion
PriorityEQ applies the EQ predicate on the "priority" field.
func PriorityGT ¶
func PriorityGT(v int32) predicate.ProxyRechargePromotion
PriorityGT applies the GT predicate on the "priority" field.
func PriorityGTE ¶
func PriorityGTE(v int32) predicate.ProxyRechargePromotion
PriorityGTE applies the GTE predicate on the "priority" field.
func PriorityIn ¶
func PriorityIn(vs ...int32) predicate.ProxyRechargePromotion
PriorityIn applies the In predicate on the "priority" field.
func PriorityLT ¶
func PriorityLT(v int32) predicate.ProxyRechargePromotion
PriorityLT applies the LT predicate on the "priority" field.
func PriorityLTE ¶
func PriorityLTE(v int32) predicate.ProxyRechargePromotion
PriorityLTE applies the LTE predicate on the "priority" field.
func PriorityNEQ ¶
func PriorityNEQ(v int32) predicate.ProxyRechargePromotion
PriorityNEQ applies the NEQ predicate on the "priority" field.
func PriorityNotIn ¶
func PriorityNotIn(vs ...int32) predicate.ProxyRechargePromotion
PriorityNotIn applies the NotIn predicate on the "priority" field.
func Sort ¶
func Sort(v int32) predicate.ProxyRechargePromotion
Sort applies equality check predicate on the "sort" field. It's identical to SortEQ.
func SortEQ ¶
func SortEQ(v int32) predicate.ProxyRechargePromotion
SortEQ applies the EQ predicate on the "sort" field.
func SortGT ¶
func SortGT(v int32) predicate.ProxyRechargePromotion
SortGT applies the GT predicate on the "sort" field.
func SortGTE ¶
func SortGTE(v int32) predicate.ProxyRechargePromotion
SortGTE applies the GTE predicate on the "sort" field.
func SortIn ¶
func SortIn(vs ...int32) predicate.ProxyRechargePromotion
SortIn applies the In predicate on the "sort" field.
func SortLT ¶
func SortLT(v int32) predicate.ProxyRechargePromotion
SortLT applies the LT predicate on the "sort" field.
func SortLTE ¶
func SortLTE(v int32) predicate.ProxyRechargePromotion
SortLTE applies the LTE predicate on the "sort" field.
func SortNEQ ¶
func SortNEQ(v int32) predicate.ProxyRechargePromotion
SortNEQ applies the NEQ predicate on the "sort" field.
func SortNotIn ¶
func SortNotIn(vs ...int32) predicate.ProxyRechargePromotion
SortNotIn applies the NotIn predicate on the "sort" field.
func StackMode ¶
func StackMode(v int8) predicate.ProxyRechargePromotion
StackMode applies equality check predicate on the "stack_mode" field. It's identical to StackModeEQ.
func StackModeEQ ¶
func StackModeEQ(v int8) predicate.ProxyRechargePromotion
StackModeEQ applies the EQ predicate on the "stack_mode" field.
func StackModeGT ¶
func StackModeGT(v int8) predicate.ProxyRechargePromotion
StackModeGT applies the GT predicate on the "stack_mode" field.
func StackModeGTE ¶
func StackModeGTE(v int8) predicate.ProxyRechargePromotion
StackModeGTE applies the GTE predicate on the "stack_mode" field.
func StackModeIn ¶
func StackModeIn(vs ...int8) predicate.ProxyRechargePromotion
StackModeIn applies the In predicate on the "stack_mode" field.
func StackModeLT ¶
func StackModeLT(v int8) predicate.ProxyRechargePromotion
StackModeLT applies the LT predicate on the "stack_mode" field.
func StackModeLTE ¶
func StackModeLTE(v int8) predicate.ProxyRechargePromotion
StackModeLTE applies the LTE predicate on the "stack_mode" field.
func StackModeNEQ ¶
func StackModeNEQ(v int8) predicate.ProxyRechargePromotion
StackModeNEQ applies the NEQ predicate on the "stack_mode" field.
func StackModeNotIn ¶
func StackModeNotIn(vs ...int8) predicate.ProxyRechargePromotion
StackModeNotIn applies the NotIn predicate on the "stack_mode" field.
func StartTime ¶
func StartTime(v int64) predicate.ProxyRechargePromotion
StartTime applies equality check predicate on the "start_time" field. It's identical to StartTimeEQ.
func StartTimeEQ ¶
func StartTimeEQ(v int64) predicate.ProxyRechargePromotion
StartTimeEQ applies the EQ predicate on the "start_time" field.
func StartTimeGT ¶
func StartTimeGT(v int64) predicate.ProxyRechargePromotion
StartTimeGT applies the GT predicate on the "start_time" field.
func StartTimeGTE ¶
func StartTimeGTE(v int64) predicate.ProxyRechargePromotion
StartTimeGTE applies the GTE predicate on the "start_time" field.
func StartTimeIn ¶
func StartTimeIn(vs ...int64) predicate.ProxyRechargePromotion
StartTimeIn applies the In predicate on the "start_time" field.
func StartTimeLT ¶
func StartTimeLT(v int64) predicate.ProxyRechargePromotion
StartTimeLT applies the LT predicate on the "start_time" field.
func StartTimeLTE ¶
func StartTimeLTE(v int64) predicate.ProxyRechargePromotion
StartTimeLTE applies the LTE predicate on the "start_time" field.
func StartTimeNEQ ¶
func StartTimeNEQ(v int64) predicate.ProxyRechargePromotion
StartTimeNEQ applies the NEQ predicate on the "start_time" field.
func StartTimeNotIn ¶
func StartTimeNotIn(vs ...int64) predicate.ProxyRechargePromotion
StartTimeNotIn applies the NotIn predicate on the "start_time" field.
func Status ¶
func Status(v bool) predicate.ProxyRechargePromotion
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusEQ ¶
func StatusEQ(v bool) predicate.ProxyRechargePromotion
StatusEQ applies the EQ predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v bool) predicate.ProxyRechargePromotion
StatusNEQ applies the NEQ predicate on the "status" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ProxyRechargePromotion
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ProxyRechargePromotion
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ProxyRechargePromotion
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ProxyRechargePromotion
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ProxyRechargePromotion
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ProxyRechargePromotion
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ProxyRechargePromotion
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ProxyRechargePromotion
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ProxyRechargePromotion
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the ProxyRechargePromotion queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCustomBonusEnabled ¶
func ByCustomBonusEnabled(opts ...sql.OrderTermOption) OrderOption
ByCustomBonusEnabled orders the results by the custom_bonus_enabled field.
func ByCustomBonusPercent ¶
func ByCustomBonusPercent(opts ...sql.OrderTermOption) OrderOption
ByCustomBonusPercent orders the results by the custom_bonus_percent field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByEndTime ¶
func ByEndTime(opts ...sql.OrderTermOption) OrderOption
ByEndTime orders the results by the end_time field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByPriority ¶
func ByPriority(opts ...sql.OrderTermOption) OrderOption
ByPriority orders the results by the priority field.
func BySort ¶
func BySort(opts ...sql.OrderTermOption) OrderOption
BySort orders the results by the sort field.
func ByStackMode ¶
func ByStackMode(opts ...sql.OrderTermOption) OrderOption
ByStackMode orders the results by the stack_mode field.
func ByStartTime ¶
func ByStartTime(opts ...sql.OrderTermOption) OrderOption
ByStartTime orders the results by the start_time field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByTiers ¶
func ByTiers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTiers orders the results by tiers terms.
func ByTiersCount ¶
func ByTiersCount(opts ...sql.OrderTermOption) OrderOption
ByTiersCount orders the results by tiers count.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.