package
0.0.0-20230817090801-538805526153
Repository: https://github.com/npoolplatform/good-manager.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
BenefitIntervalHours applies equality check predicate on the "benefit_interval_hours" field.
BenefitIntervalHoursEQ applies the EQ predicate on the "benefit_interval_hours" field.
BenefitIntervalHoursGT applies the GT predicate on the "benefit_interval_hours" field.
BenefitIntervalHoursGTE applies the GTE predicate on the "benefit_interval_hours" field.
BenefitIntervalHoursIn applies the In predicate on the "benefit_interval_hours" field.
BenefitIntervalHoursIsNil applies the IsNil predicate on the "benefit_interval_hours" field.
BenefitIntervalHoursLT applies the LT predicate on the "benefit_interval_hours" field.
BenefitIntervalHoursLTE applies the LTE predicate on the "benefit_interval_hours" field.
BenefitIntervalHoursNEQ applies the NEQ predicate on the "benefit_interval_hours" field.
BenefitIntervalHoursNotIn applies the NotIn predicate on the "benefit_interval_hours" field.
BenefitIntervalHoursNotNil applies the NotNil predicate on the "benefit_interval_hours" field.
BenefitState applies equality check predicate on the "benefit_state" field.
BenefitStateContains applies the Contains predicate on the "benefit_state" field.
BenefitStateContainsFold applies the ContainsFold predicate on the "benefit_state" field.
BenefitStateEQ applies the EQ predicate on the "benefit_state" field.
BenefitStateEqualFold applies the EqualFold predicate on the "benefit_state" field.
BenefitStateGT applies the GT predicate on the "benefit_state" field.
BenefitStateGTE applies the GTE predicate on the "benefit_state" field.
BenefitStateHasPrefix applies the HasPrefix predicate on the "benefit_state" field.
BenefitStateHasSuffix applies the HasSuffix predicate on the "benefit_state" field.
BenefitStateIn applies the In predicate on the "benefit_state" field.
BenefitStateIsNil applies the IsNil predicate on the "benefit_state" field.
BenefitStateLT applies the LT predicate on the "benefit_state" field.
BenefitStateLTE applies the LTE predicate on the "benefit_state" field.
BenefitStateNEQ applies the NEQ predicate on the "benefit_state" field.
BenefitStateNotIn applies the NotIn predicate on the "benefit_state" field.
BenefitStateNotNil applies the NotNil predicate on the "benefit_state" field.
BenefitTidsIsNil applies the IsNil predicate on the "benefit_tids" field.
BenefitTidsNotNil applies the NotNil predicate on the "benefit_tids" field.
BenefitType applies equality check predicate on the "benefit_type" field.
BenefitTypeContains applies the Contains predicate on the "benefit_type" field.
BenefitTypeContainsFold applies the ContainsFold predicate on the "benefit_type" field.
BenefitTypeEQ applies the EQ predicate on the "benefit_type" field.
BenefitTypeEqualFold applies the EqualFold predicate on the "benefit_type" field.
BenefitTypeGT applies the GT predicate on the "benefit_type" field.
BenefitTypeGTE applies the GTE predicate on the "benefit_type" field.
BenefitTypeHasPrefix applies the HasPrefix predicate on the "benefit_type" field.
BenefitTypeHasSuffix applies the HasSuffix predicate on the "benefit_type" field.
BenefitTypeIn applies the In predicate on the "benefit_type" field.
BenefitTypeIsNil applies the IsNil predicate on the "benefit_type" field.
BenefitTypeLT applies the LT predicate on the "benefit_type" field.
BenefitTypeLTE applies the LTE predicate on the "benefit_type" field.
BenefitTypeNEQ applies the NEQ predicate on the "benefit_type" field.
BenefitTypeNotIn applies the NotIn predicate on the "benefit_type" field.
BenefitTypeNotNil applies the NotNil predicate on the "benefit_type" field.
CoinTypeID applies equality check predicate on the "coin_type_id" field.
CoinTypeIDEQ applies the EQ predicate on the "coin_type_id" field.
CoinTypeIDGT applies the GT predicate on the "coin_type_id" field.
CoinTypeIDGTE applies the GTE predicate on the "coin_type_id" field.
CoinTypeIDIn applies the In predicate on the "coin_type_id" field.
CoinTypeIDLT applies the LT predicate on the "coin_type_id" field.
CoinTypeIDLTE applies the LTE predicate on the "coin_type_id" field.
CoinTypeIDNEQ applies the NEQ predicate on the "coin_type_id" field.
CoinTypeIDNotIn applies the NotIn predicate on the "coin_type_id" field.
CreatedAt applies equality check predicate on the "created_at" field.
CreatedAtEQ applies the EQ predicate on the "created_at" field.
CreatedAtGT applies the GT predicate on the "created_at" field.
CreatedAtGTE applies the GTE predicate on the "created_at" field.
CreatedAtIn applies the In predicate on the "created_at" field.
CreatedAtLT applies the LT predicate on the "created_at" field.
CreatedAtLTE applies the LTE predicate on the "created_at" field.
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
DeletedAt applies equality check predicate on the "deleted_at" field.
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
DeletedAtGT applies the GT predicate on the "deleted_at" field.
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
DeletedAtIn applies the In predicate on the "deleted_at" field.
DeletedAtLT applies the LT predicate on the "deleted_at" field.
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
DeliveryAt applies equality check predicate on the "delivery_at" field.
DeliveryAtEQ applies the EQ predicate on the "delivery_at" field.
DeliveryAtGT applies the GT predicate on the "delivery_at" field.
DeliveryAtGTE applies the GTE predicate on the "delivery_at" field.
DeliveryAtIn applies the In predicate on the "delivery_at" field.
DeliveryAtIsNil applies the IsNil predicate on the "delivery_at" field.
DeliveryAtLT applies the LT predicate on the "delivery_at" field.
DeliveryAtLTE applies the LTE predicate on the "delivery_at" field.
DeliveryAtNEQ applies the NEQ predicate on the "delivery_at" field.
DeliveryAtNotIn applies the NotIn predicate on the "delivery_at" field.
DeliveryAtNotNil applies the NotNil predicate on the "delivery_at" field.
DeviceInfoID applies equality check predicate on the "device_info_id" field.
DeviceInfoIDEQ applies the EQ predicate on the "device_info_id" field.
DeviceInfoIDGT applies the GT predicate on the "device_info_id" field.
DeviceInfoIDGTE applies the GTE predicate on the "device_info_id" field.
DeviceInfoIDIn applies the In predicate on the "device_info_id" field.
DeviceInfoIDLT applies the LT predicate on the "device_info_id" field.
DeviceInfoIDLTE applies the LTE predicate on the "device_info_id" field.
DeviceInfoIDNEQ applies the NEQ predicate on the "device_info_id" field.
DeviceInfoIDNotIn applies the NotIn predicate on the "device_info_id" field.
DurationDays applies equality check predicate on the "duration_days" field.
DurationDaysEQ applies the EQ predicate on the "duration_days" field.
DurationDaysGT applies the GT predicate on the "duration_days" field.
DurationDaysGTE applies the GTE predicate on the "duration_days" field.
DurationDaysIn applies the In predicate on the "duration_days" field.
DurationDaysIsNil applies the IsNil predicate on the "duration_days" field.
DurationDaysLT applies the LT predicate on the "duration_days" field.
DurationDaysLTE applies the LTE predicate on the "duration_days" field.
DurationDaysNEQ applies the NEQ predicate on the "duration_days" field.
DurationDaysNotIn applies the NotIn predicate on the "duration_days" field.
DurationDaysNotNil applies the NotNil predicate on the "duration_days" field.
GoodType applies equality check predicate on the "good_type" field.
GoodTypeContains applies the Contains predicate on the "good_type" field.
GoodTypeContainsFold applies the ContainsFold predicate on the "good_type" field.
GoodTypeEQ applies the EQ predicate on the "good_type" field.
GoodTypeEqualFold applies the EqualFold predicate on the "good_type" field.
GoodTypeGT applies the GT predicate on the "good_type" field.
GoodTypeGTE applies the GTE predicate on the "good_type" field.
GoodTypeHasPrefix applies the HasPrefix predicate on the "good_type" field.
GoodTypeHasSuffix applies the HasSuffix predicate on the "good_type" field.
GoodTypeIn applies the In predicate on the "good_type" field.
GoodTypeIsNil applies the IsNil predicate on the "good_type" field.
GoodTypeLT applies the LT predicate on the "good_type" field.
GoodTypeLTE applies the LTE predicate on the "good_type" field.
GoodTypeNEQ applies the NEQ predicate on the "good_type" field.
GoodTypeNotIn applies the NotIn predicate on the "good_type" field.
GoodTypeNotNil applies the NotNil predicate on the "good_type" field.
ID filters vertices based on their ID field.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
InheritFromGoodID applies equality check predicate on the "inherit_from_good_id" field.
InheritFromGoodIDEQ applies the EQ predicate on the "inherit_from_good_id" field.
InheritFromGoodIDGT applies the GT predicate on the "inherit_from_good_id" field.
InheritFromGoodIDGTE applies the GTE predicate on the "inherit_from_good_id" field.
InheritFromGoodIDIn applies the In predicate on the "inherit_from_good_id" field.
InheritFromGoodIDIsNil applies the IsNil predicate on the "inherit_from_good_id" field.
InheritFromGoodIDLT applies the LT predicate on the "inherit_from_good_id" field.
InheritFromGoodIDLTE applies the LTE predicate on the "inherit_from_good_id" field.
InheritFromGoodIDNEQ applies the NEQ predicate on the "inherit_from_good_id" field.
InheritFromGoodIDNotIn applies the NotIn predicate on the "inherit_from_good_id" field.
InheritFromGoodIDNotNil applies the NotNil predicate on the "inherit_from_good_id" field.
LastBenefitAmount applies equality check predicate on the "last_benefit_amount" field.
LastBenefitAmountEQ applies the EQ predicate on the "last_benefit_amount" field.
LastBenefitAmountGT applies the GT predicate on the "last_benefit_amount" field.
LastBenefitAmountGTE applies the GTE predicate on the "last_benefit_amount" field.
LastBenefitAmountIn applies the In predicate on the "last_benefit_amount" field.
LastBenefitAmountIsNil applies the IsNil predicate on the "last_benefit_amount" field.
LastBenefitAmountLT applies the LT predicate on the "last_benefit_amount" field.
LastBenefitAmountLTE applies the LTE predicate on the "last_benefit_amount" field.
LastBenefitAmountNEQ applies the NEQ predicate on the "last_benefit_amount" field.
LastBenefitAmountNotIn applies the NotIn predicate on the "last_benefit_amount" field.
LastBenefitAmountNotNil applies the NotNil predicate on the "last_benefit_amount" field.
LastBenefitAt applies equality check predicate on the "last_benefit_at" field.
LastBenefitAtEQ applies the EQ predicate on the "last_benefit_at" field.
LastBenefitAtGT applies the GT predicate on the "last_benefit_at" field.
LastBenefitAtGTE applies the GTE predicate on the "last_benefit_at" field.
LastBenefitAtIn applies the In predicate on the "last_benefit_at" field.
LastBenefitAtIsNil applies the IsNil predicate on the "last_benefit_at" field.
LastBenefitAtLT applies the LT predicate on the "last_benefit_at" field.
LastBenefitAtLTE applies the LTE predicate on the "last_benefit_at" field.
LastBenefitAtNEQ applies the NEQ predicate on the "last_benefit_at" field.
LastBenefitAtNotIn applies the NotIn predicate on the "last_benefit_at" field.
LastBenefitAtNotNil applies the NotNil predicate on the "last_benefit_at" field.
NextBenefitStartAmount applies equality check predicate on the "next_benefit_start_amount" field.
NextBenefitStartAmountEQ applies the EQ predicate on the "next_benefit_start_amount" field.
NextBenefitStartAmountGT applies the GT predicate on the "next_benefit_start_amount" field.
NextBenefitStartAmountGTE applies the GTE predicate on the "next_benefit_start_amount" field.
NextBenefitStartAmountIn applies the In predicate on the "next_benefit_start_amount" field.
NextBenefitStartAmountIsNil applies the IsNil predicate on the "next_benefit_start_amount" field.
NextBenefitStartAmountLT applies the LT predicate on the "next_benefit_start_amount" field.
NextBenefitStartAmountLTE applies the LTE predicate on the "next_benefit_start_amount" field.
NextBenefitStartAmountNEQ applies the NEQ predicate on the "next_benefit_start_amount" field.
NextBenefitStartAmountNotIn applies the NotIn predicate on the "next_benefit_start_amount" field.
NextBenefitStartAmountNotNil applies the NotNil predicate on the "next_benefit_start_amount" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Price applies equality check predicate on the "price" field.
PriceEQ applies the EQ predicate on the "price" field.
PriceGT applies the GT predicate on the "price" field.
PriceGTE applies the GTE predicate on the "price" field.
PriceIn applies the In predicate on the "price" field.
PriceIsNil applies the IsNil predicate on the "price" field.
PriceLT applies the LT predicate on the "price" field.
PriceLTE applies the LTE predicate on the "price" field.
PriceNEQ applies the NEQ predicate on the "price" field.
PriceNotIn applies the NotIn predicate on the "price" field.
PriceNotNil applies the NotNil predicate on the "price" field.
StartAt applies equality check predicate on the "start_at" field.
StartAtEQ applies the EQ predicate on the "start_at" field.
StartAtGT applies the GT predicate on the "start_at" field.
StartAtGTE applies the GTE predicate on the "start_at" field.
StartAtIn applies the In predicate on the "start_at" field.
StartAtIsNil applies the IsNil predicate on the "start_at" field.
StartAtLT applies the LT predicate on the "start_at" field.
StartAtLTE applies the LTE predicate on the "start_at" field.
StartAtNEQ applies the NEQ predicate on the "start_at" field.
StartAtNotIn applies the NotIn predicate on the "start_at" field.
StartAtNotNil applies the NotNil predicate on the "start_at" field.
SupportCoinTypeIdsIsNil applies the IsNil predicate on the "support_coin_type_ids" field.
SupportCoinTypeIdsNotNil applies the NotNil predicate on the "support_coin_type_ids" field.
TestOnly applies equality check predicate on the "test_only" field.
TestOnlyEQ applies the EQ predicate on the "test_only" field.
TestOnlyIsNil applies the IsNil predicate on the "test_only" field.
TestOnlyNEQ applies the NEQ predicate on the "test_only" field.
TestOnlyNotNil applies the NotNil predicate on the "test_only" field.
Title applies equality check predicate on the "title" field.
TitleContains applies the Contains predicate on the "title" field.
TitleContainsFold applies the ContainsFold predicate on the "title" field.
TitleEQ applies the EQ predicate on the "title" field.
TitleEqualFold applies the EqualFold predicate on the "title" field.
TitleGT applies the GT predicate on the "title" field.
TitleGTE applies the GTE predicate on the "title" field.
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
TitleIn applies the In predicate on the "title" field.
TitleIsNil applies the IsNil predicate on the "title" field.
TitleLT applies the LT predicate on the "title" field.
TitleLTE applies the LTE predicate on the "title" field.
TitleNEQ applies the NEQ predicate on the "title" field.
TitleNotIn applies the NotIn predicate on the "title" field.
TitleNotNil applies the NotNil predicate on the "title" field.
Unit applies equality check predicate on the "unit" field.
UnitAmount applies equality check predicate on the "unit_amount" field.
UnitAmountEQ applies the EQ predicate on the "unit_amount" field.
UnitAmountGT applies the GT predicate on the "unit_amount" field.
UnitAmountGTE applies the GTE predicate on the "unit_amount" field.
UnitAmountIn applies the In predicate on the "unit_amount" field.
UnitAmountIsNil applies the IsNil predicate on the "unit_amount" field.
UnitAmountLT applies the LT predicate on the "unit_amount" field.
UnitAmountLTE applies the LTE predicate on the "unit_amount" field.
UnitAmountNEQ applies the NEQ predicate on the "unit_amount" field.
UnitAmountNotIn applies the NotIn predicate on the "unit_amount" field.
UnitAmountNotNil applies the NotNil predicate on the "unit_amount" field.
UnitContains applies the Contains predicate on the "unit" field.
UnitContainsFold applies the ContainsFold predicate on the "unit" field.
UnitEQ applies the EQ predicate on the "unit" field.
UnitEqualFold applies the EqualFold predicate on the "unit" field.
UnitGT applies the GT predicate on the "unit" field.
UnitGTE applies the GTE predicate on the "unit" field.
UnitHasPrefix applies the HasPrefix predicate on the "unit" field.
UnitHasSuffix applies the HasSuffix predicate on the "unit" field.
UnitIn applies the In predicate on the "unit" field.
UnitIsNil applies the IsNil predicate on the "unit" field.
UnitLT applies the LT predicate on the "unit" field.
UnitLTE applies the LTE predicate on the "unit" field.
UnitNEQ applies the NEQ predicate on the "unit" field.
UnitNotIn applies the NotIn predicate on the "unit" field.
UnitNotNil applies the NotNil predicate on the "unit" field.
UpdatedAt applies equality check predicate on the "updated_at" field.
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
UpdatedAtGT applies the GT predicate on the "updated_at" field.
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
UpdatedAtIn applies the In predicate on the "updated_at" field.
UpdatedAtLT applies the LT predicate on the "updated_at" field.
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
ValidColumn reports if the column name is valid (part of the table columns).
VendorLocationID applies equality check predicate on the "vendor_location_id" field.
VendorLocationIDEQ applies the EQ predicate on the "vendor_location_id" field.
VendorLocationIDGT applies the GT predicate on the "vendor_location_id" field.
VendorLocationIDGTE applies the GTE predicate on the "vendor_location_id" field.
VendorLocationIDIn applies the In predicate on the "vendor_location_id" field.
VendorLocationIDLT applies the LT predicate on the "vendor_location_id" field.
VendorLocationIDLTE applies the LTE predicate on the "vendor_location_id" field.
VendorLocationIDNEQ applies the NEQ predicate on the "vendor_location_id" field.
VendorLocationIDNotIn applies the NotIn predicate on the "vendor_location_id" field.

# Constants

FieldBenefitIntervalHours holds the string denoting the benefit_interval_hours field in the database.
FieldBenefitState holds the string denoting the benefit_state field in the database.
FieldBenefitTids holds the string denoting the benefit_tids field in the database.
FieldBenefitType holds the string denoting the benefit_type field in the database.
FieldCoinTypeID holds the string denoting the coin_type_id field in the database.
FieldCreatedAt holds the string denoting the created_at field in the database.
FieldDeletedAt holds the string denoting the deleted_at field in the database.
FieldDeliveryAt holds the string denoting the delivery_at field in the database.
FieldDeviceInfoID holds the string denoting the device_info_id field in the database.
FieldDurationDays holds the string denoting the duration_days field in the database.
FieldGoodType holds the string denoting the good_type field in the database.
FieldID holds the string denoting the id field in the database.
FieldInheritFromGoodID holds the string denoting the inherit_from_good_id field in the database.
FieldLastBenefitAmount holds the string denoting the last_benefit_amount field in the database.
FieldLastBenefitAt holds the string denoting the last_benefit_at field in the database.
FieldNextBenefitStartAmount holds the string denoting the next_benefit_start_amount field in the database.
FieldPrice holds the string denoting the price field in the database.
FieldStartAt holds the string denoting the start_at field in the database.
FieldSupportCoinTypeIds holds the string denoting the support_coin_type_ids field in the database.
FieldTestOnly holds the string denoting the test_only field in the database.
FieldTitle holds the string denoting the title field in the database.
FieldUnit holds the string denoting the unit field in the database.
FieldUnitAmount holds the string denoting the unit_amount field in the database.
FieldUpdatedAt holds the string denoting the updated_at field in the database.
FieldVendorLocationID holds the string denoting the vendor_location_id field in the database.
Label holds the string label denoting the good type in the database.
Table holds the table name of the good in the database.

# Variables

Columns holds all SQL columns for good fields.
DefaultBenefitIntervalHours holds the default value on creation for the "benefit_interval_hours" field.
DefaultBenefitState holds the default value on creation for the "benefit_state" field.
DefaultBenefitTids holds the default value on creation for the "benefit_tids" field.
DefaultBenefitType holds the default value on creation for the "benefit_type" field.
DefaultCreatedAt holds the default value on creation for the "created_at" field.
DefaultDeletedAt holds the default value on creation for the "deleted_at" field.
DefaultDeliveryAt holds the default value on creation for the "delivery_at" field.
DefaultDurationDays holds the default value on creation for the "duration_days" field.
DefaultGoodType holds the default value on creation for the "good_type" field.
DefaultID holds the default value on creation for the "id" field.
DefaultInheritFromGoodID holds the default value on creation for the "inherit_from_good_id" field.
DefaultLastBenefitAmount holds the default value on creation for the "last_benefit_amount" field.
DefaultLastBenefitAt holds the default value on creation for the "last_benefit_at" field.
DefaultNextBenefitStartAmount holds the default value on creation for the "next_benefit_start_amount" field.
DefaultPrice holds the default value on creation for the "price" field.
DefaultStartAt holds the default value on creation for the "start_at" field.
DefaultSupportCoinTypeIds holds the default value on creation for the "support_coin_type_ids" field.
DefaultTestOnly holds the default value on creation for the "test_only" field.
DefaultTitle holds the default value on creation for the "title" field.
DefaultUnit holds the default value on creation for the "unit" field.
DefaultUnitAmount holds the default value on creation for the "unit_amount" field.
DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
Note that the variables below are initialized by the runtime package on the initialization of the application.
Note that the variables below are initialized by the runtime package on the initialization of the application.
UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.