financialaccount

package
v0.0.0-...-984c388 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the financialaccount type in the database.
	Label = "financial_account"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldIsActive holds the string denoting the is_active field in the database.
	FieldIsActive = "is_active"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// 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"
	// FieldDisplayName holds the string denoting the display_name field in the database.
	FieldDisplayName = "display_name"
	// FieldBankName holds the string denoting the bank_name field in the database.
	FieldBankName = "bank_name"
	// FieldAccountType holds the string denoting the account_type field in the database.
	FieldAccountType = "account_type"
	// FieldBalance holds the string denoting the balance field in the database.
	FieldBalance = "balance"
	// FieldCurrencyCode holds the string denoting the currency_code field in the database.
	FieldCurrencyCode = "currency_code"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeCards holds the string denoting the cards edge name in mutations.
	EdgeCards = "cards"
	// Table holds the table name of the financialaccount in the database.
	Table = "financial_accounts"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "financial_accounts"
	// OwnerInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	OwnerInverseTable = "users"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "user_financial_accounts"
	// CardsTable is the table that holds the cards relation/edge.
	CardsTable = "cards"
	// CardsInverseTable is the table name for the Card entity.
	// It exists in this package in order to avoid circular dependency with the "card" package.
	CardsInverseTable = "cards"
	// CardsColumn is the table column denoting the cards relation/edge.
	CardsColumn = "financial_account_id"
)

Variables

View Source
var (
	// DisplayNameValidator is a validator for the "display_name" field. It is called by the builders before save.
	DisplayNameValidator func(string) error
	// AccountTypeValidator is a validator for the "account_type" field. It is called by the builders before save.
	AccountTypeValidator func(string) error
	// CurrencyCodeValidator is a validator for the "currency_code" field. It is called by the builders before save.
	CurrencyCodeValidator func(string) error
	// IDValidator is a validator for the "id" field. It is called by the builders before save.
	IDValidator func(string) error
)

Columns holds all SQL columns for financialaccount fields.

View Source
var ForeignKeys = []string{
	"user_financial_accounts",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "financial_accounts" table and are not defined as standalone fields in the schema.

Functions

func AccountType

func AccountType(v string) predicate.FinancialAccount

AccountType applies equality check predicate on the "account_type" field. It's identical to AccountTypeEQ.

func AccountTypeContains

func AccountTypeContains(v string) predicate.FinancialAccount

AccountTypeContains applies the Contains predicate on the "account_type" field.

func AccountTypeContainsFold

func AccountTypeContainsFold(v string) predicate.FinancialAccount

AccountTypeContainsFold applies the ContainsFold predicate on the "account_type" field.

func AccountTypeEQ

func AccountTypeEQ(v string) predicate.FinancialAccount

AccountTypeEQ applies the EQ predicate on the "account_type" field.

func AccountTypeEqualFold

func AccountTypeEqualFold(v string) predicate.FinancialAccount

AccountTypeEqualFold applies the EqualFold predicate on the "account_type" field.

func AccountTypeGT

func AccountTypeGT(v string) predicate.FinancialAccount

AccountTypeGT applies the GT predicate on the "account_type" field.

func AccountTypeGTE

func AccountTypeGTE(v string) predicate.FinancialAccount

AccountTypeGTE applies the GTE predicate on the "account_type" field.

func AccountTypeHasPrefix

func AccountTypeHasPrefix(v string) predicate.FinancialAccount

AccountTypeHasPrefix applies the HasPrefix predicate on the "account_type" field.

func AccountTypeHasSuffix

func AccountTypeHasSuffix(v string) predicate.FinancialAccount

AccountTypeHasSuffix applies the HasSuffix predicate on the "account_type" field.

func AccountTypeIn

func AccountTypeIn(vs ...string) predicate.FinancialAccount

AccountTypeIn applies the In predicate on the "account_type" field.

func AccountTypeLT

func AccountTypeLT(v string) predicate.FinancialAccount

AccountTypeLT applies the LT predicate on the "account_type" field.

func AccountTypeLTE

func AccountTypeLTE(v string) predicate.FinancialAccount

AccountTypeLTE applies the LTE predicate on the "account_type" field.

func AccountTypeNEQ

func AccountTypeNEQ(v string) predicate.FinancialAccount

AccountTypeNEQ applies the NEQ predicate on the "account_type" field.

func AccountTypeNotIn

func AccountTypeNotIn(vs ...string) predicate.FinancialAccount

AccountTypeNotIn applies the NotIn predicate on the "account_type" field.

func And

And groups predicates with the AND operator between them.

func Balance

Balance applies equality check predicate on the "balance" field. It's identical to BalanceEQ.

func BalanceEQ

func BalanceEQ(v float64) predicate.FinancialAccount

BalanceEQ applies the EQ predicate on the "balance" field.

func BalanceGT

func BalanceGT(v float64) predicate.FinancialAccount

BalanceGT applies the GT predicate on the "balance" field.

func BalanceGTE

func BalanceGTE(v float64) predicate.FinancialAccount

BalanceGTE applies the GTE predicate on the "balance" field.

func BalanceIn

func BalanceIn(vs ...float64) predicate.FinancialAccount

BalanceIn applies the In predicate on the "balance" field.

func BalanceLT

func BalanceLT(v float64) predicate.FinancialAccount

BalanceLT applies the LT predicate on the "balance" field.

func BalanceLTE

func BalanceLTE(v float64) predicate.FinancialAccount

BalanceLTE applies the LTE predicate on the "balance" field.

func BalanceNEQ

func BalanceNEQ(v float64) predicate.FinancialAccount

BalanceNEQ applies the NEQ predicate on the "balance" field.

func BalanceNotIn

func BalanceNotIn(vs ...float64) predicate.FinancialAccount

BalanceNotIn applies the NotIn predicate on the "balance" field.

func BankName

func BankName(v string) predicate.FinancialAccount

BankName applies equality check predicate on the "bank_name" field. It's identical to BankNameEQ.

func BankNameContains

func BankNameContains(v string) predicate.FinancialAccount

BankNameContains applies the Contains predicate on the "bank_name" field.

func BankNameContainsFold

func BankNameContainsFold(v string) predicate.FinancialAccount

BankNameContainsFold applies the ContainsFold predicate on the "bank_name" field.

func BankNameEQ

func BankNameEQ(v string) predicate.FinancialAccount

BankNameEQ applies the EQ predicate on the "bank_name" field.

func BankNameEqualFold

func BankNameEqualFold(v string) predicate.FinancialAccount

BankNameEqualFold applies the EqualFold predicate on the "bank_name" field.

func BankNameGT

func BankNameGT(v string) predicate.FinancialAccount

BankNameGT applies the GT predicate on the "bank_name" field.

func BankNameGTE

func BankNameGTE(v string) predicate.FinancialAccount

BankNameGTE applies the GTE predicate on the "bank_name" field.

func BankNameHasPrefix

func BankNameHasPrefix(v string) predicate.FinancialAccount

BankNameHasPrefix applies the HasPrefix predicate on the "bank_name" field.

func BankNameHasSuffix

func BankNameHasSuffix(v string) predicate.FinancialAccount

BankNameHasSuffix applies the HasSuffix predicate on the "bank_name" field.

func BankNameIn

func BankNameIn(vs ...string) predicate.FinancialAccount

BankNameIn applies the In predicate on the "bank_name" field.

func BankNameIsNil

func BankNameIsNil() predicate.FinancialAccount

BankNameIsNil applies the IsNil predicate on the "bank_name" field.

func BankNameLT

func BankNameLT(v string) predicate.FinancialAccount

BankNameLT applies the LT predicate on the "bank_name" field.

func BankNameLTE

func BankNameLTE(v string) predicate.FinancialAccount

BankNameLTE applies the LTE predicate on the "bank_name" field.

func BankNameNEQ

func BankNameNEQ(v string) predicate.FinancialAccount

BankNameNEQ applies the NEQ predicate on the "bank_name" field.

func BankNameNotIn

func BankNameNotIn(vs ...string) predicate.FinancialAccount

BankNameNotIn applies the NotIn predicate on the "bank_name" field.

func BankNameNotNil

func BankNameNotNil() predicate.FinancialAccount

BankNameNotNil applies the NotNil predicate on the "bank_name" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.FinancialAccount

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.FinancialAccount

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.FinancialAccount

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.FinancialAccount

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.FinancialAccount

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.FinancialAccount

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.FinancialAccount

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

func CreatedAtNotIn

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

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

func CurrencyCode

func CurrencyCode(v string) predicate.FinancialAccount

CurrencyCode applies equality check predicate on the "currency_code" field. It's identical to CurrencyCodeEQ.

func CurrencyCodeContains

func CurrencyCodeContains(v string) predicate.FinancialAccount

CurrencyCodeContains applies the Contains predicate on the "currency_code" field.

func CurrencyCodeContainsFold

func CurrencyCodeContainsFold(v string) predicate.FinancialAccount

CurrencyCodeContainsFold applies the ContainsFold predicate on the "currency_code" field.

func CurrencyCodeEQ

func CurrencyCodeEQ(v string) predicate.FinancialAccount

CurrencyCodeEQ applies the EQ predicate on the "currency_code" field.

func CurrencyCodeEqualFold

func CurrencyCodeEqualFold(v string) predicate.FinancialAccount

CurrencyCodeEqualFold applies the EqualFold predicate on the "currency_code" field.

func CurrencyCodeGT

func CurrencyCodeGT(v string) predicate.FinancialAccount

CurrencyCodeGT applies the GT predicate on the "currency_code" field.

func CurrencyCodeGTE

func CurrencyCodeGTE(v string) predicate.FinancialAccount

CurrencyCodeGTE applies the GTE predicate on the "currency_code" field.

func CurrencyCodeHasPrefix

func CurrencyCodeHasPrefix(v string) predicate.FinancialAccount

CurrencyCodeHasPrefix applies the HasPrefix predicate on the "currency_code" field.

func CurrencyCodeHasSuffix

func CurrencyCodeHasSuffix(v string) predicate.FinancialAccount

CurrencyCodeHasSuffix applies the HasSuffix predicate on the "currency_code" field.

func CurrencyCodeIn

func CurrencyCodeIn(vs ...string) predicate.FinancialAccount

CurrencyCodeIn applies the In predicate on the "currency_code" field.

func CurrencyCodeLT

func CurrencyCodeLT(v string) predicate.FinancialAccount

CurrencyCodeLT applies the LT predicate on the "currency_code" field.

func CurrencyCodeLTE

func CurrencyCodeLTE(v string) predicate.FinancialAccount

CurrencyCodeLTE applies the LTE predicate on the "currency_code" field.

func CurrencyCodeNEQ

func CurrencyCodeNEQ(v string) predicate.FinancialAccount

CurrencyCodeNEQ applies the NEQ predicate on the "currency_code" field.

func CurrencyCodeNotIn

func CurrencyCodeNotIn(vs ...string) predicate.FinancialAccount

CurrencyCodeNotIn applies the NotIn predicate on the "currency_code" field.

func DisplayName

func DisplayName(v string) predicate.FinancialAccount

DisplayName applies equality check predicate on the "display_name" field. It's identical to DisplayNameEQ.

func DisplayNameContains

func DisplayNameContains(v string) predicate.FinancialAccount

DisplayNameContains applies the Contains predicate on the "display_name" field.

func DisplayNameContainsFold

func DisplayNameContainsFold(v string) predicate.FinancialAccount

DisplayNameContainsFold applies the ContainsFold predicate on the "display_name" field.

func DisplayNameEQ

func DisplayNameEQ(v string) predicate.FinancialAccount

DisplayNameEQ applies the EQ predicate on the "display_name" field.

func DisplayNameEqualFold

func DisplayNameEqualFold(v string) predicate.FinancialAccount

DisplayNameEqualFold applies the EqualFold predicate on the "display_name" field.

func DisplayNameGT

func DisplayNameGT(v string) predicate.FinancialAccount

DisplayNameGT applies the GT predicate on the "display_name" field.

func DisplayNameGTE

func DisplayNameGTE(v string) predicate.FinancialAccount

DisplayNameGTE applies the GTE predicate on the "display_name" field.

func DisplayNameHasPrefix

func DisplayNameHasPrefix(v string) predicate.FinancialAccount

DisplayNameHasPrefix applies the HasPrefix predicate on the "display_name" field.

func DisplayNameHasSuffix

func DisplayNameHasSuffix(v string) predicate.FinancialAccount

DisplayNameHasSuffix applies the HasSuffix predicate on the "display_name" field.

func DisplayNameIn

func DisplayNameIn(vs ...string) predicate.FinancialAccount

DisplayNameIn applies the In predicate on the "display_name" field.

func DisplayNameLT

func DisplayNameLT(v string) predicate.FinancialAccount

DisplayNameLT applies the LT predicate on the "display_name" field.

func DisplayNameLTE

func DisplayNameLTE(v string) predicate.FinancialAccount

DisplayNameLTE applies the LTE predicate on the "display_name" field.

func DisplayNameNEQ

func DisplayNameNEQ(v string) predicate.FinancialAccount

DisplayNameNEQ applies the NEQ predicate on the "display_name" field.

func DisplayNameNotIn

func DisplayNameNotIn(vs ...string) predicate.FinancialAccount

DisplayNameNotIn applies the NotIn predicate on the "display_name" field.

func HasCards

func HasCards() predicate.FinancialAccount

HasCards applies the HasEdge predicate on the "cards" edge.

func HasCardsWith

func HasCardsWith(preds ...predicate.Card) predicate.FinancialAccount

HasCardsWith applies the HasEdge predicate on the "cards" edge with a given conditions (other predicates).

func HasOwner

func HasOwner() predicate.FinancialAccount

HasOwner applies the HasEdge predicate on the "owner" edge.

func HasOwnerWith

func HasOwnerWith(preds ...predicate.User) predicate.FinancialAccount

HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).

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

func IDIn(ids ...string) predicate.FinancialAccount

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

func IDNotIn(ids ...string) predicate.FinancialAccount

IDNotIn applies the NotIn predicate on the ID field.

func IsActive

func IsActive(v bool) predicate.FinancialAccount

IsActive applies equality check predicate on the "is_active" field. It's identical to IsActiveEQ.

func IsActiveEQ

func IsActiveEQ(v bool) predicate.FinancialAccount

IsActiveEQ applies the EQ predicate on the "is_active" field.

func IsActiveNEQ

func IsActiveNEQ(v bool) predicate.FinancialAccount

IsActiveNEQ applies the NEQ predicate on the "is_active" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.FinancialAccount

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.FinancialAccount

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.FinancialAccount

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.FinancialAccount

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.FinancialAccount

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.FinancialAccount

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.FinancialAccount

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

func UpdatedAtNotIn

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

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

func Version

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionEQ

func VersionEQ(v uint32) predicate.FinancialAccount

VersionEQ applies the EQ predicate on the "version" field.

func VersionGT

func VersionGT(v uint32) predicate.FinancialAccount

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v uint32) predicate.FinancialAccount

VersionGTE applies the GTE predicate on the "version" field.

func VersionIn

func VersionIn(vs ...uint32) predicate.FinancialAccount

VersionIn applies the In predicate on the "version" field.

func VersionLT

func VersionLT(v uint32) predicate.FinancialAccount

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v uint32) predicate.FinancialAccount

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v uint32) predicate.FinancialAccount

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...uint32) predicate.FinancialAccount

VersionNotIn applies the NotIn predicate on the "version" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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