Documentation ¶
Index ¶
- Constants
- Variables
- func Amount(v float64) predicate.AccessorialCharge
- func AmountEQ(v float64) predicate.AccessorialCharge
- func AmountGT(v float64) predicate.AccessorialCharge
- func AmountGTE(v float64) predicate.AccessorialCharge
- func AmountIn(vs ...float64) predicate.AccessorialCharge
- func AmountLT(v float64) predicate.AccessorialCharge
- func AmountLTE(v float64) predicate.AccessorialCharge
- func AmountNEQ(v float64) predicate.AccessorialCharge
- func AmountNotIn(vs ...float64) predicate.AccessorialCharge
- func And(predicates ...predicate.AccessorialCharge) predicate.AccessorialCharge
- func BusinessUnitID(v uuid.UUID) predicate.AccessorialCharge
- func BusinessUnitIDEQ(v uuid.UUID) predicate.AccessorialCharge
- func BusinessUnitIDIn(vs ...uuid.UUID) predicate.AccessorialCharge
- func BusinessUnitIDNEQ(v uuid.UUID) predicate.AccessorialCharge
- func BusinessUnitIDNotIn(vs ...uuid.UUID) predicate.AccessorialCharge
- func Code(v string) predicate.AccessorialCharge
- func CodeContains(v string) predicate.AccessorialCharge
- func CodeContainsFold(v string) predicate.AccessorialCharge
- func CodeEQ(v string) predicate.AccessorialCharge
- func CodeEqualFold(v string) predicate.AccessorialCharge
- func CodeGT(v string) predicate.AccessorialCharge
- func CodeGTE(v string) predicate.AccessorialCharge
- func CodeHasPrefix(v string) predicate.AccessorialCharge
- func CodeHasSuffix(v string) predicate.AccessorialCharge
- func CodeIn(vs ...string) predicate.AccessorialCharge
- func CodeLT(v string) predicate.AccessorialCharge
- func CodeLTE(v string) predicate.AccessorialCharge
- func CodeNEQ(v string) predicate.AccessorialCharge
- func CodeNotIn(vs ...string) predicate.AccessorialCharge
- func CreatedAt(v time.Time) predicate.AccessorialCharge
- func CreatedAtEQ(v time.Time) predicate.AccessorialCharge
- func CreatedAtGT(v time.Time) predicate.AccessorialCharge
- func CreatedAtGTE(v time.Time) predicate.AccessorialCharge
- func CreatedAtIn(vs ...time.Time) predicate.AccessorialCharge
- func CreatedAtLT(v time.Time) predicate.AccessorialCharge
- func CreatedAtLTE(v time.Time) predicate.AccessorialCharge
- func CreatedAtNEQ(v time.Time) predicate.AccessorialCharge
- func CreatedAtNotIn(vs ...time.Time) predicate.AccessorialCharge
- func Description(v string) predicate.AccessorialCharge
- func DescriptionContains(v string) predicate.AccessorialCharge
- func DescriptionContainsFold(v string) predicate.AccessorialCharge
- func DescriptionEQ(v string) predicate.AccessorialCharge
- func DescriptionEqualFold(v string) predicate.AccessorialCharge
- func DescriptionGT(v string) predicate.AccessorialCharge
- func DescriptionGTE(v string) predicate.AccessorialCharge
- func DescriptionHasPrefix(v string) predicate.AccessorialCharge
- func DescriptionHasSuffix(v string) predicate.AccessorialCharge
- func DescriptionIn(vs ...string) predicate.AccessorialCharge
- func DescriptionIsNil() predicate.AccessorialCharge
- func DescriptionLT(v string) predicate.AccessorialCharge
- func DescriptionLTE(v string) predicate.AccessorialCharge
- func DescriptionNEQ(v string) predicate.AccessorialCharge
- func DescriptionNotIn(vs ...string) predicate.AccessorialCharge
- func DescriptionNotNil() predicate.AccessorialCharge
- func HasBusinessUnit() predicate.AccessorialCharge
- func HasBusinessUnitWith(preds ...predicate.BusinessUnit) predicate.AccessorialCharge
- func HasOrganization() predicate.AccessorialCharge
- func HasOrganizationWith(preds ...predicate.Organization) predicate.AccessorialCharge
- func ID(id uuid.UUID) predicate.AccessorialCharge
- func IDEQ(id uuid.UUID) predicate.AccessorialCharge
- func IDGT(id uuid.UUID) predicate.AccessorialCharge
- func IDGTE(id uuid.UUID) predicate.AccessorialCharge
- func IDIn(ids ...uuid.UUID) predicate.AccessorialCharge
- func IDLT(id uuid.UUID) predicate.AccessorialCharge
- func IDLTE(id uuid.UUID) predicate.AccessorialCharge
- func IDNEQ(id uuid.UUID) predicate.AccessorialCharge
- func IDNotIn(ids ...uuid.UUID) predicate.AccessorialCharge
- func IsDetention(v bool) predicate.AccessorialCharge
- func IsDetentionEQ(v bool) predicate.AccessorialCharge
- func IsDetentionNEQ(v bool) predicate.AccessorialCharge
- func MethodEQ(v Method) predicate.AccessorialCharge
- func MethodIn(vs ...Method) predicate.AccessorialCharge
- func MethodNEQ(v Method) predicate.AccessorialCharge
- func MethodNotIn(vs ...Method) predicate.AccessorialCharge
- func MethodValidator(m Method) error
- func Not(p predicate.AccessorialCharge) predicate.AccessorialCharge
- func Or(predicates ...predicate.AccessorialCharge) predicate.AccessorialCharge
- func OrganizationID(v uuid.UUID) predicate.AccessorialCharge
- func OrganizationIDEQ(v uuid.UUID) predicate.AccessorialCharge
- func OrganizationIDIn(vs ...uuid.UUID) predicate.AccessorialCharge
- func OrganizationIDNEQ(v uuid.UUID) predicate.AccessorialCharge
- func OrganizationIDNotIn(vs ...uuid.UUID) predicate.AccessorialCharge
- func StatusEQ(v Status) predicate.AccessorialCharge
- func StatusIn(vs ...Status) predicate.AccessorialCharge
- func StatusNEQ(v Status) predicate.AccessorialCharge
- func StatusNotIn(vs ...Status) predicate.AccessorialCharge
- func StatusValidator(s Status) error
- func UpdatedAt(v time.Time) predicate.AccessorialCharge
- func UpdatedAtEQ(v time.Time) predicate.AccessorialCharge
- func UpdatedAtGT(v time.Time) predicate.AccessorialCharge
- func UpdatedAtGTE(v time.Time) predicate.AccessorialCharge
- func UpdatedAtIn(vs ...time.Time) predicate.AccessorialCharge
- func UpdatedAtLT(v time.Time) predicate.AccessorialCharge
- func UpdatedAtLTE(v time.Time) predicate.AccessorialCharge
- func UpdatedAtNEQ(v time.Time) predicate.AccessorialCharge
- func UpdatedAtNotIn(vs ...time.Time) predicate.AccessorialCharge
- func ValidColumn(column string) bool
- func Version(v int) predicate.AccessorialCharge
- func VersionEQ(v int) predicate.AccessorialCharge
- func VersionGT(v int) predicate.AccessorialCharge
- func VersionGTE(v int) predicate.AccessorialCharge
- func VersionIn(vs ...int) predicate.AccessorialCharge
- func VersionLT(v int) predicate.AccessorialCharge
- func VersionLTE(v int) predicate.AccessorialCharge
- func VersionNEQ(v int) predicate.AccessorialCharge
- func VersionNotIn(vs ...int) predicate.AccessorialCharge
- type Method
- type OrderOption
- func ByAmount(opts ...sql.OrderTermOption) OrderOption
- func ByBusinessUnitField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByBusinessUnitID(opts ...sql.OrderTermOption) OrderOption
- func ByCode(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsDetention(opts ...sql.OrderTermOption) OrderOption
- func ByMethod(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
- type Status
Constants ¶
const ( // Label holds the string label denoting the accessorialcharge type in the database. Label = "accessorial_charge" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldBusinessUnitID holds the string denoting the business_unit_id field in the database. FieldBusinessUnitID = "business_unit_id" // FieldOrganizationID holds the string denoting the organization_id field in the database. FieldOrganizationID = "organization_id" // 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" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldCode holds the string denoting the code field in the database. FieldCode = "code" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldIsDetention holds the string denoting the is_detention field in the database. FieldIsDetention = "is_detention" // FieldMethod holds the string denoting the method field in the database. FieldMethod = "method" // FieldAmount holds the string denoting the amount field in the database. FieldAmount = "amount" // EdgeBusinessUnit holds the string denoting the business_unit edge name in mutations. EdgeBusinessUnit = "business_unit" // EdgeOrganization holds the string denoting the organization edge name in mutations. EdgeOrganization = "organization" // Table holds the table name of the accessorialcharge in the database. Table = "accessorial_charges" // BusinessUnitTable is the table that holds the business_unit relation/edge. BusinessUnitTable = "accessorial_charges" // BusinessUnitInverseTable is the table name for the BusinessUnit entity. // It exists in this package in order to avoid circular dependency with the "businessunit" package. BusinessUnitInverseTable = "business_units" // BusinessUnitColumn is the table column denoting the business_unit relation/edge. BusinessUnitColumn = "business_unit_id" // OrganizationTable is the table that holds the organization relation/edge. OrganizationTable = "accessorial_charges" // OrganizationInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OrganizationInverseTable = "organizations" // OrganizationColumn is the table column denoting the organization relation/edge. OrganizationColumn = "organization_id" )
const DefaultStatus = StatusA
StatusA is the default value of the Status enum.
Variables ¶
var ( // 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 // DefaultVersion holds the default value on creation for the "version" field. DefaultVersion int // CodeValidator is a validator for the "code" field. It is called by the builders before save. CodeValidator func(string) error // DefaultIsDetention holds the default value on creation for the "is_detention" field. DefaultIsDetention bool // DefaultAmount holds the default value on creation for the "amount" field. DefaultAmount float64 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldBusinessUnitID, FieldOrganizationID, FieldCreatedAt, FieldUpdatedAt, FieldVersion, FieldStatus, FieldCode, FieldDescription, FieldIsDetention, FieldMethod, FieldAmount, }
Columns holds all SQL columns for accessorialcharge fields.
Functions ¶
func Amount ¶
func Amount(v float64) predicate.AccessorialCharge
Amount applies equality check predicate on the "amount" field. It's identical to AmountEQ.
func AmountEQ ¶
func AmountEQ(v float64) predicate.AccessorialCharge
AmountEQ applies the EQ predicate on the "amount" field.
func AmountGT ¶
func AmountGT(v float64) predicate.AccessorialCharge
AmountGT applies the GT predicate on the "amount" field.
func AmountGTE ¶
func AmountGTE(v float64) predicate.AccessorialCharge
AmountGTE applies the GTE predicate on the "amount" field.
func AmountIn ¶
func AmountIn(vs ...float64) predicate.AccessorialCharge
AmountIn applies the In predicate on the "amount" field.
func AmountLT ¶
func AmountLT(v float64) predicate.AccessorialCharge
AmountLT applies the LT predicate on the "amount" field.
func AmountLTE ¶
func AmountLTE(v float64) predicate.AccessorialCharge
AmountLTE applies the LTE predicate on the "amount" field.
func AmountNEQ ¶
func AmountNEQ(v float64) predicate.AccessorialCharge
AmountNEQ applies the NEQ predicate on the "amount" field.
func AmountNotIn ¶
func AmountNotIn(vs ...float64) predicate.AccessorialCharge
AmountNotIn applies the NotIn predicate on the "amount" field.
func And ¶
func And(predicates ...predicate.AccessorialCharge) predicate.AccessorialCharge
And groups predicates with the AND operator between them.
func BusinessUnitID ¶
func BusinessUnitID(v uuid.UUID) predicate.AccessorialCharge
BusinessUnitID applies equality check predicate on the "business_unit_id" field. It's identical to BusinessUnitIDEQ.
func BusinessUnitIDEQ ¶
func BusinessUnitIDEQ(v uuid.UUID) predicate.AccessorialCharge
BusinessUnitIDEQ applies the EQ predicate on the "business_unit_id" field.
func BusinessUnitIDIn ¶
func BusinessUnitIDIn(vs ...uuid.UUID) predicate.AccessorialCharge
BusinessUnitIDIn applies the In predicate on the "business_unit_id" field.
func BusinessUnitIDNEQ ¶
func BusinessUnitIDNEQ(v uuid.UUID) predicate.AccessorialCharge
BusinessUnitIDNEQ applies the NEQ predicate on the "business_unit_id" field.
func BusinessUnitIDNotIn ¶
func BusinessUnitIDNotIn(vs ...uuid.UUID) predicate.AccessorialCharge
BusinessUnitIDNotIn applies the NotIn predicate on the "business_unit_id" field.
func Code ¶
func Code(v string) predicate.AccessorialCharge
Code applies equality check predicate on the "code" field. It's identical to CodeEQ.
func CodeContains ¶
func CodeContains(v string) predicate.AccessorialCharge
CodeContains applies the Contains predicate on the "code" field.
func CodeContainsFold ¶
func CodeContainsFold(v string) predicate.AccessorialCharge
CodeContainsFold applies the ContainsFold predicate on the "code" field.
func CodeEQ ¶
func CodeEQ(v string) predicate.AccessorialCharge
CodeEQ applies the EQ predicate on the "code" field.
func CodeEqualFold ¶
func CodeEqualFold(v string) predicate.AccessorialCharge
CodeEqualFold applies the EqualFold predicate on the "code" field.
func CodeGT ¶
func CodeGT(v string) predicate.AccessorialCharge
CodeGT applies the GT predicate on the "code" field.
func CodeGTE ¶
func CodeGTE(v string) predicate.AccessorialCharge
CodeGTE applies the GTE predicate on the "code" field.
func CodeHasPrefix ¶
func CodeHasPrefix(v string) predicate.AccessorialCharge
CodeHasPrefix applies the HasPrefix predicate on the "code" field.
func CodeHasSuffix ¶
func CodeHasSuffix(v string) predicate.AccessorialCharge
CodeHasSuffix applies the HasSuffix predicate on the "code" field.
func CodeIn ¶
func CodeIn(vs ...string) predicate.AccessorialCharge
CodeIn applies the In predicate on the "code" field.
func CodeLT ¶
func CodeLT(v string) predicate.AccessorialCharge
CodeLT applies the LT predicate on the "code" field.
func CodeLTE ¶
func CodeLTE(v string) predicate.AccessorialCharge
CodeLTE applies the LTE predicate on the "code" field.
func CodeNEQ ¶
func CodeNEQ(v string) predicate.AccessorialCharge
CodeNEQ applies the NEQ predicate on the "code" field.
func CodeNotIn ¶
func CodeNotIn(vs ...string) predicate.AccessorialCharge
CodeNotIn applies the NotIn predicate on the "code" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.AccessorialCharge
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.AccessorialCharge
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.AccessorialCharge
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.AccessorialCharge
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.AccessorialCharge
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.AccessorialCharge
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.AccessorialCharge
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.AccessorialCharge
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.AccessorialCharge
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Description ¶
func Description(v string) predicate.AccessorialCharge
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.AccessorialCharge
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.AccessorialCharge
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.AccessorialCharge
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.AccessorialCharge
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.AccessorialCharge
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.AccessorialCharge
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.AccessorialCharge
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.AccessorialCharge
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.AccessorialCharge
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.AccessorialCharge
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.AccessorialCharge
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.AccessorialCharge
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.AccessorialCharge
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.AccessorialCharge
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.AccessorialCharge
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasBusinessUnit ¶
func HasBusinessUnit() predicate.AccessorialCharge
HasBusinessUnit applies the HasEdge predicate on the "business_unit" edge.
func HasBusinessUnitWith ¶
func HasBusinessUnitWith(preds ...predicate.BusinessUnit) predicate.AccessorialCharge
HasBusinessUnitWith applies the HasEdge predicate on the "business_unit" edge with a given conditions (other predicates).
func HasOrganization ¶
func HasOrganization() predicate.AccessorialCharge
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.AccessorialCharge
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.AccessorialCharge
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.AccessorialCharge
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.AccessorialCharge
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.AccessorialCharge
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.AccessorialCharge
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.AccessorialCharge
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.AccessorialCharge
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.AccessorialCharge
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.AccessorialCharge
IDNotIn applies the NotIn predicate on the ID field.
func IsDetention ¶
func IsDetention(v bool) predicate.AccessorialCharge
IsDetention applies equality check predicate on the "is_detention" field. It's identical to IsDetentionEQ.
func IsDetentionEQ ¶
func IsDetentionEQ(v bool) predicate.AccessorialCharge
IsDetentionEQ applies the EQ predicate on the "is_detention" field.
func IsDetentionNEQ ¶
func IsDetentionNEQ(v bool) predicate.AccessorialCharge
IsDetentionNEQ applies the NEQ predicate on the "is_detention" field.
func MethodEQ ¶
func MethodEQ(v Method) predicate.AccessorialCharge
MethodEQ applies the EQ predicate on the "method" field.
func MethodIn ¶
func MethodIn(vs ...Method) predicate.AccessorialCharge
MethodIn applies the In predicate on the "method" field.
func MethodNEQ ¶
func MethodNEQ(v Method) predicate.AccessorialCharge
MethodNEQ applies the NEQ predicate on the "method" field.
func MethodNotIn ¶
func MethodNotIn(vs ...Method) predicate.AccessorialCharge
MethodNotIn applies the NotIn predicate on the "method" field.
func MethodValidator ¶
MethodValidator is a validator for the "method" field enum values. It is called by the builders before save.
func Not ¶
func Not(p predicate.AccessorialCharge) predicate.AccessorialCharge
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.AccessorialCharge) predicate.AccessorialCharge
Or groups predicates with the OR operator between them.
func OrganizationID ¶
func OrganizationID(v uuid.UUID) predicate.AccessorialCharge
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDEQ ¶
func OrganizationIDEQ(v uuid.UUID) predicate.AccessorialCharge
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDIn ¶
func OrganizationIDIn(vs ...uuid.UUID) predicate.AccessorialCharge
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
func OrganizationIDNEQ(v uuid.UUID) predicate.AccessorialCharge
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
func OrganizationIDNotIn(vs ...uuid.UUID) predicate.AccessorialCharge
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func StatusEQ ¶
func StatusEQ(v Status) predicate.AccessorialCharge
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...Status) predicate.AccessorialCharge
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v Status) predicate.AccessorialCharge
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...Status) predicate.AccessorialCharge
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.AccessorialCharge
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.AccessorialCharge
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.AccessorialCharge
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.AccessorialCharge
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.AccessorialCharge
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.AccessorialCharge
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.AccessorialCharge
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.AccessorialCharge
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.AccessorialCharge
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).
func Version ¶
func Version(v int) predicate.AccessorialCharge
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionEQ ¶
func VersionEQ(v int) predicate.AccessorialCharge
VersionEQ applies the EQ predicate on the "version" field.
func VersionGT ¶
func VersionGT(v int) predicate.AccessorialCharge
VersionGT applies the GT predicate on the "version" field.
func VersionGTE ¶
func VersionGTE(v int) predicate.AccessorialCharge
VersionGTE applies the GTE predicate on the "version" field.
func VersionIn ¶
func VersionIn(vs ...int) predicate.AccessorialCharge
VersionIn applies the In predicate on the "version" field.
func VersionLT ¶
func VersionLT(v int) predicate.AccessorialCharge
VersionLT applies the LT predicate on the "version" field.
func VersionLTE ¶
func VersionLTE(v int) predicate.AccessorialCharge
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
func VersionNEQ(v int) predicate.AccessorialCharge
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
func VersionNotIn(vs ...int) predicate.AccessorialCharge
VersionNotIn applies the NotIn predicate on the "version" field.
Types ¶
type Method ¶
type Method string
Method defines the type for the "method" enum field.
type OrderOption ¶
OrderOption defines the ordering options for the AccessorialCharge queries.
func ByAmount ¶
func ByAmount(opts ...sql.OrderTermOption) OrderOption
ByAmount orders the results by the amount field.
func ByBusinessUnitField ¶
func ByBusinessUnitField(field string, opts ...sql.OrderTermOption) OrderOption
ByBusinessUnitField orders the results by business_unit field.
func ByBusinessUnitID ¶
func ByBusinessUnitID(opts ...sql.OrderTermOption) OrderOption
ByBusinessUnitID orders the results by the business_unit_id field.
func ByCode ¶
func ByCode(opts ...sql.OrderTermOption) OrderOption
ByCode orders the results by the code field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsDetention ¶
func ByIsDetention(opts ...sql.OrderTermOption) OrderOption
ByIsDetention orders the results by the is_detention field.
func ByMethod ¶
func ByMethod(opts ...sql.OrderTermOption) OrderOption
ByMethod orders the results by the method field.
func ByOrganizationField ¶
func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
ByOrganizationField orders the results by organization field.
func ByOrganizationID ¶
func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
ByOrganizationID orders the results by the organization_id field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.