Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.EquipmentType) predicate.EquipmentType
- func BusinessUnitID(v uuid.UUID) predicate.EquipmentType
- func BusinessUnitIDEQ(v uuid.UUID) predicate.EquipmentType
- func BusinessUnitIDIn(vs ...uuid.UUID) predicate.EquipmentType
- func BusinessUnitIDNEQ(v uuid.UUID) predicate.EquipmentType
- func BusinessUnitIDNotIn(vs ...uuid.UUID) predicate.EquipmentType
- func Code(v string) predicate.EquipmentType
- func CodeContains(v string) predicate.EquipmentType
- func CodeContainsFold(v string) predicate.EquipmentType
- func CodeEQ(v string) predicate.EquipmentType
- func CodeEqualFold(v string) predicate.EquipmentType
- func CodeGT(v string) predicate.EquipmentType
- func CodeGTE(v string) predicate.EquipmentType
- func CodeHasPrefix(v string) predicate.EquipmentType
- func CodeHasSuffix(v string) predicate.EquipmentType
- func CodeIn(vs ...string) predicate.EquipmentType
- func CodeLT(v string) predicate.EquipmentType
- func CodeLTE(v string) predicate.EquipmentType
- func CodeNEQ(v string) predicate.EquipmentType
- func CodeNotIn(vs ...string) predicate.EquipmentType
- func Color(v string) predicate.EquipmentType
- func ColorContains(v string) predicate.EquipmentType
- func ColorContainsFold(v string) predicate.EquipmentType
- func ColorEQ(v string) predicate.EquipmentType
- func ColorEqualFold(v string) predicate.EquipmentType
- func ColorGT(v string) predicate.EquipmentType
- func ColorGTE(v string) predicate.EquipmentType
- func ColorHasPrefix(v string) predicate.EquipmentType
- func ColorHasSuffix(v string) predicate.EquipmentType
- func ColorIn(vs ...string) predicate.EquipmentType
- func ColorIsNil() predicate.EquipmentType
- func ColorLT(v string) predicate.EquipmentType
- func ColorLTE(v string) predicate.EquipmentType
- func ColorNEQ(v string) predicate.EquipmentType
- func ColorNotIn(vs ...string) predicate.EquipmentType
- func ColorNotNil() predicate.EquipmentType
- func CostPerMile(v float64) predicate.EquipmentType
- func CostPerMileEQ(v float64) predicate.EquipmentType
- func CostPerMileGT(v float64) predicate.EquipmentType
- func CostPerMileGTE(v float64) predicate.EquipmentType
- func CostPerMileIn(vs ...float64) predicate.EquipmentType
- func CostPerMileIsNil() predicate.EquipmentType
- func CostPerMileLT(v float64) predicate.EquipmentType
- func CostPerMileLTE(v float64) predicate.EquipmentType
- func CostPerMileNEQ(v float64) predicate.EquipmentType
- func CostPerMileNotIn(vs ...float64) predicate.EquipmentType
- func CostPerMileNotNil() predicate.EquipmentType
- func CreatedAt(v time.Time) predicate.EquipmentType
- func CreatedAtEQ(v time.Time) predicate.EquipmentType
- func CreatedAtGT(v time.Time) predicate.EquipmentType
- func CreatedAtGTE(v time.Time) predicate.EquipmentType
- func CreatedAtIn(vs ...time.Time) predicate.EquipmentType
- func CreatedAtLT(v time.Time) predicate.EquipmentType
- func CreatedAtLTE(v time.Time) predicate.EquipmentType
- func CreatedAtNEQ(v time.Time) predicate.EquipmentType
- func CreatedAtNotIn(vs ...time.Time) predicate.EquipmentType
- func Description(v string) predicate.EquipmentType
- func DescriptionContains(v string) predicate.EquipmentType
- func DescriptionContainsFold(v string) predicate.EquipmentType
- func DescriptionEQ(v string) predicate.EquipmentType
- func DescriptionEqualFold(v string) predicate.EquipmentType
- func DescriptionGT(v string) predicate.EquipmentType
- func DescriptionGTE(v string) predicate.EquipmentType
- func DescriptionHasPrefix(v string) predicate.EquipmentType
- func DescriptionHasSuffix(v string) predicate.EquipmentType
- func DescriptionIn(vs ...string) predicate.EquipmentType
- func DescriptionIsNil() predicate.EquipmentType
- func DescriptionLT(v string) predicate.EquipmentType
- func DescriptionLTE(v string) predicate.EquipmentType
- func DescriptionNEQ(v string) predicate.EquipmentType
- func DescriptionNotIn(vs ...string) predicate.EquipmentType
- func DescriptionNotNil() predicate.EquipmentType
- func EquipmentClassEQ(v EquipmentClass) predicate.EquipmentType
- func EquipmentClassIn(vs ...EquipmentClass) predicate.EquipmentType
- func EquipmentClassNEQ(v EquipmentClass) predicate.EquipmentType
- func EquipmentClassNotIn(vs ...EquipmentClass) predicate.EquipmentType
- func EquipmentClassValidator(ec EquipmentClass) error
- func ExemptFromTolls(v bool) predicate.EquipmentType
- func ExemptFromTollsEQ(v bool) predicate.EquipmentType
- func ExemptFromTollsNEQ(v bool) predicate.EquipmentType
- func FixedCost(v float64) predicate.EquipmentType
- func FixedCostEQ(v float64) predicate.EquipmentType
- func FixedCostGT(v float64) predicate.EquipmentType
- func FixedCostGTE(v float64) predicate.EquipmentType
- func FixedCostIn(vs ...float64) predicate.EquipmentType
- func FixedCostIsNil() predicate.EquipmentType
- func FixedCostLT(v float64) predicate.EquipmentType
- func FixedCostLTE(v float64) predicate.EquipmentType
- func FixedCostNEQ(v float64) predicate.EquipmentType
- func FixedCostNotIn(vs ...float64) predicate.EquipmentType
- func FixedCostNotNil() predicate.EquipmentType
- func HasBusinessUnit() predicate.EquipmentType
- func HasBusinessUnitWith(preds ...predicate.BusinessUnit) predicate.EquipmentType
- func HasOrganization() predicate.EquipmentType
- func HasOrganizationWith(preds ...predicate.Organization) predicate.EquipmentType
- func Height(v float64) predicate.EquipmentType
- func HeightEQ(v float64) predicate.EquipmentType
- func HeightGT(v float64) predicate.EquipmentType
- func HeightGTE(v float64) predicate.EquipmentType
- func HeightIn(vs ...float64) predicate.EquipmentType
- func HeightIsNil() predicate.EquipmentType
- func HeightLT(v float64) predicate.EquipmentType
- func HeightLTE(v float64) predicate.EquipmentType
- func HeightNEQ(v float64) predicate.EquipmentType
- func HeightNotIn(vs ...float64) predicate.EquipmentType
- func HeightNotNil() predicate.EquipmentType
- func ID(id uuid.UUID) predicate.EquipmentType
- func IDEQ(id uuid.UUID) predicate.EquipmentType
- func IDGT(id uuid.UUID) predicate.EquipmentType
- func IDGTE(id uuid.UUID) predicate.EquipmentType
- func IDIn(ids ...uuid.UUID) predicate.EquipmentType
- func IDLT(id uuid.UUID) predicate.EquipmentType
- func IDLTE(id uuid.UUID) predicate.EquipmentType
- func IDNEQ(id uuid.UUID) predicate.EquipmentType
- func IDNotIn(ids ...uuid.UUID) predicate.EquipmentType
- func IdlingFuelUsage(v float64) predicate.EquipmentType
- func IdlingFuelUsageEQ(v float64) predicate.EquipmentType
- func IdlingFuelUsageGT(v float64) predicate.EquipmentType
- func IdlingFuelUsageGTE(v float64) predicate.EquipmentType
- func IdlingFuelUsageIn(vs ...float64) predicate.EquipmentType
- func IdlingFuelUsageIsNil() predicate.EquipmentType
- func IdlingFuelUsageLT(v float64) predicate.EquipmentType
- func IdlingFuelUsageLTE(v float64) predicate.EquipmentType
- func IdlingFuelUsageNEQ(v float64) predicate.EquipmentType
- func IdlingFuelUsageNotIn(vs ...float64) predicate.EquipmentType
- func IdlingFuelUsageNotNil() predicate.EquipmentType
- func Length(v float64) predicate.EquipmentType
- func LengthEQ(v float64) predicate.EquipmentType
- func LengthGT(v float64) predicate.EquipmentType
- func LengthGTE(v float64) predicate.EquipmentType
- func LengthIn(vs ...float64) predicate.EquipmentType
- func LengthIsNil() predicate.EquipmentType
- func LengthLT(v float64) predicate.EquipmentType
- func LengthLTE(v float64) predicate.EquipmentType
- func LengthNEQ(v float64) predicate.EquipmentType
- func LengthNotIn(vs ...float64) predicate.EquipmentType
- func LengthNotNil() predicate.EquipmentType
- func Not(p predicate.EquipmentType) predicate.EquipmentType
- func Or(predicates ...predicate.EquipmentType) predicate.EquipmentType
- func OrganizationID(v uuid.UUID) predicate.EquipmentType
- func OrganizationIDEQ(v uuid.UUID) predicate.EquipmentType
- func OrganizationIDIn(vs ...uuid.UUID) predicate.EquipmentType
- func OrganizationIDNEQ(v uuid.UUID) predicate.EquipmentType
- func OrganizationIDNotIn(vs ...uuid.UUID) predicate.EquipmentType
- func StatusEQ(v Status) predicate.EquipmentType
- func StatusIn(vs ...Status) predicate.EquipmentType
- func StatusNEQ(v Status) predicate.EquipmentType
- func StatusNotIn(vs ...Status) predicate.EquipmentType
- func StatusValidator(s Status) error
- func UpdatedAt(v time.Time) predicate.EquipmentType
- func UpdatedAtEQ(v time.Time) predicate.EquipmentType
- func UpdatedAtGT(v time.Time) predicate.EquipmentType
- func UpdatedAtGTE(v time.Time) predicate.EquipmentType
- func UpdatedAtIn(vs ...time.Time) predicate.EquipmentType
- func UpdatedAtLT(v time.Time) predicate.EquipmentType
- func UpdatedAtLTE(v time.Time) predicate.EquipmentType
- func UpdatedAtNEQ(v time.Time) predicate.EquipmentType
- func UpdatedAtNotIn(vs ...time.Time) predicate.EquipmentType
- func ValidColumn(column string) bool
- func VariableCost(v float64) predicate.EquipmentType
- func VariableCostEQ(v float64) predicate.EquipmentType
- func VariableCostGT(v float64) predicate.EquipmentType
- func VariableCostGTE(v float64) predicate.EquipmentType
- func VariableCostIn(vs ...float64) predicate.EquipmentType
- func VariableCostIsNil() predicate.EquipmentType
- func VariableCostLT(v float64) predicate.EquipmentType
- func VariableCostLTE(v float64) predicate.EquipmentType
- func VariableCostNEQ(v float64) predicate.EquipmentType
- func VariableCostNotIn(vs ...float64) predicate.EquipmentType
- func VariableCostNotNil() predicate.EquipmentType
- func Version(v int) predicate.EquipmentType
- func VersionEQ(v int) predicate.EquipmentType
- func VersionGT(v int) predicate.EquipmentType
- func VersionGTE(v int) predicate.EquipmentType
- func VersionIn(vs ...int) predicate.EquipmentType
- func VersionLT(v int) predicate.EquipmentType
- func VersionLTE(v int) predicate.EquipmentType
- func VersionNEQ(v int) predicate.EquipmentType
- func VersionNotIn(vs ...int) predicate.EquipmentType
- func Weight(v float64) predicate.EquipmentType
- func WeightEQ(v float64) predicate.EquipmentType
- func WeightGT(v float64) predicate.EquipmentType
- func WeightGTE(v float64) predicate.EquipmentType
- func WeightIn(vs ...float64) predicate.EquipmentType
- func WeightIsNil() predicate.EquipmentType
- func WeightLT(v float64) predicate.EquipmentType
- func WeightLTE(v float64) predicate.EquipmentType
- func WeightNEQ(v float64) predicate.EquipmentType
- func WeightNotIn(vs ...float64) predicate.EquipmentType
- func WeightNotNil() predicate.EquipmentType
- func Width(v float64) predicate.EquipmentType
- func WidthEQ(v float64) predicate.EquipmentType
- func WidthGT(v float64) predicate.EquipmentType
- func WidthGTE(v float64) predicate.EquipmentType
- func WidthIn(vs ...float64) predicate.EquipmentType
- func WidthIsNil() predicate.EquipmentType
- func WidthLT(v float64) predicate.EquipmentType
- func WidthLTE(v float64) predicate.EquipmentType
- func WidthNEQ(v float64) predicate.EquipmentType
- func WidthNotIn(vs ...float64) predicate.EquipmentType
- func WidthNotNil() predicate.EquipmentType
- type EquipmentClass
- type OrderOption
- func ByBusinessUnitField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByBusinessUnitID(opts ...sql.OrderTermOption) OrderOption
- func ByCode(opts ...sql.OrderTermOption) OrderOption
- func ByColor(opts ...sql.OrderTermOption) OrderOption
- func ByCostPerMile(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByEquipmentClass(opts ...sql.OrderTermOption) OrderOption
- func ByExemptFromTolls(opts ...sql.OrderTermOption) OrderOption
- func ByFixedCost(opts ...sql.OrderTermOption) OrderOption
- func ByHeight(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIdlingFuelUsage(opts ...sql.OrderTermOption) OrderOption
- func ByLength(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 ByVariableCost(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
- func ByWeight(opts ...sql.OrderTermOption) OrderOption
- func ByWidth(opts ...sql.OrderTermOption) OrderOption
- type Status
Constants ¶
const ( // Label holds the string label denoting the equipmenttype type in the database. Label = "equipment_type" // 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" // FieldCostPerMile holds the string denoting the cost_per_mile field in the database. FieldCostPerMile = "cost_per_mile" // FieldEquipmentClass holds the string denoting the equipment_class field in the database. FieldEquipmentClass = "equipment_class" // FieldFixedCost holds the string denoting the fixed_cost field in the database. FieldFixedCost = "fixed_cost" // FieldVariableCost holds the string denoting the variable_cost field in the database. FieldVariableCost = "variable_cost" // FieldHeight holds the string denoting the height field in the database. FieldHeight = "height" // FieldLength holds the string denoting the length field in the database. FieldLength = "length" // FieldWidth holds the string denoting the width field in the database. FieldWidth = "width" // FieldWeight holds the string denoting the weight field in the database. FieldWeight = "weight" // FieldIdlingFuelUsage holds the string denoting the idling_fuel_usage field in the database. FieldIdlingFuelUsage = "idling_fuel_usage" // FieldExemptFromTolls holds the string denoting the exempt_from_tolls field in the database. FieldExemptFromTolls = "exempt_from_tolls" // FieldColor holds the string denoting the color field in the database. FieldColor = "color" // 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 equipmenttype in the database. Table = "equipment_types" // BusinessUnitTable is the table that holds the business_unit relation/edge. BusinessUnitTable = "equipment_types" // 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 = "equipment_types" // 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 DefaultEquipmentClass = EquipmentClassUndefined
EquipmentClassUndefined is the default value of the EquipmentClass enum.
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 // DefaultExemptFromTolls holds the default value on creation for the "exempt_from_tolls" field. DefaultExemptFromTolls bool // 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, FieldCostPerMile, FieldEquipmentClass, FieldFixedCost, FieldVariableCost, FieldHeight, FieldLength, FieldWidth, FieldWeight, FieldIdlingFuelUsage, FieldExemptFromTolls, FieldColor, }
Columns holds all SQL columns for equipmenttype fields.
Functions ¶
func And ¶
func And(predicates ...predicate.EquipmentType) predicate.EquipmentType
And groups predicates with the AND operator between them.
func BusinessUnitID ¶
func BusinessUnitID(v uuid.UUID) predicate.EquipmentType
BusinessUnitID applies equality check predicate on the "business_unit_id" field. It's identical to BusinessUnitIDEQ.
func BusinessUnitIDEQ ¶
func BusinessUnitIDEQ(v uuid.UUID) predicate.EquipmentType
BusinessUnitIDEQ applies the EQ predicate on the "business_unit_id" field.
func BusinessUnitIDIn ¶
func BusinessUnitIDIn(vs ...uuid.UUID) predicate.EquipmentType
BusinessUnitIDIn applies the In predicate on the "business_unit_id" field.
func BusinessUnitIDNEQ ¶
func BusinessUnitIDNEQ(v uuid.UUID) predicate.EquipmentType
BusinessUnitIDNEQ applies the NEQ predicate on the "business_unit_id" field.
func BusinessUnitIDNotIn ¶
func BusinessUnitIDNotIn(vs ...uuid.UUID) predicate.EquipmentType
BusinessUnitIDNotIn applies the NotIn predicate on the "business_unit_id" field.
func Code ¶
func Code(v string) predicate.EquipmentType
Code applies equality check predicate on the "code" field. It's identical to CodeEQ.
func CodeContains ¶
func CodeContains(v string) predicate.EquipmentType
CodeContains applies the Contains predicate on the "code" field.
func CodeContainsFold ¶
func CodeContainsFold(v string) predicate.EquipmentType
CodeContainsFold applies the ContainsFold predicate on the "code" field.
func CodeEQ ¶
func CodeEQ(v string) predicate.EquipmentType
CodeEQ applies the EQ predicate on the "code" field.
func CodeEqualFold ¶
func CodeEqualFold(v string) predicate.EquipmentType
CodeEqualFold applies the EqualFold predicate on the "code" field.
func CodeGT ¶
func CodeGT(v string) predicate.EquipmentType
CodeGT applies the GT predicate on the "code" field.
func CodeGTE ¶
func CodeGTE(v string) predicate.EquipmentType
CodeGTE applies the GTE predicate on the "code" field.
func CodeHasPrefix ¶
func CodeHasPrefix(v string) predicate.EquipmentType
CodeHasPrefix applies the HasPrefix predicate on the "code" field.
func CodeHasSuffix ¶
func CodeHasSuffix(v string) predicate.EquipmentType
CodeHasSuffix applies the HasSuffix predicate on the "code" field.
func CodeIn ¶
func CodeIn(vs ...string) predicate.EquipmentType
CodeIn applies the In predicate on the "code" field.
func CodeLT ¶
func CodeLT(v string) predicate.EquipmentType
CodeLT applies the LT predicate on the "code" field.
func CodeLTE ¶
func CodeLTE(v string) predicate.EquipmentType
CodeLTE applies the LTE predicate on the "code" field.
func CodeNEQ ¶
func CodeNEQ(v string) predicate.EquipmentType
CodeNEQ applies the NEQ predicate on the "code" field.
func CodeNotIn ¶
func CodeNotIn(vs ...string) predicate.EquipmentType
CodeNotIn applies the NotIn predicate on the "code" field.
func Color ¶
func Color(v string) predicate.EquipmentType
Color applies equality check predicate on the "color" field. It's identical to ColorEQ.
func ColorContains ¶
func ColorContains(v string) predicate.EquipmentType
ColorContains applies the Contains predicate on the "color" field.
func ColorContainsFold ¶
func ColorContainsFold(v string) predicate.EquipmentType
ColorContainsFold applies the ContainsFold predicate on the "color" field.
func ColorEQ ¶
func ColorEQ(v string) predicate.EquipmentType
ColorEQ applies the EQ predicate on the "color" field.
func ColorEqualFold ¶
func ColorEqualFold(v string) predicate.EquipmentType
ColorEqualFold applies the EqualFold predicate on the "color" field.
func ColorGT ¶
func ColorGT(v string) predicate.EquipmentType
ColorGT applies the GT predicate on the "color" field.
func ColorGTE ¶
func ColorGTE(v string) predicate.EquipmentType
ColorGTE applies the GTE predicate on the "color" field.
func ColorHasPrefix ¶
func ColorHasPrefix(v string) predicate.EquipmentType
ColorHasPrefix applies the HasPrefix predicate on the "color" field.
func ColorHasSuffix ¶
func ColorHasSuffix(v string) predicate.EquipmentType
ColorHasSuffix applies the HasSuffix predicate on the "color" field.
func ColorIn ¶
func ColorIn(vs ...string) predicate.EquipmentType
ColorIn applies the In predicate on the "color" field.
func ColorIsNil ¶
func ColorIsNil() predicate.EquipmentType
ColorIsNil applies the IsNil predicate on the "color" field.
func ColorLT ¶
func ColorLT(v string) predicate.EquipmentType
ColorLT applies the LT predicate on the "color" field.
func ColorLTE ¶
func ColorLTE(v string) predicate.EquipmentType
ColorLTE applies the LTE predicate on the "color" field.
func ColorNEQ ¶
func ColorNEQ(v string) predicate.EquipmentType
ColorNEQ applies the NEQ predicate on the "color" field.
func ColorNotIn ¶
func ColorNotIn(vs ...string) predicate.EquipmentType
ColorNotIn applies the NotIn predicate on the "color" field.
func ColorNotNil ¶
func ColorNotNil() predicate.EquipmentType
ColorNotNil applies the NotNil predicate on the "color" field.
func CostPerMile ¶
func CostPerMile(v float64) predicate.EquipmentType
CostPerMile applies equality check predicate on the "cost_per_mile" field. It's identical to CostPerMileEQ.
func CostPerMileEQ ¶
func CostPerMileEQ(v float64) predicate.EquipmentType
CostPerMileEQ applies the EQ predicate on the "cost_per_mile" field.
func CostPerMileGT ¶
func CostPerMileGT(v float64) predicate.EquipmentType
CostPerMileGT applies the GT predicate on the "cost_per_mile" field.
func CostPerMileGTE ¶
func CostPerMileGTE(v float64) predicate.EquipmentType
CostPerMileGTE applies the GTE predicate on the "cost_per_mile" field.
func CostPerMileIn ¶
func CostPerMileIn(vs ...float64) predicate.EquipmentType
CostPerMileIn applies the In predicate on the "cost_per_mile" field.
func CostPerMileIsNil ¶
func CostPerMileIsNil() predicate.EquipmentType
CostPerMileIsNil applies the IsNil predicate on the "cost_per_mile" field.
func CostPerMileLT ¶
func CostPerMileLT(v float64) predicate.EquipmentType
CostPerMileLT applies the LT predicate on the "cost_per_mile" field.
func CostPerMileLTE ¶
func CostPerMileLTE(v float64) predicate.EquipmentType
CostPerMileLTE applies the LTE predicate on the "cost_per_mile" field.
func CostPerMileNEQ ¶
func CostPerMileNEQ(v float64) predicate.EquipmentType
CostPerMileNEQ applies the NEQ predicate on the "cost_per_mile" field.
func CostPerMileNotIn ¶
func CostPerMileNotIn(vs ...float64) predicate.EquipmentType
CostPerMileNotIn applies the NotIn predicate on the "cost_per_mile" field.
func CostPerMileNotNil ¶
func CostPerMileNotNil() predicate.EquipmentType
CostPerMileNotNil applies the NotNil predicate on the "cost_per_mile" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.EquipmentType
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.EquipmentType
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.EquipmentType
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.EquipmentType
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.EquipmentType
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.EquipmentType
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.EquipmentType
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.EquipmentType
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.EquipmentType
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Description ¶
func Description(v string) predicate.EquipmentType
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.EquipmentType
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.EquipmentType
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.EquipmentType
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.EquipmentType
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.EquipmentType
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.EquipmentType
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.EquipmentType
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.EquipmentType
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.EquipmentType
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.EquipmentType
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.EquipmentType
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.EquipmentType
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.EquipmentType
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.EquipmentType
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.EquipmentType
DescriptionNotNil applies the NotNil predicate on the "description" field.
func EquipmentClassEQ ¶
func EquipmentClassEQ(v EquipmentClass) predicate.EquipmentType
EquipmentClassEQ applies the EQ predicate on the "equipment_class" field.
func EquipmentClassIn ¶
func EquipmentClassIn(vs ...EquipmentClass) predicate.EquipmentType
EquipmentClassIn applies the In predicate on the "equipment_class" field.
func EquipmentClassNEQ ¶
func EquipmentClassNEQ(v EquipmentClass) predicate.EquipmentType
EquipmentClassNEQ applies the NEQ predicate on the "equipment_class" field.
func EquipmentClassNotIn ¶
func EquipmentClassNotIn(vs ...EquipmentClass) predicate.EquipmentType
EquipmentClassNotIn applies the NotIn predicate on the "equipment_class" field.
func EquipmentClassValidator ¶
func EquipmentClassValidator(ec EquipmentClass) error
EquipmentClassValidator is a validator for the "equipment_class" field enum values. It is called by the builders before save.
func ExemptFromTolls ¶
func ExemptFromTolls(v bool) predicate.EquipmentType
ExemptFromTolls applies equality check predicate on the "exempt_from_tolls" field. It's identical to ExemptFromTollsEQ.
func ExemptFromTollsEQ ¶
func ExemptFromTollsEQ(v bool) predicate.EquipmentType
ExemptFromTollsEQ applies the EQ predicate on the "exempt_from_tolls" field.
func ExemptFromTollsNEQ ¶
func ExemptFromTollsNEQ(v bool) predicate.EquipmentType
ExemptFromTollsNEQ applies the NEQ predicate on the "exempt_from_tolls" field.
func FixedCost ¶
func FixedCost(v float64) predicate.EquipmentType
FixedCost applies equality check predicate on the "fixed_cost" field. It's identical to FixedCostEQ.
func FixedCostEQ ¶
func FixedCostEQ(v float64) predicate.EquipmentType
FixedCostEQ applies the EQ predicate on the "fixed_cost" field.
func FixedCostGT ¶
func FixedCostGT(v float64) predicate.EquipmentType
FixedCostGT applies the GT predicate on the "fixed_cost" field.
func FixedCostGTE ¶
func FixedCostGTE(v float64) predicate.EquipmentType
FixedCostGTE applies the GTE predicate on the "fixed_cost" field.
func FixedCostIn ¶
func FixedCostIn(vs ...float64) predicate.EquipmentType
FixedCostIn applies the In predicate on the "fixed_cost" field.
func FixedCostIsNil ¶
func FixedCostIsNil() predicate.EquipmentType
FixedCostIsNil applies the IsNil predicate on the "fixed_cost" field.
func FixedCostLT ¶
func FixedCostLT(v float64) predicate.EquipmentType
FixedCostLT applies the LT predicate on the "fixed_cost" field.
func FixedCostLTE ¶
func FixedCostLTE(v float64) predicate.EquipmentType
FixedCostLTE applies the LTE predicate on the "fixed_cost" field.
func FixedCostNEQ ¶
func FixedCostNEQ(v float64) predicate.EquipmentType
FixedCostNEQ applies the NEQ predicate on the "fixed_cost" field.
func FixedCostNotIn ¶
func FixedCostNotIn(vs ...float64) predicate.EquipmentType
FixedCostNotIn applies the NotIn predicate on the "fixed_cost" field.
func FixedCostNotNil ¶
func FixedCostNotNil() predicate.EquipmentType
FixedCostNotNil applies the NotNil predicate on the "fixed_cost" field.
func HasBusinessUnit ¶
func HasBusinessUnit() predicate.EquipmentType
HasBusinessUnit applies the HasEdge predicate on the "business_unit" edge.
func HasBusinessUnitWith ¶
func HasBusinessUnitWith(preds ...predicate.BusinessUnit) predicate.EquipmentType
HasBusinessUnitWith applies the HasEdge predicate on the "business_unit" edge with a given conditions (other predicates).
func HasOrganization ¶
func HasOrganization() predicate.EquipmentType
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.EquipmentType
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func Height ¶
func Height(v float64) predicate.EquipmentType
Height applies equality check predicate on the "height" field. It's identical to HeightEQ.
func HeightEQ ¶
func HeightEQ(v float64) predicate.EquipmentType
HeightEQ applies the EQ predicate on the "height" field.
func HeightGT ¶
func HeightGT(v float64) predicate.EquipmentType
HeightGT applies the GT predicate on the "height" field.
func HeightGTE ¶
func HeightGTE(v float64) predicate.EquipmentType
HeightGTE applies the GTE predicate on the "height" field.
func HeightIn ¶
func HeightIn(vs ...float64) predicate.EquipmentType
HeightIn applies the In predicate on the "height" field.
func HeightIsNil ¶
func HeightIsNil() predicate.EquipmentType
HeightIsNil applies the IsNil predicate on the "height" field.
func HeightLT ¶
func HeightLT(v float64) predicate.EquipmentType
HeightLT applies the LT predicate on the "height" field.
func HeightLTE ¶
func HeightLTE(v float64) predicate.EquipmentType
HeightLTE applies the LTE predicate on the "height" field.
func HeightNEQ ¶
func HeightNEQ(v float64) predicate.EquipmentType
HeightNEQ applies the NEQ predicate on the "height" field.
func HeightNotIn ¶
func HeightNotIn(vs ...float64) predicate.EquipmentType
HeightNotIn applies the NotIn predicate on the "height" field.
func HeightNotNil ¶
func HeightNotNil() predicate.EquipmentType
HeightNotNil applies the NotNil predicate on the "height" field.
func ID ¶
func ID(id uuid.UUID) predicate.EquipmentType
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.EquipmentType
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.EquipmentType
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.EquipmentType
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.EquipmentType
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.EquipmentType
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.EquipmentType
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.EquipmentType
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.EquipmentType
IDNotIn applies the NotIn predicate on the ID field.
func IdlingFuelUsage ¶
func IdlingFuelUsage(v float64) predicate.EquipmentType
IdlingFuelUsage applies equality check predicate on the "idling_fuel_usage" field. It's identical to IdlingFuelUsageEQ.
func IdlingFuelUsageEQ ¶
func IdlingFuelUsageEQ(v float64) predicate.EquipmentType
IdlingFuelUsageEQ applies the EQ predicate on the "idling_fuel_usage" field.
func IdlingFuelUsageGT ¶
func IdlingFuelUsageGT(v float64) predicate.EquipmentType
IdlingFuelUsageGT applies the GT predicate on the "idling_fuel_usage" field.
func IdlingFuelUsageGTE ¶
func IdlingFuelUsageGTE(v float64) predicate.EquipmentType
IdlingFuelUsageGTE applies the GTE predicate on the "idling_fuel_usage" field.
func IdlingFuelUsageIn ¶
func IdlingFuelUsageIn(vs ...float64) predicate.EquipmentType
IdlingFuelUsageIn applies the In predicate on the "idling_fuel_usage" field.
func IdlingFuelUsageIsNil ¶
func IdlingFuelUsageIsNil() predicate.EquipmentType
IdlingFuelUsageIsNil applies the IsNil predicate on the "idling_fuel_usage" field.
func IdlingFuelUsageLT ¶
func IdlingFuelUsageLT(v float64) predicate.EquipmentType
IdlingFuelUsageLT applies the LT predicate on the "idling_fuel_usage" field.
func IdlingFuelUsageLTE ¶
func IdlingFuelUsageLTE(v float64) predicate.EquipmentType
IdlingFuelUsageLTE applies the LTE predicate on the "idling_fuel_usage" field.
func IdlingFuelUsageNEQ ¶
func IdlingFuelUsageNEQ(v float64) predicate.EquipmentType
IdlingFuelUsageNEQ applies the NEQ predicate on the "idling_fuel_usage" field.
func IdlingFuelUsageNotIn ¶
func IdlingFuelUsageNotIn(vs ...float64) predicate.EquipmentType
IdlingFuelUsageNotIn applies the NotIn predicate on the "idling_fuel_usage" field.
func IdlingFuelUsageNotNil ¶
func IdlingFuelUsageNotNil() predicate.EquipmentType
IdlingFuelUsageNotNil applies the NotNil predicate on the "idling_fuel_usage" field.
func Length ¶
func Length(v float64) predicate.EquipmentType
Length applies equality check predicate on the "length" field. It's identical to LengthEQ.
func LengthEQ ¶
func LengthEQ(v float64) predicate.EquipmentType
LengthEQ applies the EQ predicate on the "length" field.
func LengthGT ¶
func LengthGT(v float64) predicate.EquipmentType
LengthGT applies the GT predicate on the "length" field.
func LengthGTE ¶
func LengthGTE(v float64) predicate.EquipmentType
LengthGTE applies the GTE predicate on the "length" field.
func LengthIn ¶
func LengthIn(vs ...float64) predicate.EquipmentType
LengthIn applies the In predicate on the "length" field.
func LengthIsNil ¶
func LengthIsNil() predicate.EquipmentType
LengthIsNil applies the IsNil predicate on the "length" field.
func LengthLT ¶
func LengthLT(v float64) predicate.EquipmentType
LengthLT applies the LT predicate on the "length" field.
func LengthLTE ¶
func LengthLTE(v float64) predicate.EquipmentType
LengthLTE applies the LTE predicate on the "length" field.
func LengthNEQ ¶
func LengthNEQ(v float64) predicate.EquipmentType
LengthNEQ applies the NEQ predicate on the "length" field.
func LengthNotIn ¶
func LengthNotIn(vs ...float64) predicate.EquipmentType
LengthNotIn applies the NotIn predicate on the "length" field.
func LengthNotNil ¶
func LengthNotNil() predicate.EquipmentType
LengthNotNil applies the NotNil predicate on the "length" field.
func Not ¶
func Not(p predicate.EquipmentType) predicate.EquipmentType
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.EquipmentType) predicate.EquipmentType
Or groups predicates with the OR operator between them.
func OrganizationID ¶
func OrganizationID(v uuid.UUID) predicate.EquipmentType
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDEQ ¶
func OrganizationIDEQ(v uuid.UUID) predicate.EquipmentType
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDIn ¶
func OrganizationIDIn(vs ...uuid.UUID) predicate.EquipmentType
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
func OrganizationIDNEQ(v uuid.UUID) predicate.EquipmentType
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
func OrganizationIDNotIn(vs ...uuid.UUID) predicate.EquipmentType
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func StatusEQ ¶
func StatusEQ(v Status) predicate.EquipmentType
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...Status) predicate.EquipmentType
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v Status) predicate.EquipmentType
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...Status) predicate.EquipmentType
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.EquipmentType
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.EquipmentType
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.EquipmentType
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.EquipmentType
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.EquipmentType
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.EquipmentType
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.EquipmentType
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.EquipmentType
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.EquipmentType
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 VariableCost ¶
func VariableCost(v float64) predicate.EquipmentType
VariableCost applies equality check predicate on the "variable_cost" field. It's identical to VariableCostEQ.
func VariableCostEQ ¶
func VariableCostEQ(v float64) predicate.EquipmentType
VariableCostEQ applies the EQ predicate on the "variable_cost" field.
func VariableCostGT ¶
func VariableCostGT(v float64) predicate.EquipmentType
VariableCostGT applies the GT predicate on the "variable_cost" field.
func VariableCostGTE ¶
func VariableCostGTE(v float64) predicate.EquipmentType
VariableCostGTE applies the GTE predicate on the "variable_cost" field.
func VariableCostIn ¶
func VariableCostIn(vs ...float64) predicate.EquipmentType
VariableCostIn applies the In predicate on the "variable_cost" field.
func VariableCostIsNil ¶
func VariableCostIsNil() predicate.EquipmentType
VariableCostIsNil applies the IsNil predicate on the "variable_cost" field.
func VariableCostLT ¶
func VariableCostLT(v float64) predicate.EquipmentType
VariableCostLT applies the LT predicate on the "variable_cost" field.
func VariableCostLTE ¶
func VariableCostLTE(v float64) predicate.EquipmentType
VariableCostLTE applies the LTE predicate on the "variable_cost" field.
func VariableCostNEQ ¶
func VariableCostNEQ(v float64) predicate.EquipmentType
VariableCostNEQ applies the NEQ predicate on the "variable_cost" field.
func VariableCostNotIn ¶
func VariableCostNotIn(vs ...float64) predicate.EquipmentType
VariableCostNotIn applies the NotIn predicate on the "variable_cost" field.
func VariableCostNotNil ¶
func VariableCostNotNil() predicate.EquipmentType
VariableCostNotNil applies the NotNil predicate on the "variable_cost" field.
func Version ¶
func Version(v int) predicate.EquipmentType
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionEQ ¶
func VersionEQ(v int) predicate.EquipmentType
VersionEQ applies the EQ predicate on the "version" field.
func VersionGT ¶
func VersionGT(v int) predicate.EquipmentType
VersionGT applies the GT predicate on the "version" field.
func VersionGTE ¶
func VersionGTE(v int) predicate.EquipmentType
VersionGTE applies the GTE predicate on the "version" field.
func VersionIn ¶
func VersionIn(vs ...int) predicate.EquipmentType
VersionIn applies the In predicate on the "version" field.
func VersionLT ¶
func VersionLT(v int) predicate.EquipmentType
VersionLT applies the LT predicate on the "version" field.
func VersionLTE ¶
func VersionLTE(v int) predicate.EquipmentType
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
func VersionNEQ(v int) predicate.EquipmentType
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
func VersionNotIn(vs ...int) predicate.EquipmentType
VersionNotIn applies the NotIn predicate on the "version" field.
func Weight ¶
func Weight(v float64) predicate.EquipmentType
Weight applies equality check predicate on the "weight" field. It's identical to WeightEQ.
func WeightEQ ¶
func WeightEQ(v float64) predicate.EquipmentType
WeightEQ applies the EQ predicate on the "weight" field.
func WeightGT ¶
func WeightGT(v float64) predicate.EquipmentType
WeightGT applies the GT predicate on the "weight" field.
func WeightGTE ¶
func WeightGTE(v float64) predicate.EquipmentType
WeightGTE applies the GTE predicate on the "weight" field.
func WeightIn ¶
func WeightIn(vs ...float64) predicate.EquipmentType
WeightIn applies the In predicate on the "weight" field.
func WeightIsNil ¶
func WeightIsNil() predicate.EquipmentType
WeightIsNil applies the IsNil predicate on the "weight" field.
func WeightLT ¶
func WeightLT(v float64) predicate.EquipmentType
WeightLT applies the LT predicate on the "weight" field.
func WeightLTE ¶
func WeightLTE(v float64) predicate.EquipmentType
WeightLTE applies the LTE predicate on the "weight" field.
func WeightNEQ ¶
func WeightNEQ(v float64) predicate.EquipmentType
WeightNEQ applies the NEQ predicate on the "weight" field.
func WeightNotIn ¶
func WeightNotIn(vs ...float64) predicate.EquipmentType
WeightNotIn applies the NotIn predicate on the "weight" field.
func WeightNotNil ¶
func WeightNotNil() predicate.EquipmentType
WeightNotNil applies the NotNil predicate on the "weight" field.
func Width ¶
func Width(v float64) predicate.EquipmentType
Width applies equality check predicate on the "width" field. It's identical to WidthEQ.
func WidthEQ ¶
func WidthEQ(v float64) predicate.EquipmentType
WidthEQ applies the EQ predicate on the "width" field.
func WidthGT ¶
func WidthGT(v float64) predicate.EquipmentType
WidthGT applies the GT predicate on the "width" field.
func WidthGTE ¶
func WidthGTE(v float64) predicate.EquipmentType
WidthGTE applies the GTE predicate on the "width" field.
func WidthIn ¶
func WidthIn(vs ...float64) predicate.EquipmentType
WidthIn applies the In predicate on the "width" field.
func WidthIsNil ¶
func WidthIsNil() predicate.EquipmentType
WidthIsNil applies the IsNil predicate on the "width" field.
func WidthLT ¶
func WidthLT(v float64) predicate.EquipmentType
WidthLT applies the LT predicate on the "width" field.
func WidthLTE ¶
func WidthLTE(v float64) predicate.EquipmentType
WidthLTE applies the LTE predicate on the "width" field.
func WidthNEQ ¶
func WidthNEQ(v float64) predicate.EquipmentType
WidthNEQ applies the NEQ predicate on the "width" field.
func WidthNotIn ¶
func WidthNotIn(vs ...float64) predicate.EquipmentType
WidthNotIn applies the NotIn predicate on the "width" field.
func WidthNotNil ¶
func WidthNotNil() predicate.EquipmentType
WidthNotNil applies the NotNil predicate on the "width" field.
Types ¶
type EquipmentClass ¶
type EquipmentClass string
EquipmentClass defines the type for the "equipment_class" enum field.
const ( EquipmentClassUndefined EquipmentClass = "Undefined" EquipmentClassCar EquipmentClass = "Car" EquipmentClassVan EquipmentClass = "Van" EquipmentClassPickup EquipmentClass = "Pickup" EquipmentClassStraight EquipmentClass = "Straight" EquipmentClassTractor EquipmentClass = "Tractor" EquipmentClassTrailer EquipmentClass = "Trailer" EquipmentClassContainer EquipmentClass = "Container" EquipmentClassChassis EquipmentClass = "Chassis" EquipmentClassOther EquipmentClass = "Other" )
EquipmentClass values.
func (EquipmentClass) String ¶
func (ec EquipmentClass) String() string
type OrderOption ¶
OrderOption defines the ordering options for the EquipmentType queries.
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 ByColor ¶
func ByColor(opts ...sql.OrderTermOption) OrderOption
ByColor orders the results by the color field.
func ByCostPerMile ¶
func ByCostPerMile(opts ...sql.OrderTermOption) OrderOption
ByCostPerMile orders the results by the cost_per_mile 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 ByEquipmentClass ¶
func ByEquipmentClass(opts ...sql.OrderTermOption) OrderOption
ByEquipmentClass orders the results by the equipment_class field.
func ByExemptFromTolls ¶
func ByExemptFromTolls(opts ...sql.OrderTermOption) OrderOption
ByExemptFromTolls orders the results by the exempt_from_tolls field.
func ByFixedCost ¶
func ByFixedCost(opts ...sql.OrderTermOption) OrderOption
ByFixedCost orders the results by the fixed_cost field.
func ByHeight ¶
func ByHeight(opts ...sql.OrderTermOption) OrderOption
ByHeight orders the results by the height field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIdlingFuelUsage ¶
func ByIdlingFuelUsage(opts ...sql.OrderTermOption) OrderOption
ByIdlingFuelUsage orders the results by the idling_fuel_usage field.
func ByLength ¶
func ByLength(opts ...sql.OrderTermOption) OrderOption
ByLength orders the results by the length 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 ByVariableCost ¶
func ByVariableCost(opts ...sql.OrderTermOption) OrderOption
ByVariableCost orders the results by the variable_cost field.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.
func ByWeight ¶
func ByWeight(opts ...sql.OrderTermOption) OrderOption
ByWeight orders the results by the weight field.
func ByWidth ¶
func ByWidth(opts ...sql.OrderTermOption) OrderOption
ByWidth orders the results by the width field.