Files
bj_power/bj_power_wms/ent/inventory/where.go
T
SunYF 1cc93795ce feat(mes): 添加定时同步可生产数量到WMS及BOM项相关标准字段
- 在main.go中添加定时任务每10分钟同步可生产数量到WMS系统
- 为BomItem实体添加relatedStandard字段及相关CRUD方法
- 为InspectionRecord实体添加reportNo、materialCode、materialName等字段
- 更新ent schema确保新字段的验证和默认值设置
- 添加必要的数据库迁移和字段映射逻辑
2026-09-17 12:49:07 +08:00

2185 lines
83 KiB
Go

// Code generated by ent, DO NOT EDIT.
package inventory
import (
"bj_power_wms/ent/predicate"
"entgo.io/ent/dialect/sql"
)
// ID filters vertices based on their ID field.
func ID(id int) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldID, id))
}
// IDEQ applies the EQ predicate on the ID field.
func IDEQ(id int) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldID, id))
}
// IDNEQ applies the NEQ predicate on the ID field.
func IDNEQ(id int) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldID, id))
}
// IDIn applies the In predicate on the ID field.
func IDIn(ids ...int) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldID, ids...))
}
// IDNotIn applies the NotIn predicate on the ID field.
func IDNotIn(ids ...int) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldID, ids...))
}
// IDGT applies the GT predicate on the ID field.
func IDGT(id int) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldID, id))
}
// IDGTE applies the GTE predicate on the ID field.
func IDGTE(id int) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldID, id))
}
// IDLT applies the LT predicate on the ID field.
func IDLT(id int) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldID, id))
}
// IDLTE applies the LTE predicate on the ID field.
func IDLTE(id int) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldID, id))
}
// ManageMode applies equality check predicate on the "manage_mode" field. It's identical to ManageModeEQ.
func ManageMode(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldManageMode, v))
}
// Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.
func Category(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldCategory, v))
}
// MaterialCode applies equality check predicate on the "material_code" field. It's identical to MaterialCodeEQ.
func MaterialCode(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldMaterialCode, v))
}
// MaterialName applies equality check predicate on the "material_name" field. It's identical to MaterialNameEQ.
func MaterialName(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldMaterialName, v))
}
// BatchNo applies equality check predicate on the "batch_no" field. It's identical to BatchNoEQ.
func BatchNo(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldBatchNo, v))
}
// SnCode applies equality check predicate on the "sn_code" field. It's identical to SnCodeEQ.
func SnCode(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldSnCode, v))
}
// Quantity applies equality check predicate on the "quantity" field. It's identical to QuantityEQ.
func Quantity(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldQuantity, v))
}
// LockedQty applies equality check predicate on the "locked_qty" field. It's identical to LockedQtyEQ.
func LockedQty(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldLockedQty, v))
}
// QualityStatus applies equality check predicate on the "quality_status" field. It's identical to QualityStatusEQ.
func QualityStatus(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldQualityStatus, v))
}
// ZoneCode applies equality check predicate on the "zone_code" field. It's identical to ZoneCodeEQ.
func ZoneCode(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldZoneCode, v))
}
// ShelfNo applies equality check predicate on the "shelf_no" field. It's identical to ShelfNoEQ.
func ShelfNo(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldShelfNo, v))
}
// LayerNo applies equality check predicate on the "layer_no" field. It's identical to LayerNoEQ.
func LayerNo(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldLayerNo, v))
}
// PositionNo applies equality check predicate on the "position_no" field. It's identical to PositionNoEQ.
func PositionNo(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldPositionNo, v))
}
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func Status(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldStatus, v))
}
// ProductionDate applies equality check predicate on the "production_date" field. It's identical to ProductionDateEQ.
func ProductionDate(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldProductionDate, v))
}
// Supplier applies equality check predicate on the "supplier" field. It's identical to SupplierEQ.
func Supplier(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldSupplier, v))
}
// InboundNo applies equality check predicate on the "inbound_no" field. It's identical to InboundNoEQ.
func InboundNo(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldInboundNo, v))
}
// OrderNo applies equality check predicate on the "order_no" field. It's identical to OrderNoEQ.
func OrderNo(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldOrderNo, v))
}
// CompletedProcess applies equality check predicate on the "completed_process" field. It's identical to CompletedProcessEQ.
func CompletedProcess(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldCompletedProcess, v))
}
// OwnershipType applies equality check predicate on the "ownership_type" field. It's identical to OwnershipTypeEQ.
func OwnershipType(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldOwnershipType, v))
}
// OwnershipNo applies equality check predicate on the "ownership_no" field. It's identical to OwnershipNoEQ.
func OwnershipNo(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldOwnershipNo, v))
}
// ProductStatus applies equality check predicate on the "product_status" field. It's identical to ProductStatusEQ.
func ProductStatus(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldProductStatus, v))
}
// RelatedStandard applies equality check predicate on the "related_standard" field. It's identical to RelatedStandardEQ.
func RelatedStandard(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldRelatedStandard, v))
}
// TestRecordNo applies equality check predicate on the "test_record_no" field. It's identical to TestRecordNoEQ.
func TestRecordNo(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldTestRecordNo, v))
}
// RecordedBy applies equality check predicate on the "recorded_by" field. It's identical to RecordedByEQ.
func RecordedBy(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldRecordedBy, v))
}
// RecordedAt applies equality check predicate on the "recorded_at" field. It's identical to RecordedAtEQ.
func RecordedAt(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldRecordedAt, v))
}
// OutboundReason applies equality check predicate on the "outbound_reason" field. It's identical to OutboundReasonEQ.
func OutboundReason(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldOutboundReason, v))
}
// Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
func Remark(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldRemark, v))
}
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAt(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldCreatedAt, v))
}
// UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAt(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldUpdatedAt, v))
}
// ManageModeEQ applies the EQ predicate on the "manage_mode" field.
func ManageModeEQ(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldManageMode, v))
}
// ManageModeNEQ applies the NEQ predicate on the "manage_mode" field.
func ManageModeNEQ(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldManageMode, v))
}
// ManageModeIn applies the In predicate on the "manage_mode" field.
func ManageModeIn(vs ...int) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldManageMode, vs...))
}
// ManageModeNotIn applies the NotIn predicate on the "manage_mode" field.
func ManageModeNotIn(vs ...int) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldManageMode, vs...))
}
// ManageModeGT applies the GT predicate on the "manage_mode" field.
func ManageModeGT(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldManageMode, v))
}
// ManageModeGTE applies the GTE predicate on the "manage_mode" field.
func ManageModeGTE(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldManageMode, v))
}
// ManageModeLT applies the LT predicate on the "manage_mode" field.
func ManageModeLT(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldManageMode, v))
}
// ManageModeLTE applies the LTE predicate on the "manage_mode" field.
func ManageModeLTE(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldManageMode, v))
}
// CategoryEQ applies the EQ predicate on the "category" field.
func CategoryEQ(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldCategory, v))
}
// CategoryNEQ applies the NEQ predicate on the "category" field.
func CategoryNEQ(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldCategory, v))
}
// CategoryIn applies the In predicate on the "category" field.
func CategoryIn(vs ...int) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldCategory, vs...))
}
// CategoryNotIn applies the NotIn predicate on the "category" field.
func CategoryNotIn(vs ...int) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldCategory, vs...))
}
// CategoryGT applies the GT predicate on the "category" field.
func CategoryGT(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldCategory, v))
}
// CategoryGTE applies the GTE predicate on the "category" field.
func CategoryGTE(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldCategory, v))
}
// CategoryLT applies the LT predicate on the "category" field.
func CategoryLT(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldCategory, v))
}
// CategoryLTE applies the LTE predicate on the "category" field.
func CategoryLTE(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldCategory, v))
}
// MaterialCodeEQ applies the EQ predicate on the "material_code" field.
func MaterialCodeEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldMaterialCode, v))
}
// MaterialCodeNEQ applies the NEQ predicate on the "material_code" field.
func MaterialCodeNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldMaterialCode, v))
}
// MaterialCodeIn applies the In predicate on the "material_code" field.
func MaterialCodeIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldMaterialCode, vs...))
}
// MaterialCodeNotIn applies the NotIn predicate on the "material_code" field.
func MaterialCodeNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldMaterialCode, vs...))
}
// MaterialCodeGT applies the GT predicate on the "material_code" field.
func MaterialCodeGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldMaterialCode, v))
}
// MaterialCodeGTE applies the GTE predicate on the "material_code" field.
func MaterialCodeGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldMaterialCode, v))
}
// MaterialCodeLT applies the LT predicate on the "material_code" field.
func MaterialCodeLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldMaterialCode, v))
}
// MaterialCodeLTE applies the LTE predicate on the "material_code" field.
func MaterialCodeLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldMaterialCode, v))
}
// MaterialCodeContains applies the Contains predicate on the "material_code" field.
func MaterialCodeContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldMaterialCode, v))
}
// MaterialCodeHasPrefix applies the HasPrefix predicate on the "material_code" field.
func MaterialCodeHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldMaterialCode, v))
}
// MaterialCodeHasSuffix applies the HasSuffix predicate on the "material_code" field.
func MaterialCodeHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldMaterialCode, v))
}
// MaterialCodeEqualFold applies the EqualFold predicate on the "material_code" field.
func MaterialCodeEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldMaterialCode, v))
}
// MaterialCodeContainsFold applies the ContainsFold predicate on the "material_code" field.
func MaterialCodeContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldMaterialCode, v))
}
// MaterialNameEQ applies the EQ predicate on the "material_name" field.
func MaterialNameEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldMaterialName, v))
}
// MaterialNameNEQ applies the NEQ predicate on the "material_name" field.
func MaterialNameNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldMaterialName, v))
}
// MaterialNameIn applies the In predicate on the "material_name" field.
func MaterialNameIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldMaterialName, vs...))
}
// MaterialNameNotIn applies the NotIn predicate on the "material_name" field.
func MaterialNameNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldMaterialName, vs...))
}
// MaterialNameGT applies the GT predicate on the "material_name" field.
func MaterialNameGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldMaterialName, v))
}
// MaterialNameGTE applies the GTE predicate on the "material_name" field.
func MaterialNameGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldMaterialName, v))
}
// MaterialNameLT applies the LT predicate on the "material_name" field.
func MaterialNameLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldMaterialName, v))
}
// MaterialNameLTE applies the LTE predicate on the "material_name" field.
func MaterialNameLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldMaterialName, v))
}
// MaterialNameContains applies the Contains predicate on the "material_name" field.
func MaterialNameContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldMaterialName, v))
}
// MaterialNameHasPrefix applies the HasPrefix predicate on the "material_name" field.
func MaterialNameHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldMaterialName, v))
}
// MaterialNameHasSuffix applies the HasSuffix predicate on the "material_name" field.
func MaterialNameHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldMaterialName, v))
}
// MaterialNameIsNil applies the IsNil predicate on the "material_name" field.
func MaterialNameIsNil() predicate.Inventory {
return predicate.Inventory(sql.FieldIsNull(FieldMaterialName))
}
// MaterialNameNotNil applies the NotNil predicate on the "material_name" field.
func MaterialNameNotNil() predicate.Inventory {
return predicate.Inventory(sql.FieldNotNull(FieldMaterialName))
}
// MaterialNameEqualFold applies the EqualFold predicate on the "material_name" field.
func MaterialNameEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldMaterialName, v))
}
// MaterialNameContainsFold applies the ContainsFold predicate on the "material_name" field.
func MaterialNameContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldMaterialName, v))
}
// BatchNoEQ applies the EQ predicate on the "batch_no" field.
func BatchNoEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldBatchNo, v))
}
// BatchNoNEQ applies the NEQ predicate on the "batch_no" field.
func BatchNoNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldBatchNo, v))
}
// BatchNoIn applies the In predicate on the "batch_no" field.
func BatchNoIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldBatchNo, vs...))
}
// BatchNoNotIn applies the NotIn predicate on the "batch_no" field.
func BatchNoNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldBatchNo, vs...))
}
// BatchNoGT applies the GT predicate on the "batch_no" field.
func BatchNoGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldBatchNo, v))
}
// BatchNoGTE applies the GTE predicate on the "batch_no" field.
func BatchNoGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldBatchNo, v))
}
// BatchNoLT applies the LT predicate on the "batch_no" field.
func BatchNoLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldBatchNo, v))
}
// BatchNoLTE applies the LTE predicate on the "batch_no" field.
func BatchNoLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldBatchNo, v))
}
// BatchNoContains applies the Contains predicate on the "batch_no" field.
func BatchNoContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldBatchNo, v))
}
// BatchNoHasPrefix applies the HasPrefix predicate on the "batch_no" field.
func BatchNoHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldBatchNo, v))
}
// BatchNoHasSuffix applies the HasSuffix predicate on the "batch_no" field.
func BatchNoHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldBatchNo, v))
}
// BatchNoIsNil applies the IsNil predicate on the "batch_no" field.
func BatchNoIsNil() predicate.Inventory {
return predicate.Inventory(sql.FieldIsNull(FieldBatchNo))
}
// BatchNoNotNil applies the NotNil predicate on the "batch_no" field.
func BatchNoNotNil() predicate.Inventory {
return predicate.Inventory(sql.FieldNotNull(FieldBatchNo))
}
// BatchNoEqualFold applies the EqualFold predicate on the "batch_no" field.
func BatchNoEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldBatchNo, v))
}
// BatchNoContainsFold applies the ContainsFold predicate on the "batch_no" field.
func BatchNoContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldBatchNo, v))
}
// SnCodeEQ applies the EQ predicate on the "sn_code" field.
func SnCodeEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldSnCode, v))
}
// SnCodeNEQ applies the NEQ predicate on the "sn_code" field.
func SnCodeNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldSnCode, v))
}
// SnCodeIn applies the In predicate on the "sn_code" field.
func SnCodeIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldSnCode, vs...))
}
// SnCodeNotIn applies the NotIn predicate on the "sn_code" field.
func SnCodeNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldSnCode, vs...))
}
// SnCodeGT applies the GT predicate on the "sn_code" field.
func SnCodeGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldSnCode, v))
}
// SnCodeGTE applies the GTE predicate on the "sn_code" field.
func SnCodeGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldSnCode, v))
}
// SnCodeLT applies the LT predicate on the "sn_code" field.
func SnCodeLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldSnCode, v))
}
// SnCodeLTE applies the LTE predicate on the "sn_code" field.
func SnCodeLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldSnCode, v))
}
// SnCodeContains applies the Contains predicate on the "sn_code" field.
func SnCodeContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldSnCode, v))
}
// SnCodeHasPrefix applies the HasPrefix predicate on the "sn_code" field.
func SnCodeHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldSnCode, v))
}
// SnCodeHasSuffix applies the HasSuffix predicate on the "sn_code" field.
func SnCodeHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldSnCode, v))
}
// SnCodeIsNil applies the IsNil predicate on the "sn_code" field.
func SnCodeIsNil() predicate.Inventory {
return predicate.Inventory(sql.FieldIsNull(FieldSnCode))
}
// SnCodeNotNil applies the NotNil predicate on the "sn_code" field.
func SnCodeNotNil() predicate.Inventory {
return predicate.Inventory(sql.FieldNotNull(FieldSnCode))
}
// SnCodeEqualFold applies the EqualFold predicate on the "sn_code" field.
func SnCodeEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldSnCode, v))
}
// SnCodeContainsFold applies the ContainsFold predicate on the "sn_code" field.
func SnCodeContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldSnCode, v))
}
// QuantityEQ applies the EQ predicate on the "quantity" field.
func QuantityEQ(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldQuantity, v))
}
// QuantityNEQ applies the NEQ predicate on the "quantity" field.
func QuantityNEQ(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldQuantity, v))
}
// QuantityIn applies the In predicate on the "quantity" field.
func QuantityIn(vs ...int) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldQuantity, vs...))
}
// QuantityNotIn applies the NotIn predicate on the "quantity" field.
func QuantityNotIn(vs ...int) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldQuantity, vs...))
}
// QuantityGT applies the GT predicate on the "quantity" field.
func QuantityGT(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldQuantity, v))
}
// QuantityGTE applies the GTE predicate on the "quantity" field.
func QuantityGTE(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldQuantity, v))
}
// QuantityLT applies the LT predicate on the "quantity" field.
func QuantityLT(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldQuantity, v))
}
// QuantityLTE applies the LTE predicate on the "quantity" field.
func QuantityLTE(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldQuantity, v))
}
// LockedQtyEQ applies the EQ predicate on the "locked_qty" field.
func LockedQtyEQ(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldLockedQty, v))
}
// LockedQtyNEQ applies the NEQ predicate on the "locked_qty" field.
func LockedQtyNEQ(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldLockedQty, v))
}
// LockedQtyIn applies the In predicate on the "locked_qty" field.
func LockedQtyIn(vs ...int) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldLockedQty, vs...))
}
// LockedQtyNotIn applies the NotIn predicate on the "locked_qty" field.
func LockedQtyNotIn(vs ...int) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldLockedQty, vs...))
}
// LockedQtyGT applies the GT predicate on the "locked_qty" field.
func LockedQtyGT(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldLockedQty, v))
}
// LockedQtyGTE applies the GTE predicate on the "locked_qty" field.
func LockedQtyGTE(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldLockedQty, v))
}
// LockedQtyLT applies the LT predicate on the "locked_qty" field.
func LockedQtyLT(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldLockedQty, v))
}
// LockedQtyLTE applies the LTE predicate on the "locked_qty" field.
func LockedQtyLTE(v int) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldLockedQty, v))
}
// QualityStatusEQ applies the EQ predicate on the "quality_status" field.
func QualityStatusEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldQualityStatus, v))
}
// QualityStatusNEQ applies the NEQ predicate on the "quality_status" field.
func QualityStatusNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldQualityStatus, v))
}
// QualityStatusIn applies the In predicate on the "quality_status" field.
func QualityStatusIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldQualityStatus, vs...))
}
// QualityStatusNotIn applies the NotIn predicate on the "quality_status" field.
func QualityStatusNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldQualityStatus, vs...))
}
// QualityStatusGT applies the GT predicate on the "quality_status" field.
func QualityStatusGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldQualityStatus, v))
}
// QualityStatusGTE applies the GTE predicate on the "quality_status" field.
func QualityStatusGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldQualityStatus, v))
}
// QualityStatusLT applies the LT predicate on the "quality_status" field.
func QualityStatusLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldQualityStatus, v))
}
// QualityStatusLTE applies the LTE predicate on the "quality_status" field.
func QualityStatusLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldQualityStatus, v))
}
// QualityStatusContains applies the Contains predicate on the "quality_status" field.
func QualityStatusContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldQualityStatus, v))
}
// QualityStatusHasPrefix applies the HasPrefix predicate on the "quality_status" field.
func QualityStatusHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldQualityStatus, v))
}
// QualityStatusHasSuffix applies the HasSuffix predicate on the "quality_status" field.
func QualityStatusHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldQualityStatus, v))
}
// QualityStatusEqualFold applies the EqualFold predicate on the "quality_status" field.
func QualityStatusEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldQualityStatus, v))
}
// QualityStatusContainsFold applies the ContainsFold predicate on the "quality_status" field.
func QualityStatusContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldQualityStatus, v))
}
// ZoneCodeEQ applies the EQ predicate on the "zone_code" field.
func ZoneCodeEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldZoneCode, v))
}
// ZoneCodeNEQ applies the NEQ predicate on the "zone_code" field.
func ZoneCodeNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldZoneCode, v))
}
// ZoneCodeIn applies the In predicate on the "zone_code" field.
func ZoneCodeIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldZoneCode, vs...))
}
// ZoneCodeNotIn applies the NotIn predicate on the "zone_code" field.
func ZoneCodeNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldZoneCode, vs...))
}
// ZoneCodeGT applies the GT predicate on the "zone_code" field.
func ZoneCodeGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldZoneCode, v))
}
// ZoneCodeGTE applies the GTE predicate on the "zone_code" field.
func ZoneCodeGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldZoneCode, v))
}
// ZoneCodeLT applies the LT predicate on the "zone_code" field.
func ZoneCodeLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldZoneCode, v))
}
// ZoneCodeLTE applies the LTE predicate on the "zone_code" field.
func ZoneCodeLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldZoneCode, v))
}
// ZoneCodeContains applies the Contains predicate on the "zone_code" field.
func ZoneCodeContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldZoneCode, v))
}
// ZoneCodeHasPrefix applies the HasPrefix predicate on the "zone_code" field.
func ZoneCodeHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldZoneCode, v))
}
// ZoneCodeHasSuffix applies the HasSuffix predicate on the "zone_code" field.
func ZoneCodeHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldZoneCode, v))
}
// ZoneCodeIsNil applies the IsNil predicate on the "zone_code" field.
func ZoneCodeIsNil() predicate.Inventory {
return predicate.Inventory(sql.FieldIsNull(FieldZoneCode))
}
// ZoneCodeNotNil applies the NotNil predicate on the "zone_code" field.
func ZoneCodeNotNil() predicate.Inventory {
return predicate.Inventory(sql.FieldNotNull(FieldZoneCode))
}
// ZoneCodeEqualFold applies the EqualFold predicate on the "zone_code" field.
func ZoneCodeEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldZoneCode, v))
}
// ZoneCodeContainsFold applies the ContainsFold predicate on the "zone_code" field.
func ZoneCodeContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldZoneCode, v))
}
// ShelfNoEQ applies the EQ predicate on the "shelf_no" field.
func ShelfNoEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldShelfNo, v))
}
// ShelfNoNEQ applies the NEQ predicate on the "shelf_no" field.
func ShelfNoNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldShelfNo, v))
}
// ShelfNoIn applies the In predicate on the "shelf_no" field.
func ShelfNoIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldShelfNo, vs...))
}
// ShelfNoNotIn applies the NotIn predicate on the "shelf_no" field.
func ShelfNoNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldShelfNo, vs...))
}
// ShelfNoGT applies the GT predicate on the "shelf_no" field.
func ShelfNoGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldShelfNo, v))
}
// ShelfNoGTE applies the GTE predicate on the "shelf_no" field.
func ShelfNoGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldShelfNo, v))
}
// ShelfNoLT applies the LT predicate on the "shelf_no" field.
func ShelfNoLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldShelfNo, v))
}
// ShelfNoLTE applies the LTE predicate on the "shelf_no" field.
func ShelfNoLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldShelfNo, v))
}
// ShelfNoContains applies the Contains predicate on the "shelf_no" field.
func ShelfNoContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldShelfNo, v))
}
// ShelfNoHasPrefix applies the HasPrefix predicate on the "shelf_no" field.
func ShelfNoHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldShelfNo, v))
}
// ShelfNoHasSuffix applies the HasSuffix predicate on the "shelf_no" field.
func ShelfNoHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldShelfNo, v))
}
// ShelfNoIsNil applies the IsNil predicate on the "shelf_no" field.
func ShelfNoIsNil() predicate.Inventory {
return predicate.Inventory(sql.FieldIsNull(FieldShelfNo))
}
// ShelfNoNotNil applies the NotNil predicate on the "shelf_no" field.
func ShelfNoNotNil() predicate.Inventory {
return predicate.Inventory(sql.FieldNotNull(FieldShelfNo))
}
// ShelfNoEqualFold applies the EqualFold predicate on the "shelf_no" field.
func ShelfNoEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldShelfNo, v))
}
// ShelfNoContainsFold applies the ContainsFold predicate on the "shelf_no" field.
func ShelfNoContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldShelfNo, v))
}
// LayerNoEQ applies the EQ predicate on the "layer_no" field.
func LayerNoEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldLayerNo, v))
}
// LayerNoNEQ applies the NEQ predicate on the "layer_no" field.
func LayerNoNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldLayerNo, v))
}
// LayerNoIn applies the In predicate on the "layer_no" field.
func LayerNoIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldLayerNo, vs...))
}
// LayerNoNotIn applies the NotIn predicate on the "layer_no" field.
func LayerNoNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldLayerNo, vs...))
}
// LayerNoGT applies the GT predicate on the "layer_no" field.
func LayerNoGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldLayerNo, v))
}
// LayerNoGTE applies the GTE predicate on the "layer_no" field.
func LayerNoGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldLayerNo, v))
}
// LayerNoLT applies the LT predicate on the "layer_no" field.
func LayerNoLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldLayerNo, v))
}
// LayerNoLTE applies the LTE predicate on the "layer_no" field.
func LayerNoLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldLayerNo, v))
}
// LayerNoContains applies the Contains predicate on the "layer_no" field.
func LayerNoContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldLayerNo, v))
}
// LayerNoHasPrefix applies the HasPrefix predicate on the "layer_no" field.
func LayerNoHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldLayerNo, v))
}
// LayerNoHasSuffix applies the HasSuffix predicate on the "layer_no" field.
func LayerNoHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldLayerNo, v))
}
// LayerNoIsNil applies the IsNil predicate on the "layer_no" field.
func LayerNoIsNil() predicate.Inventory {
return predicate.Inventory(sql.FieldIsNull(FieldLayerNo))
}
// LayerNoNotNil applies the NotNil predicate on the "layer_no" field.
func LayerNoNotNil() predicate.Inventory {
return predicate.Inventory(sql.FieldNotNull(FieldLayerNo))
}
// LayerNoEqualFold applies the EqualFold predicate on the "layer_no" field.
func LayerNoEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldLayerNo, v))
}
// LayerNoContainsFold applies the ContainsFold predicate on the "layer_no" field.
func LayerNoContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldLayerNo, v))
}
// PositionNoEQ applies the EQ predicate on the "position_no" field.
func PositionNoEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldPositionNo, v))
}
// PositionNoNEQ applies the NEQ predicate on the "position_no" field.
func PositionNoNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldPositionNo, v))
}
// PositionNoIn applies the In predicate on the "position_no" field.
func PositionNoIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldPositionNo, vs...))
}
// PositionNoNotIn applies the NotIn predicate on the "position_no" field.
func PositionNoNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldPositionNo, vs...))
}
// PositionNoGT applies the GT predicate on the "position_no" field.
func PositionNoGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldPositionNo, v))
}
// PositionNoGTE applies the GTE predicate on the "position_no" field.
func PositionNoGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldPositionNo, v))
}
// PositionNoLT applies the LT predicate on the "position_no" field.
func PositionNoLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldPositionNo, v))
}
// PositionNoLTE applies the LTE predicate on the "position_no" field.
func PositionNoLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldPositionNo, v))
}
// PositionNoContains applies the Contains predicate on the "position_no" field.
func PositionNoContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldPositionNo, v))
}
// PositionNoHasPrefix applies the HasPrefix predicate on the "position_no" field.
func PositionNoHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldPositionNo, v))
}
// PositionNoHasSuffix applies the HasSuffix predicate on the "position_no" field.
func PositionNoHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldPositionNo, v))
}
// PositionNoIsNil applies the IsNil predicate on the "position_no" field.
func PositionNoIsNil() predicate.Inventory {
return predicate.Inventory(sql.FieldIsNull(FieldPositionNo))
}
// PositionNoNotNil applies the NotNil predicate on the "position_no" field.
func PositionNoNotNil() predicate.Inventory {
return predicate.Inventory(sql.FieldNotNull(FieldPositionNo))
}
// PositionNoEqualFold applies the EqualFold predicate on the "position_no" field.
func PositionNoEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldPositionNo, v))
}
// PositionNoContainsFold applies the ContainsFold predicate on the "position_no" field.
func PositionNoContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldPositionNo, v))
}
// StatusEQ applies the EQ predicate on the "status" field.
func StatusEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldStatus, v))
}
// StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldStatus, v))
}
// StatusIn applies the In predicate on the "status" field.
func StatusIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldStatus, vs...))
}
// StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldStatus, vs...))
}
// StatusGT applies the GT predicate on the "status" field.
func StatusGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldStatus, v))
}
// StatusGTE applies the GTE predicate on the "status" field.
func StatusGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldStatus, v))
}
// StatusLT applies the LT predicate on the "status" field.
func StatusLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldStatus, v))
}
// StatusLTE applies the LTE predicate on the "status" field.
func StatusLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldStatus, v))
}
// StatusContains applies the Contains predicate on the "status" field.
func StatusContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldStatus, v))
}
// StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldStatus, v))
}
// StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldStatus, v))
}
// StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldStatus, v))
}
// StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldStatus, v))
}
// ProductionDateEQ applies the EQ predicate on the "production_date" field.
func ProductionDateEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldProductionDate, v))
}
// ProductionDateNEQ applies the NEQ predicate on the "production_date" field.
func ProductionDateNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldProductionDate, v))
}
// ProductionDateIn applies the In predicate on the "production_date" field.
func ProductionDateIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldProductionDate, vs...))
}
// ProductionDateNotIn applies the NotIn predicate on the "production_date" field.
func ProductionDateNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldProductionDate, vs...))
}
// ProductionDateGT applies the GT predicate on the "production_date" field.
func ProductionDateGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldProductionDate, v))
}
// ProductionDateGTE applies the GTE predicate on the "production_date" field.
func ProductionDateGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldProductionDate, v))
}
// ProductionDateLT applies the LT predicate on the "production_date" field.
func ProductionDateLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldProductionDate, v))
}
// ProductionDateLTE applies the LTE predicate on the "production_date" field.
func ProductionDateLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldProductionDate, v))
}
// ProductionDateContains applies the Contains predicate on the "production_date" field.
func ProductionDateContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldProductionDate, v))
}
// ProductionDateHasPrefix applies the HasPrefix predicate on the "production_date" field.
func ProductionDateHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldProductionDate, v))
}
// ProductionDateHasSuffix applies the HasSuffix predicate on the "production_date" field.
func ProductionDateHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldProductionDate, v))
}
// ProductionDateIsNil applies the IsNil predicate on the "production_date" field.
func ProductionDateIsNil() predicate.Inventory {
return predicate.Inventory(sql.FieldIsNull(FieldProductionDate))
}
// ProductionDateNotNil applies the NotNil predicate on the "production_date" field.
func ProductionDateNotNil() predicate.Inventory {
return predicate.Inventory(sql.FieldNotNull(FieldProductionDate))
}
// ProductionDateEqualFold applies the EqualFold predicate on the "production_date" field.
func ProductionDateEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldProductionDate, v))
}
// ProductionDateContainsFold applies the ContainsFold predicate on the "production_date" field.
func ProductionDateContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldProductionDate, v))
}
// SupplierEQ applies the EQ predicate on the "supplier" field.
func SupplierEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldSupplier, v))
}
// SupplierNEQ applies the NEQ predicate on the "supplier" field.
func SupplierNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldSupplier, v))
}
// SupplierIn applies the In predicate on the "supplier" field.
func SupplierIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldSupplier, vs...))
}
// SupplierNotIn applies the NotIn predicate on the "supplier" field.
func SupplierNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldSupplier, vs...))
}
// SupplierGT applies the GT predicate on the "supplier" field.
func SupplierGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldSupplier, v))
}
// SupplierGTE applies the GTE predicate on the "supplier" field.
func SupplierGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldSupplier, v))
}
// SupplierLT applies the LT predicate on the "supplier" field.
func SupplierLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldSupplier, v))
}
// SupplierLTE applies the LTE predicate on the "supplier" field.
func SupplierLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldSupplier, v))
}
// SupplierContains applies the Contains predicate on the "supplier" field.
func SupplierContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldSupplier, v))
}
// SupplierHasPrefix applies the HasPrefix predicate on the "supplier" field.
func SupplierHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldSupplier, v))
}
// SupplierHasSuffix applies the HasSuffix predicate on the "supplier" field.
func SupplierHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldSupplier, v))
}
// SupplierIsNil applies the IsNil predicate on the "supplier" field.
func SupplierIsNil() predicate.Inventory {
return predicate.Inventory(sql.FieldIsNull(FieldSupplier))
}
// SupplierNotNil applies the NotNil predicate on the "supplier" field.
func SupplierNotNil() predicate.Inventory {
return predicate.Inventory(sql.FieldNotNull(FieldSupplier))
}
// SupplierEqualFold applies the EqualFold predicate on the "supplier" field.
func SupplierEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldSupplier, v))
}
// SupplierContainsFold applies the ContainsFold predicate on the "supplier" field.
func SupplierContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldSupplier, v))
}
// InboundNoEQ applies the EQ predicate on the "inbound_no" field.
func InboundNoEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldInboundNo, v))
}
// InboundNoNEQ applies the NEQ predicate on the "inbound_no" field.
func InboundNoNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldInboundNo, v))
}
// InboundNoIn applies the In predicate on the "inbound_no" field.
func InboundNoIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldInboundNo, vs...))
}
// InboundNoNotIn applies the NotIn predicate on the "inbound_no" field.
func InboundNoNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldInboundNo, vs...))
}
// InboundNoGT applies the GT predicate on the "inbound_no" field.
func InboundNoGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldInboundNo, v))
}
// InboundNoGTE applies the GTE predicate on the "inbound_no" field.
func InboundNoGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldInboundNo, v))
}
// InboundNoLT applies the LT predicate on the "inbound_no" field.
func InboundNoLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldInboundNo, v))
}
// InboundNoLTE applies the LTE predicate on the "inbound_no" field.
func InboundNoLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldInboundNo, v))
}
// InboundNoContains applies the Contains predicate on the "inbound_no" field.
func InboundNoContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldInboundNo, v))
}
// InboundNoHasPrefix applies the HasPrefix predicate on the "inbound_no" field.
func InboundNoHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldInboundNo, v))
}
// InboundNoHasSuffix applies the HasSuffix predicate on the "inbound_no" field.
func InboundNoHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldInboundNo, v))
}
// InboundNoIsNil applies the IsNil predicate on the "inbound_no" field.
func InboundNoIsNil() predicate.Inventory {
return predicate.Inventory(sql.FieldIsNull(FieldInboundNo))
}
// InboundNoNotNil applies the NotNil predicate on the "inbound_no" field.
func InboundNoNotNil() predicate.Inventory {
return predicate.Inventory(sql.FieldNotNull(FieldInboundNo))
}
// InboundNoEqualFold applies the EqualFold predicate on the "inbound_no" field.
func InboundNoEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldInboundNo, v))
}
// InboundNoContainsFold applies the ContainsFold predicate on the "inbound_no" field.
func InboundNoContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldInboundNo, v))
}
// OrderNoEQ applies the EQ predicate on the "order_no" field.
func OrderNoEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldOrderNo, v))
}
// OrderNoNEQ applies the NEQ predicate on the "order_no" field.
func OrderNoNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldOrderNo, v))
}
// OrderNoIn applies the In predicate on the "order_no" field.
func OrderNoIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldOrderNo, vs...))
}
// OrderNoNotIn applies the NotIn predicate on the "order_no" field.
func OrderNoNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldOrderNo, vs...))
}
// OrderNoGT applies the GT predicate on the "order_no" field.
func OrderNoGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldOrderNo, v))
}
// OrderNoGTE applies the GTE predicate on the "order_no" field.
func OrderNoGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldOrderNo, v))
}
// OrderNoLT applies the LT predicate on the "order_no" field.
func OrderNoLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldOrderNo, v))
}
// OrderNoLTE applies the LTE predicate on the "order_no" field.
func OrderNoLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldOrderNo, v))
}
// OrderNoContains applies the Contains predicate on the "order_no" field.
func OrderNoContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldOrderNo, v))
}
// OrderNoHasPrefix applies the HasPrefix predicate on the "order_no" field.
func OrderNoHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldOrderNo, v))
}
// OrderNoHasSuffix applies the HasSuffix predicate on the "order_no" field.
func OrderNoHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldOrderNo, v))
}
// OrderNoEqualFold applies the EqualFold predicate on the "order_no" field.
func OrderNoEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldOrderNo, v))
}
// OrderNoContainsFold applies the ContainsFold predicate on the "order_no" field.
func OrderNoContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldOrderNo, v))
}
// CompletedProcessEQ applies the EQ predicate on the "completed_process" field.
func CompletedProcessEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldCompletedProcess, v))
}
// CompletedProcessNEQ applies the NEQ predicate on the "completed_process" field.
func CompletedProcessNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldCompletedProcess, v))
}
// CompletedProcessIn applies the In predicate on the "completed_process" field.
func CompletedProcessIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldCompletedProcess, vs...))
}
// CompletedProcessNotIn applies the NotIn predicate on the "completed_process" field.
func CompletedProcessNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldCompletedProcess, vs...))
}
// CompletedProcessGT applies the GT predicate on the "completed_process" field.
func CompletedProcessGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldCompletedProcess, v))
}
// CompletedProcessGTE applies the GTE predicate on the "completed_process" field.
func CompletedProcessGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldCompletedProcess, v))
}
// CompletedProcessLT applies the LT predicate on the "completed_process" field.
func CompletedProcessLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldCompletedProcess, v))
}
// CompletedProcessLTE applies the LTE predicate on the "completed_process" field.
func CompletedProcessLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldCompletedProcess, v))
}
// CompletedProcessContains applies the Contains predicate on the "completed_process" field.
func CompletedProcessContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldCompletedProcess, v))
}
// CompletedProcessHasPrefix applies the HasPrefix predicate on the "completed_process" field.
func CompletedProcessHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldCompletedProcess, v))
}
// CompletedProcessHasSuffix applies the HasSuffix predicate on the "completed_process" field.
func CompletedProcessHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldCompletedProcess, v))
}
// CompletedProcessEqualFold applies the EqualFold predicate on the "completed_process" field.
func CompletedProcessEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldCompletedProcess, v))
}
// CompletedProcessContainsFold applies the ContainsFold predicate on the "completed_process" field.
func CompletedProcessContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldCompletedProcess, v))
}
// OwnershipTypeEQ applies the EQ predicate on the "ownership_type" field.
func OwnershipTypeEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldOwnershipType, v))
}
// OwnershipTypeNEQ applies the NEQ predicate on the "ownership_type" field.
func OwnershipTypeNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldOwnershipType, v))
}
// OwnershipTypeIn applies the In predicate on the "ownership_type" field.
func OwnershipTypeIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldOwnershipType, vs...))
}
// OwnershipTypeNotIn applies the NotIn predicate on the "ownership_type" field.
func OwnershipTypeNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldOwnershipType, vs...))
}
// OwnershipTypeGT applies the GT predicate on the "ownership_type" field.
func OwnershipTypeGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldOwnershipType, v))
}
// OwnershipTypeGTE applies the GTE predicate on the "ownership_type" field.
func OwnershipTypeGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldOwnershipType, v))
}
// OwnershipTypeLT applies the LT predicate on the "ownership_type" field.
func OwnershipTypeLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldOwnershipType, v))
}
// OwnershipTypeLTE applies the LTE predicate on the "ownership_type" field.
func OwnershipTypeLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldOwnershipType, v))
}
// OwnershipTypeContains applies the Contains predicate on the "ownership_type" field.
func OwnershipTypeContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldOwnershipType, v))
}
// OwnershipTypeHasPrefix applies the HasPrefix predicate on the "ownership_type" field.
func OwnershipTypeHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldOwnershipType, v))
}
// OwnershipTypeHasSuffix applies the HasSuffix predicate on the "ownership_type" field.
func OwnershipTypeHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldOwnershipType, v))
}
// OwnershipTypeIsNil applies the IsNil predicate on the "ownership_type" field.
func OwnershipTypeIsNil() predicate.Inventory {
return predicate.Inventory(sql.FieldIsNull(FieldOwnershipType))
}
// OwnershipTypeNotNil applies the NotNil predicate on the "ownership_type" field.
func OwnershipTypeNotNil() predicate.Inventory {
return predicate.Inventory(sql.FieldNotNull(FieldOwnershipType))
}
// OwnershipTypeEqualFold applies the EqualFold predicate on the "ownership_type" field.
func OwnershipTypeEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldOwnershipType, v))
}
// OwnershipTypeContainsFold applies the ContainsFold predicate on the "ownership_type" field.
func OwnershipTypeContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldOwnershipType, v))
}
// OwnershipNoEQ applies the EQ predicate on the "ownership_no" field.
func OwnershipNoEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldOwnershipNo, v))
}
// OwnershipNoNEQ applies the NEQ predicate on the "ownership_no" field.
func OwnershipNoNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldOwnershipNo, v))
}
// OwnershipNoIn applies the In predicate on the "ownership_no" field.
func OwnershipNoIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldOwnershipNo, vs...))
}
// OwnershipNoNotIn applies the NotIn predicate on the "ownership_no" field.
func OwnershipNoNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldOwnershipNo, vs...))
}
// OwnershipNoGT applies the GT predicate on the "ownership_no" field.
func OwnershipNoGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldOwnershipNo, v))
}
// OwnershipNoGTE applies the GTE predicate on the "ownership_no" field.
func OwnershipNoGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldOwnershipNo, v))
}
// OwnershipNoLT applies the LT predicate on the "ownership_no" field.
func OwnershipNoLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldOwnershipNo, v))
}
// OwnershipNoLTE applies the LTE predicate on the "ownership_no" field.
func OwnershipNoLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldOwnershipNo, v))
}
// OwnershipNoContains applies the Contains predicate on the "ownership_no" field.
func OwnershipNoContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldOwnershipNo, v))
}
// OwnershipNoHasPrefix applies the HasPrefix predicate on the "ownership_no" field.
func OwnershipNoHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldOwnershipNo, v))
}
// OwnershipNoHasSuffix applies the HasSuffix predicate on the "ownership_no" field.
func OwnershipNoHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldOwnershipNo, v))
}
// OwnershipNoIsNil applies the IsNil predicate on the "ownership_no" field.
func OwnershipNoIsNil() predicate.Inventory {
return predicate.Inventory(sql.FieldIsNull(FieldOwnershipNo))
}
// OwnershipNoNotNil applies the NotNil predicate on the "ownership_no" field.
func OwnershipNoNotNil() predicate.Inventory {
return predicate.Inventory(sql.FieldNotNull(FieldOwnershipNo))
}
// OwnershipNoEqualFold applies the EqualFold predicate on the "ownership_no" field.
func OwnershipNoEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldOwnershipNo, v))
}
// OwnershipNoContainsFold applies the ContainsFold predicate on the "ownership_no" field.
func OwnershipNoContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldOwnershipNo, v))
}
// ProductStatusEQ applies the EQ predicate on the "product_status" field.
func ProductStatusEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldProductStatus, v))
}
// ProductStatusNEQ applies the NEQ predicate on the "product_status" field.
func ProductStatusNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldProductStatus, v))
}
// ProductStatusIn applies the In predicate on the "product_status" field.
func ProductStatusIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldProductStatus, vs...))
}
// ProductStatusNotIn applies the NotIn predicate on the "product_status" field.
func ProductStatusNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldProductStatus, vs...))
}
// ProductStatusGT applies the GT predicate on the "product_status" field.
func ProductStatusGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldProductStatus, v))
}
// ProductStatusGTE applies the GTE predicate on the "product_status" field.
func ProductStatusGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldProductStatus, v))
}
// ProductStatusLT applies the LT predicate on the "product_status" field.
func ProductStatusLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldProductStatus, v))
}
// ProductStatusLTE applies the LTE predicate on the "product_status" field.
func ProductStatusLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldProductStatus, v))
}
// ProductStatusContains applies the Contains predicate on the "product_status" field.
func ProductStatusContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldProductStatus, v))
}
// ProductStatusHasPrefix applies the HasPrefix predicate on the "product_status" field.
func ProductStatusHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldProductStatus, v))
}
// ProductStatusHasSuffix applies the HasSuffix predicate on the "product_status" field.
func ProductStatusHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldProductStatus, v))
}
// ProductStatusIsNil applies the IsNil predicate on the "product_status" field.
func ProductStatusIsNil() predicate.Inventory {
return predicate.Inventory(sql.FieldIsNull(FieldProductStatus))
}
// ProductStatusNotNil applies the NotNil predicate on the "product_status" field.
func ProductStatusNotNil() predicate.Inventory {
return predicate.Inventory(sql.FieldNotNull(FieldProductStatus))
}
// ProductStatusEqualFold applies the EqualFold predicate on the "product_status" field.
func ProductStatusEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldProductStatus, v))
}
// ProductStatusContainsFold applies the ContainsFold predicate on the "product_status" field.
func ProductStatusContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldProductStatus, v))
}
// RelatedStandardEQ applies the EQ predicate on the "related_standard" field.
func RelatedStandardEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldRelatedStandard, v))
}
// RelatedStandardNEQ applies the NEQ predicate on the "related_standard" field.
func RelatedStandardNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldRelatedStandard, v))
}
// RelatedStandardIn applies the In predicate on the "related_standard" field.
func RelatedStandardIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldRelatedStandard, vs...))
}
// RelatedStandardNotIn applies the NotIn predicate on the "related_standard" field.
func RelatedStandardNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldRelatedStandard, vs...))
}
// RelatedStandardGT applies the GT predicate on the "related_standard" field.
func RelatedStandardGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldRelatedStandard, v))
}
// RelatedStandardGTE applies the GTE predicate on the "related_standard" field.
func RelatedStandardGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldRelatedStandard, v))
}
// RelatedStandardLT applies the LT predicate on the "related_standard" field.
func RelatedStandardLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldRelatedStandard, v))
}
// RelatedStandardLTE applies the LTE predicate on the "related_standard" field.
func RelatedStandardLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldRelatedStandard, v))
}
// RelatedStandardContains applies the Contains predicate on the "related_standard" field.
func RelatedStandardContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldRelatedStandard, v))
}
// RelatedStandardHasPrefix applies the HasPrefix predicate on the "related_standard" field.
func RelatedStandardHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldRelatedStandard, v))
}
// RelatedStandardHasSuffix applies the HasSuffix predicate on the "related_standard" field.
func RelatedStandardHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldRelatedStandard, v))
}
// RelatedStandardIsNil applies the IsNil predicate on the "related_standard" field.
func RelatedStandardIsNil() predicate.Inventory {
return predicate.Inventory(sql.FieldIsNull(FieldRelatedStandard))
}
// RelatedStandardNotNil applies the NotNil predicate on the "related_standard" field.
func RelatedStandardNotNil() predicate.Inventory {
return predicate.Inventory(sql.FieldNotNull(FieldRelatedStandard))
}
// RelatedStandardEqualFold applies the EqualFold predicate on the "related_standard" field.
func RelatedStandardEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldRelatedStandard, v))
}
// RelatedStandardContainsFold applies the ContainsFold predicate on the "related_standard" field.
func RelatedStandardContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldRelatedStandard, v))
}
// TestRecordNoEQ applies the EQ predicate on the "test_record_no" field.
func TestRecordNoEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldTestRecordNo, v))
}
// TestRecordNoNEQ applies the NEQ predicate on the "test_record_no" field.
func TestRecordNoNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldTestRecordNo, v))
}
// TestRecordNoIn applies the In predicate on the "test_record_no" field.
func TestRecordNoIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldTestRecordNo, vs...))
}
// TestRecordNoNotIn applies the NotIn predicate on the "test_record_no" field.
func TestRecordNoNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldTestRecordNo, vs...))
}
// TestRecordNoGT applies the GT predicate on the "test_record_no" field.
func TestRecordNoGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldTestRecordNo, v))
}
// TestRecordNoGTE applies the GTE predicate on the "test_record_no" field.
func TestRecordNoGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldTestRecordNo, v))
}
// TestRecordNoLT applies the LT predicate on the "test_record_no" field.
func TestRecordNoLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldTestRecordNo, v))
}
// TestRecordNoLTE applies the LTE predicate on the "test_record_no" field.
func TestRecordNoLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldTestRecordNo, v))
}
// TestRecordNoContains applies the Contains predicate on the "test_record_no" field.
func TestRecordNoContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldTestRecordNo, v))
}
// TestRecordNoHasPrefix applies the HasPrefix predicate on the "test_record_no" field.
func TestRecordNoHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldTestRecordNo, v))
}
// TestRecordNoHasSuffix applies the HasSuffix predicate on the "test_record_no" field.
func TestRecordNoHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldTestRecordNo, v))
}
// TestRecordNoIsNil applies the IsNil predicate on the "test_record_no" field.
func TestRecordNoIsNil() predicate.Inventory {
return predicate.Inventory(sql.FieldIsNull(FieldTestRecordNo))
}
// TestRecordNoNotNil applies the NotNil predicate on the "test_record_no" field.
func TestRecordNoNotNil() predicate.Inventory {
return predicate.Inventory(sql.FieldNotNull(FieldTestRecordNo))
}
// TestRecordNoEqualFold applies the EqualFold predicate on the "test_record_no" field.
func TestRecordNoEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldTestRecordNo, v))
}
// TestRecordNoContainsFold applies the ContainsFold predicate on the "test_record_no" field.
func TestRecordNoContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldTestRecordNo, v))
}
// RecordedByEQ applies the EQ predicate on the "recorded_by" field.
func RecordedByEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldRecordedBy, v))
}
// RecordedByNEQ applies the NEQ predicate on the "recorded_by" field.
func RecordedByNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldRecordedBy, v))
}
// RecordedByIn applies the In predicate on the "recorded_by" field.
func RecordedByIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldRecordedBy, vs...))
}
// RecordedByNotIn applies the NotIn predicate on the "recorded_by" field.
func RecordedByNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldRecordedBy, vs...))
}
// RecordedByGT applies the GT predicate on the "recorded_by" field.
func RecordedByGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldRecordedBy, v))
}
// RecordedByGTE applies the GTE predicate on the "recorded_by" field.
func RecordedByGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldRecordedBy, v))
}
// RecordedByLT applies the LT predicate on the "recorded_by" field.
func RecordedByLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldRecordedBy, v))
}
// RecordedByLTE applies the LTE predicate on the "recorded_by" field.
func RecordedByLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldRecordedBy, v))
}
// RecordedByContains applies the Contains predicate on the "recorded_by" field.
func RecordedByContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldRecordedBy, v))
}
// RecordedByHasPrefix applies the HasPrefix predicate on the "recorded_by" field.
func RecordedByHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldRecordedBy, v))
}
// RecordedByHasSuffix applies the HasSuffix predicate on the "recorded_by" field.
func RecordedByHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldRecordedBy, v))
}
// RecordedByIsNil applies the IsNil predicate on the "recorded_by" field.
func RecordedByIsNil() predicate.Inventory {
return predicate.Inventory(sql.FieldIsNull(FieldRecordedBy))
}
// RecordedByNotNil applies the NotNil predicate on the "recorded_by" field.
func RecordedByNotNil() predicate.Inventory {
return predicate.Inventory(sql.FieldNotNull(FieldRecordedBy))
}
// RecordedByEqualFold applies the EqualFold predicate on the "recorded_by" field.
func RecordedByEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldRecordedBy, v))
}
// RecordedByContainsFold applies the ContainsFold predicate on the "recorded_by" field.
func RecordedByContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldRecordedBy, v))
}
// RecordedAtEQ applies the EQ predicate on the "recorded_at" field.
func RecordedAtEQ(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldRecordedAt, v))
}
// RecordedAtNEQ applies the NEQ predicate on the "recorded_at" field.
func RecordedAtNEQ(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldRecordedAt, v))
}
// RecordedAtIn applies the In predicate on the "recorded_at" field.
func RecordedAtIn(vs ...int64) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldRecordedAt, vs...))
}
// RecordedAtNotIn applies the NotIn predicate on the "recorded_at" field.
func RecordedAtNotIn(vs ...int64) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldRecordedAt, vs...))
}
// RecordedAtGT applies the GT predicate on the "recorded_at" field.
func RecordedAtGT(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldRecordedAt, v))
}
// RecordedAtGTE applies the GTE predicate on the "recorded_at" field.
func RecordedAtGTE(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldRecordedAt, v))
}
// RecordedAtLT applies the LT predicate on the "recorded_at" field.
func RecordedAtLT(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldRecordedAt, v))
}
// RecordedAtLTE applies the LTE predicate on the "recorded_at" field.
func RecordedAtLTE(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldRecordedAt, v))
}
// RecordedAtIsNil applies the IsNil predicate on the "recorded_at" field.
func RecordedAtIsNil() predicate.Inventory {
return predicate.Inventory(sql.FieldIsNull(FieldRecordedAt))
}
// RecordedAtNotNil applies the NotNil predicate on the "recorded_at" field.
func RecordedAtNotNil() predicate.Inventory {
return predicate.Inventory(sql.FieldNotNull(FieldRecordedAt))
}
// OutboundReasonEQ applies the EQ predicate on the "outbound_reason" field.
func OutboundReasonEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldOutboundReason, v))
}
// OutboundReasonNEQ applies the NEQ predicate on the "outbound_reason" field.
func OutboundReasonNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldOutboundReason, v))
}
// OutboundReasonIn applies the In predicate on the "outbound_reason" field.
func OutboundReasonIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldOutboundReason, vs...))
}
// OutboundReasonNotIn applies the NotIn predicate on the "outbound_reason" field.
func OutboundReasonNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldOutboundReason, vs...))
}
// OutboundReasonGT applies the GT predicate on the "outbound_reason" field.
func OutboundReasonGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldOutboundReason, v))
}
// OutboundReasonGTE applies the GTE predicate on the "outbound_reason" field.
func OutboundReasonGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldOutboundReason, v))
}
// OutboundReasonLT applies the LT predicate on the "outbound_reason" field.
func OutboundReasonLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldOutboundReason, v))
}
// OutboundReasonLTE applies the LTE predicate on the "outbound_reason" field.
func OutboundReasonLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldOutboundReason, v))
}
// OutboundReasonContains applies the Contains predicate on the "outbound_reason" field.
func OutboundReasonContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldOutboundReason, v))
}
// OutboundReasonHasPrefix applies the HasPrefix predicate on the "outbound_reason" field.
func OutboundReasonHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldOutboundReason, v))
}
// OutboundReasonHasSuffix applies the HasSuffix predicate on the "outbound_reason" field.
func OutboundReasonHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldOutboundReason, v))
}
// OutboundReasonIsNil applies the IsNil predicate on the "outbound_reason" field.
func OutboundReasonIsNil() predicate.Inventory {
return predicate.Inventory(sql.FieldIsNull(FieldOutboundReason))
}
// OutboundReasonNotNil applies the NotNil predicate on the "outbound_reason" field.
func OutboundReasonNotNil() predicate.Inventory {
return predicate.Inventory(sql.FieldNotNull(FieldOutboundReason))
}
// OutboundReasonEqualFold applies the EqualFold predicate on the "outbound_reason" field.
func OutboundReasonEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldOutboundReason, v))
}
// OutboundReasonContainsFold applies the ContainsFold predicate on the "outbound_reason" field.
func OutboundReasonContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldOutboundReason, v))
}
// RemarkEQ applies the EQ predicate on the "remark" field.
func RemarkEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldRemark, v))
}
// RemarkNEQ applies the NEQ predicate on the "remark" field.
func RemarkNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldRemark, v))
}
// RemarkIn applies the In predicate on the "remark" field.
func RemarkIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldRemark, vs...))
}
// RemarkNotIn applies the NotIn predicate on the "remark" field.
func RemarkNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldRemark, vs...))
}
// RemarkGT applies the GT predicate on the "remark" field.
func RemarkGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldRemark, v))
}
// RemarkGTE applies the GTE predicate on the "remark" field.
func RemarkGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldRemark, v))
}
// RemarkLT applies the LT predicate on the "remark" field.
func RemarkLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldRemark, v))
}
// RemarkLTE applies the LTE predicate on the "remark" field.
func RemarkLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldRemark, v))
}
// RemarkContains applies the Contains predicate on the "remark" field.
func RemarkContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldRemark, v))
}
// RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
func RemarkHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldRemark, v))
}
// RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
func RemarkHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldRemark, v))
}
// RemarkIsNil applies the IsNil predicate on the "remark" field.
func RemarkIsNil() predicate.Inventory {
return predicate.Inventory(sql.FieldIsNull(FieldRemark))
}
// RemarkNotNil applies the NotNil predicate on the "remark" field.
func RemarkNotNil() predicate.Inventory {
return predicate.Inventory(sql.FieldNotNull(FieldRemark))
}
// RemarkEqualFold applies the EqualFold predicate on the "remark" field.
func RemarkEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldRemark, v))
}
// RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
func RemarkContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldRemark, v))
}
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtEQ(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldCreatedAt, v))
}
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNEQ(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldCreatedAt, v))
}
// CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIn(vs ...int64) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldCreatedAt, vs...))
}
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotIn(vs ...int64) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldCreatedAt, vs...))
}
// CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGT(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldCreatedAt, v))
}
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtGTE(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldCreatedAt, v))
}
// CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLT(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldCreatedAt, v))
}
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtLTE(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldCreatedAt, v))
}
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtEQ(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldUpdatedAt, v))
}
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNEQ(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldUpdatedAt, v))
}
// UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIn(vs ...int64) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldUpdatedAt, vs...))
}
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotIn(vs ...int64) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldUpdatedAt, vs...))
}
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGT(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldUpdatedAt, v))
}
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtGTE(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldUpdatedAt, v))
}
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLT(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldUpdatedAt, v))
}
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtLTE(v int64) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldUpdatedAt, v))
}
// And groups predicates with the AND operator between them.
func And(predicates ...predicate.Inventory) predicate.Inventory {
return predicate.Inventory(sql.AndPredicates(predicates...))
}
// Or groups predicates with the OR operator between them.
func Or(predicates ...predicate.Inventory) predicate.Inventory {
return predicate.Inventory(sql.OrPredicates(predicates...))
}
// Not applies the not operator on the given predicate.
func Not(p predicate.Inventory) predicate.Inventory {
return predicate.Inventory(sql.NotPredicates(p))
}