Files
bj_power/bj_power_wms/ent/inventorybatch/where.go
T

860 lines
34 KiB
Go
Raw Normal View History

2026-08-27 19:50:57 +08:00
// Code generated by ent, DO NOT EDIT.
package inventorybatch
import (
"bj_power_wms/ent/predicate"
"entgo.io/ent/dialect/sql"
)
// ID filters vertices based on their ID field.
func ID(id int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldID, id))
}
// IDEQ applies the EQ predicate on the ID field.
func IDEQ(id int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldID, id))
}
// IDNEQ applies the NEQ predicate on the ID field.
func IDNEQ(id int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNEQ(FieldID, id))
}
// IDIn applies the In predicate on the ID field.
func IDIn(ids ...int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldIn(FieldID, ids...))
}
// IDNotIn applies the NotIn predicate on the ID field.
func IDNotIn(ids ...int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNotIn(FieldID, ids...))
}
// IDGT applies the GT predicate on the ID field.
func IDGT(id int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGT(FieldID, id))
}
// IDGTE applies the GTE predicate on the ID field.
func IDGTE(id int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGTE(FieldID, id))
}
// IDLT applies the LT predicate on the ID field.
func IDLT(id int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLT(FieldID, id))
}
// IDLTE applies the LTE predicate on the ID field.
func IDLTE(id int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLTE(FieldID, id))
}
// BatchNo applies equality check predicate on the "batch_no" field. It's identical to BatchNoEQ.
func BatchNo(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldBatchNo, v))
}
// MaterialCode applies equality check predicate on the "material_code" field. It's identical to MaterialCodeEQ.
func MaterialCode(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldMaterialCode, v))
}
// MaterialName applies equality check predicate on the "material_name" field. It's identical to MaterialNameEQ.
func MaterialName(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldMaterialName, v))
}
// Quantity applies equality check predicate on the "quantity" field. It's identical to QuantityEQ.
func Quantity(v int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldQuantity, v))
}
// LockedQty applies equality check predicate on the "locked_qty" field. It's identical to LockedQtyEQ.
func LockedQty(v int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldLockedQty, v))
}
// ProductionDate applies equality check predicate on the "production_date" field. It's identical to ProductionDateEQ.
func ProductionDate(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldProductionDate, v))
}
// Supplier applies equality check predicate on the "supplier" field. It's identical to SupplierEQ.
func Supplier(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldSupplier, v))
}
// QualityStatus applies equality check predicate on the "quality_status" field. It's identical to QualityStatusEQ.
func QualityStatus(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldQualityStatus, v))
}
// ZoneCode applies equality check predicate on the "zone_code" field. It's identical to ZoneCodeEQ.
func ZoneCode(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldZoneCode, v))
}
// Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
func Remark(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldRemark, v))
}
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAt(v int64) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldCreatedAt, v))
}
// UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAt(v int64) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldUpdatedAt, v))
}
// BatchNoEQ applies the EQ predicate on the "batch_no" field.
func BatchNoEQ(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldBatchNo, v))
}
// BatchNoNEQ applies the NEQ predicate on the "batch_no" field.
func BatchNoNEQ(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNEQ(FieldBatchNo, v))
}
// BatchNoIn applies the In predicate on the "batch_no" field.
func BatchNoIn(vs ...string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldIn(FieldBatchNo, vs...))
}
// BatchNoNotIn applies the NotIn predicate on the "batch_no" field.
func BatchNoNotIn(vs ...string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNotIn(FieldBatchNo, vs...))
}
// BatchNoGT applies the GT predicate on the "batch_no" field.
func BatchNoGT(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGT(FieldBatchNo, v))
}
// BatchNoGTE applies the GTE predicate on the "batch_no" field.
func BatchNoGTE(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGTE(FieldBatchNo, v))
}
// BatchNoLT applies the LT predicate on the "batch_no" field.
func BatchNoLT(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLT(FieldBatchNo, v))
}
// BatchNoLTE applies the LTE predicate on the "batch_no" field.
func BatchNoLTE(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLTE(FieldBatchNo, v))
}
// BatchNoContains applies the Contains predicate on the "batch_no" field.
func BatchNoContains(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldContains(FieldBatchNo, v))
}
// BatchNoHasPrefix applies the HasPrefix predicate on the "batch_no" field.
func BatchNoHasPrefix(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldHasPrefix(FieldBatchNo, v))
}
// BatchNoHasSuffix applies the HasSuffix predicate on the "batch_no" field.
func BatchNoHasSuffix(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldHasSuffix(FieldBatchNo, v))
}
// BatchNoEqualFold applies the EqualFold predicate on the "batch_no" field.
func BatchNoEqualFold(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEqualFold(FieldBatchNo, v))
}
// BatchNoContainsFold applies the ContainsFold predicate on the "batch_no" field.
func BatchNoContainsFold(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldContainsFold(FieldBatchNo, v))
}
// MaterialCodeEQ applies the EQ predicate on the "material_code" field.
func MaterialCodeEQ(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldMaterialCode, v))
}
// MaterialCodeNEQ applies the NEQ predicate on the "material_code" field.
func MaterialCodeNEQ(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNEQ(FieldMaterialCode, v))
}
// MaterialCodeIn applies the In predicate on the "material_code" field.
func MaterialCodeIn(vs ...string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldIn(FieldMaterialCode, vs...))
}
// MaterialCodeNotIn applies the NotIn predicate on the "material_code" field.
func MaterialCodeNotIn(vs ...string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNotIn(FieldMaterialCode, vs...))
}
// MaterialCodeGT applies the GT predicate on the "material_code" field.
func MaterialCodeGT(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGT(FieldMaterialCode, v))
}
// MaterialCodeGTE applies the GTE predicate on the "material_code" field.
func MaterialCodeGTE(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGTE(FieldMaterialCode, v))
}
// MaterialCodeLT applies the LT predicate on the "material_code" field.
func MaterialCodeLT(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLT(FieldMaterialCode, v))
}
// MaterialCodeLTE applies the LTE predicate on the "material_code" field.
func MaterialCodeLTE(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLTE(FieldMaterialCode, v))
}
// MaterialCodeContains applies the Contains predicate on the "material_code" field.
func MaterialCodeContains(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldContains(FieldMaterialCode, v))
}
// MaterialCodeHasPrefix applies the HasPrefix predicate on the "material_code" field.
func MaterialCodeHasPrefix(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldHasPrefix(FieldMaterialCode, v))
}
// MaterialCodeHasSuffix applies the HasSuffix predicate on the "material_code" field.
func MaterialCodeHasSuffix(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldHasSuffix(FieldMaterialCode, v))
}
// MaterialCodeEqualFold applies the EqualFold predicate on the "material_code" field.
func MaterialCodeEqualFold(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEqualFold(FieldMaterialCode, v))
}
// MaterialCodeContainsFold applies the ContainsFold predicate on the "material_code" field.
func MaterialCodeContainsFold(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldContainsFold(FieldMaterialCode, v))
}
// MaterialNameEQ applies the EQ predicate on the "material_name" field.
func MaterialNameEQ(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldMaterialName, v))
}
// MaterialNameNEQ applies the NEQ predicate on the "material_name" field.
func MaterialNameNEQ(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNEQ(FieldMaterialName, v))
}
// MaterialNameIn applies the In predicate on the "material_name" field.
func MaterialNameIn(vs ...string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldIn(FieldMaterialName, vs...))
}
// MaterialNameNotIn applies the NotIn predicate on the "material_name" field.
func MaterialNameNotIn(vs ...string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNotIn(FieldMaterialName, vs...))
}
// MaterialNameGT applies the GT predicate on the "material_name" field.
func MaterialNameGT(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGT(FieldMaterialName, v))
}
// MaterialNameGTE applies the GTE predicate on the "material_name" field.
func MaterialNameGTE(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGTE(FieldMaterialName, v))
}
// MaterialNameLT applies the LT predicate on the "material_name" field.
func MaterialNameLT(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLT(FieldMaterialName, v))
}
// MaterialNameLTE applies the LTE predicate on the "material_name" field.
func MaterialNameLTE(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLTE(FieldMaterialName, v))
}
// MaterialNameContains applies the Contains predicate on the "material_name" field.
func MaterialNameContains(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldContains(FieldMaterialName, v))
}
// MaterialNameHasPrefix applies the HasPrefix predicate on the "material_name" field.
func MaterialNameHasPrefix(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldHasPrefix(FieldMaterialName, v))
}
// MaterialNameHasSuffix applies the HasSuffix predicate on the "material_name" field.
func MaterialNameHasSuffix(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldHasSuffix(FieldMaterialName, v))
}
// MaterialNameIsNil applies the IsNil predicate on the "material_name" field.
func MaterialNameIsNil() predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldIsNull(FieldMaterialName))
}
// MaterialNameNotNil applies the NotNil predicate on the "material_name" field.
func MaterialNameNotNil() predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNotNull(FieldMaterialName))
}
// MaterialNameEqualFold applies the EqualFold predicate on the "material_name" field.
func MaterialNameEqualFold(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEqualFold(FieldMaterialName, v))
}
// MaterialNameContainsFold applies the ContainsFold predicate on the "material_name" field.
func MaterialNameContainsFold(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldContainsFold(FieldMaterialName, v))
}
// QuantityEQ applies the EQ predicate on the "quantity" field.
func QuantityEQ(v int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldQuantity, v))
}
// QuantityNEQ applies the NEQ predicate on the "quantity" field.
func QuantityNEQ(v int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNEQ(FieldQuantity, v))
}
// QuantityIn applies the In predicate on the "quantity" field.
func QuantityIn(vs ...int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldIn(FieldQuantity, vs...))
}
// QuantityNotIn applies the NotIn predicate on the "quantity" field.
func QuantityNotIn(vs ...int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNotIn(FieldQuantity, vs...))
}
// QuantityGT applies the GT predicate on the "quantity" field.
func QuantityGT(v int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGT(FieldQuantity, v))
}
// QuantityGTE applies the GTE predicate on the "quantity" field.
func QuantityGTE(v int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGTE(FieldQuantity, v))
}
// QuantityLT applies the LT predicate on the "quantity" field.
func QuantityLT(v int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLT(FieldQuantity, v))
}
// QuantityLTE applies the LTE predicate on the "quantity" field.
func QuantityLTE(v int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLTE(FieldQuantity, v))
}
// LockedQtyEQ applies the EQ predicate on the "locked_qty" field.
func LockedQtyEQ(v int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldLockedQty, v))
}
// LockedQtyNEQ applies the NEQ predicate on the "locked_qty" field.
func LockedQtyNEQ(v int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNEQ(FieldLockedQty, v))
}
// LockedQtyIn applies the In predicate on the "locked_qty" field.
func LockedQtyIn(vs ...int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldIn(FieldLockedQty, vs...))
}
// LockedQtyNotIn applies the NotIn predicate on the "locked_qty" field.
func LockedQtyNotIn(vs ...int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNotIn(FieldLockedQty, vs...))
}
// LockedQtyGT applies the GT predicate on the "locked_qty" field.
func LockedQtyGT(v int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGT(FieldLockedQty, v))
}
// LockedQtyGTE applies the GTE predicate on the "locked_qty" field.
func LockedQtyGTE(v int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGTE(FieldLockedQty, v))
}
// LockedQtyLT applies the LT predicate on the "locked_qty" field.
func LockedQtyLT(v int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLT(FieldLockedQty, v))
}
// LockedQtyLTE applies the LTE predicate on the "locked_qty" field.
func LockedQtyLTE(v int) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLTE(FieldLockedQty, v))
}
// ProductionDateEQ applies the EQ predicate on the "production_date" field.
func ProductionDateEQ(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldProductionDate, v))
}
// ProductionDateNEQ applies the NEQ predicate on the "production_date" field.
func ProductionDateNEQ(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNEQ(FieldProductionDate, v))
}
// ProductionDateIn applies the In predicate on the "production_date" field.
func ProductionDateIn(vs ...string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldIn(FieldProductionDate, vs...))
}
// ProductionDateNotIn applies the NotIn predicate on the "production_date" field.
func ProductionDateNotIn(vs ...string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNotIn(FieldProductionDate, vs...))
}
// ProductionDateGT applies the GT predicate on the "production_date" field.
func ProductionDateGT(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGT(FieldProductionDate, v))
}
// ProductionDateGTE applies the GTE predicate on the "production_date" field.
func ProductionDateGTE(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGTE(FieldProductionDate, v))
}
// ProductionDateLT applies the LT predicate on the "production_date" field.
func ProductionDateLT(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLT(FieldProductionDate, v))
}
// ProductionDateLTE applies the LTE predicate on the "production_date" field.
func ProductionDateLTE(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLTE(FieldProductionDate, v))
}
// ProductionDateContains applies the Contains predicate on the "production_date" field.
func ProductionDateContains(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldContains(FieldProductionDate, v))
}
// ProductionDateHasPrefix applies the HasPrefix predicate on the "production_date" field.
func ProductionDateHasPrefix(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldHasPrefix(FieldProductionDate, v))
}
// ProductionDateHasSuffix applies the HasSuffix predicate on the "production_date" field.
func ProductionDateHasSuffix(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldHasSuffix(FieldProductionDate, v))
}
// ProductionDateIsNil applies the IsNil predicate on the "production_date" field.
func ProductionDateIsNil() predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldIsNull(FieldProductionDate))
}
// ProductionDateNotNil applies the NotNil predicate on the "production_date" field.
func ProductionDateNotNil() predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNotNull(FieldProductionDate))
}
// ProductionDateEqualFold applies the EqualFold predicate on the "production_date" field.
func ProductionDateEqualFold(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEqualFold(FieldProductionDate, v))
}
// ProductionDateContainsFold applies the ContainsFold predicate on the "production_date" field.
func ProductionDateContainsFold(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldContainsFold(FieldProductionDate, v))
}
// SupplierEQ applies the EQ predicate on the "supplier" field.
func SupplierEQ(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldSupplier, v))
}
// SupplierNEQ applies the NEQ predicate on the "supplier" field.
func SupplierNEQ(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNEQ(FieldSupplier, v))
}
// SupplierIn applies the In predicate on the "supplier" field.
func SupplierIn(vs ...string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldIn(FieldSupplier, vs...))
}
// SupplierNotIn applies the NotIn predicate on the "supplier" field.
func SupplierNotIn(vs ...string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNotIn(FieldSupplier, vs...))
}
// SupplierGT applies the GT predicate on the "supplier" field.
func SupplierGT(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGT(FieldSupplier, v))
}
// SupplierGTE applies the GTE predicate on the "supplier" field.
func SupplierGTE(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGTE(FieldSupplier, v))
}
// SupplierLT applies the LT predicate on the "supplier" field.
func SupplierLT(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLT(FieldSupplier, v))
}
// SupplierLTE applies the LTE predicate on the "supplier" field.
func SupplierLTE(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLTE(FieldSupplier, v))
}
// SupplierContains applies the Contains predicate on the "supplier" field.
func SupplierContains(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldContains(FieldSupplier, v))
}
// SupplierHasPrefix applies the HasPrefix predicate on the "supplier" field.
func SupplierHasPrefix(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldHasPrefix(FieldSupplier, v))
}
// SupplierHasSuffix applies the HasSuffix predicate on the "supplier" field.
func SupplierHasSuffix(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldHasSuffix(FieldSupplier, v))
}
// SupplierIsNil applies the IsNil predicate on the "supplier" field.
func SupplierIsNil() predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldIsNull(FieldSupplier))
}
// SupplierNotNil applies the NotNil predicate on the "supplier" field.
func SupplierNotNil() predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNotNull(FieldSupplier))
}
// SupplierEqualFold applies the EqualFold predicate on the "supplier" field.
func SupplierEqualFold(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEqualFold(FieldSupplier, v))
}
// SupplierContainsFold applies the ContainsFold predicate on the "supplier" field.
func SupplierContainsFold(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldContainsFold(FieldSupplier, v))
}
// QualityStatusEQ applies the EQ predicate on the "quality_status" field.
func QualityStatusEQ(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldQualityStatus, v))
}
// QualityStatusNEQ applies the NEQ predicate on the "quality_status" field.
func QualityStatusNEQ(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNEQ(FieldQualityStatus, v))
}
// QualityStatusIn applies the In predicate on the "quality_status" field.
func QualityStatusIn(vs ...string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldIn(FieldQualityStatus, vs...))
}
// QualityStatusNotIn applies the NotIn predicate on the "quality_status" field.
func QualityStatusNotIn(vs ...string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNotIn(FieldQualityStatus, vs...))
}
// QualityStatusGT applies the GT predicate on the "quality_status" field.
func QualityStatusGT(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGT(FieldQualityStatus, v))
}
// QualityStatusGTE applies the GTE predicate on the "quality_status" field.
func QualityStatusGTE(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGTE(FieldQualityStatus, v))
}
// QualityStatusLT applies the LT predicate on the "quality_status" field.
func QualityStatusLT(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLT(FieldQualityStatus, v))
}
// QualityStatusLTE applies the LTE predicate on the "quality_status" field.
func QualityStatusLTE(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLTE(FieldQualityStatus, v))
}
// QualityStatusContains applies the Contains predicate on the "quality_status" field.
func QualityStatusContains(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldContains(FieldQualityStatus, v))
}
// QualityStatusHasPrefix applies the HasPrefix predicate on the "quality_status" field.
func QualityStatusHasPrefix(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldHasPrefix(FieldQualityStatus, v))
}
// QualityStatusHasSuffix applies the HasSuffix predicate on the "quality_status" field.
func QualityStatusHasSuffix(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldHasSuffix(FieldQualityStatus, v))
}
// QualityStatusEqualFold applies the EqualFold predicate on the "quality_status" field.
func QualityStatusEqualFold(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEqualFold(FieldQualityStatus, v))
}
// QualityStatusContainsFold applies the ContainsFold predicate on the "quality_status" field.
func QualityStatusContainsFold(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldContainsFold(FieldQualityStatus, v))
}
// ZoneCodeEQ applies the EQ predicate on the "zone_code" field.
func ZoneCodeEQ(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldZoneCode, v))
}
// ZoneCodeNEQ applies the NEQ predicate on the "zone_code" field.
func ZoneCodeNEQ(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNEQ(FieldZoneCode, v))
}
// ZoneCodeIn applies the In predicate on the "zone_code" field.
func ZoneCodeIn(vs ...string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldIn(FieldZoneCode, vs...))
}
// ZoneCodeNotIn applies the NotIn predicate on the "zone_code" field.
func ZoneCodeNotIn(vs ...string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNotIn(FieldZoneCode, vs...))
}
// ZoneCodeGT applies the GT predicate on the "zone_code" field.
func ZoneCodeGT(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGT(FieldZoneCode, v))
}
// ZoneCodeGTE applies the GTE predicate on the "zone_code" field.
func ZoneCodeGTE(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGTE(FieldZoneCode, v))
}
// ZoneCodeLT applies the LT predicate on the "zone_code" field.
func ZoneCodeLT(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLT(FieldZoneCode, v))
}
// ZoneCodeLTE applies the LTE predicate on the "zone_code" field.
func ZoneCodeLTE(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLTE(FieldZoneCode, v))
}
// ZoneCodeContains applies the Contains predicate on the "zone_code" field.
func ZoneCodeContains(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldContains(FieldZoneCode, v))
}
// ZoneCodeHasPrefix applies the HasPrefix predicate on the "zone_code" field.
func ZoneCodeHasPrefix(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldHasPrefix(FieldZoneCode, v))
}
// ZoneCodeHasSuffix applies the HasSuffix predicate on the "zone_code" field.
func ZoneCodeHasSuffix(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldHasSuffix(FieldZoneCode, v))
}
// ZoneCodeIsNil applies the IsNil predicate on the "zone_code" field.
func ZoneCodeIsNil() predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldIsNull(FieldZoneCode))
}
// ZoneCodeNotNil applies the NotNil predicate on the "zone_code" field.
func ZoneCodeNotNil() predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNotNull(FieldZoneCode))
}
// ZoneCodeEqualFold applies the EqualFold predicate on the "zone_code" field.
func ZoneCodeEqualFold(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEqualFold(FieldZoneCode, v))
}
// ZoneCodeContainsFold applies the ContainsFold predicate on the "zone_code" field.
func ZoneCodeContainsFold(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldContainsFold(FieldZoneCode, v))
}
// RemarkEQ applies the EQ predicate on the "remark" field.
func RemarkEQ(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldRemark, v))
}
// RemarkNEQ applies the NEQ predicate on the "remark" field.
func RemarkNEQ(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNEQ(FieldRemark, v))
}
// RemarkIn applies the In predicate on the "remark" field.
func RemarkIn(vs ...string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldIn(FieldRemark, vs...))
}
// RemarkNotIn applies the NotIn predicate on the "remark" field.
func RemarkNotIn(vs ...string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNotIn(FieldRemark, vs...))
}
// RemarkGT applies the GT predicate on the "remark" field.
func RemarkGT(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGT(FieldRemark, v))
}
// RemarkGTE applies the GTE predicate on the "remark" field.
func RemarkGTE(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGTE(FieldRemark, v))
}
// RemarkLT applies the LT predicate on the "remark" field.
func RemarkLT(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLT(FieldRemark, v))
}
// RemarkLTE applies the LTE predicate on the "remark" field.
func RemarkLTE(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLTE(FieldRemark, v))
}
// RemarkContains applies the Contains predicate on the "remark" field.
func RemarkContains(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldContains(FieldRemark, v))
}
// RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
func RemarkHasPrefix(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldHasPrefix(FieldRemark, v))
}
// RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
func RemarkHasSuffix(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldHasSuffix(FieldRemark, v))
}
// RemarkIsNil applies the IsNil predicate on the "remark" field.
func RemarkIsNil() predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldIsNull(FieldRemark))
}
// RemarkNotNil applies the NotNil predicate on the "remark" field.
func RemarkNotNil() predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNotNull(FieldRemark))
}
// RemarkEqualFold applies the EqualFold predicate on the "remark" field.
func RemarkEqualFold(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEqualFold(FieldRemark, v))
}
// RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
func RemarkContainsFold(v string) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldContainsFold(FieldRemark, v))
}
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtEQ(v int64) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldCreatedAt, v))
}
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNEQ(v int64) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNEQ(FieldCreatedAt, v))
}
// CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIn(vs ...int64) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldIn(FieldCreatedAt, vs...))
}
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotIn(vs ...int64) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNotIn(FieldCreatedAt, vs...))
}
// CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGT(v int64) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGT(FieldCreatedAt, v))
}
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtGTE(v int64) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGTE(FieldCreatedAt, v))
}
// CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLT(v int64) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLT(FieldCreatedAt, v))
}
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtLTE(v int64) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLTE(FieldCreatedAt, v))
}
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtEQ(v int64) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldEQ(FieldUpdatedAt, v))
}
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNEQ(v int64) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNEQ(FieldUpdatedAt, v))
}
// UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIn(vs ...int64) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldIn(FieldUpdatedAt, vs...))
}
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotIn(vs ...int64) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldNotIn(FieldUpdatedAt, vs...))
}
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGT(v int64) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGT(FieldUpdatedAt, v))
}
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtGTE(v int64) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldGTE(FieldUpdatedAt, v))
}
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLT(v int64) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLT(FieldUpdatedAt, v))
}
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtLTE(v int64) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.FieldLTE(FieldUpdatedAt, v))
}
// And groups predicates with the AND operator between them.
func And(predicates ...predicate.InventoryBatch) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.AndPredicates(predicates...))
}
// Or groups predicates with the OR operator between them.
func Or(predicates ...predicate.InventoryBatch) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.OrPredicates(predicates...))
}
// Not applies the not operator on the given predicate.
func Not(p predicate.InventoryBatch) predicate.InventoryBatch {
return predicate.InventoryBatch(sql.NotPredicates(p))
}