Files
SunYF 62e45b7379 feat: 完成附件存储重构与磁盘监控功能,同步物料档案与入库单规则更新
1.  新增跨平台磁盘空间监控能力,每日7点自动检测附件目录剩余空间,触发阈值告警
2.  重构附件存储方案为年/月/日/文件类型分层结构,统一MES与WMS的附件管理逻辑
3.  对齐物料档案与入库单的质量状态校验规则,仅合格品计入库存与出库
4.  实现入库单作废功能与区域库位的多级父子结构管理
5.  删除物料简称字段,补充规格型号与单位必填项,统一系统数据口径
6.  新增附件中心与磁盘状态查询接口,完善权限控制与操作日志
2026-09-19 10:54:15 +08:00

1585 lines
61 KiB
Go

// Code generated by ent, DO NOT EDIT.
package inboundorder
import (
"bj_power_wms/ent/predicate"
"entgo.io/ent/dialect/sql"
)
// ID filters vertices based on their ID field.
func ID(id int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldID, id))
}
// IDEQ applies the EQ predicate on the ID field.
func IDEQ(id int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldID, id))
}
// IDNEQ applies the NEQ predicate on the ID field.
func IDNEQ(id int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldID, id))
}
// IDIn applies the In predicate on the ID field.
func IDIn(ids ...int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldID, ids...))
}
// IDNotIn applies the NotIn predicate on the ID field.
func IDNotIn(ids ...int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldID, ids...))
}
// IDGT applies the GT predicate on the ID field.
func IDGT(id int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldID, id))
}
// IDGTE applies the GTE predicate on the ID field.
func IDGTE(id int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldID, id))
}
// IDLT applies the LT predicate on the ID field.
func IDLT(id int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldID, id))
}
// IDLTE applies the LTE predicate on the ID field.
func IDLTE(id int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldID, id))
}
// InboundNo applies equality check predicate on the "inbound_no" field. It's identical to InboundNoEQ.
func InboundNo(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldInboundNo, v))
}
// InboundType applies equality check predicate on the "inbound_type" field. It's identical to InboundTypeEQ.
func InboundType(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldInboundType, v))
}
// MaterialCode applies equality check predicate on the "material_code" field. It's identical to MaterialCodeEQ.
func MaterialCode(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldMaterialCode, v))
}
// MaterialName applies equality check predicate on the "material_name" field. It's identical to MaterialNameEQ.
func MaterialName(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldMaterialName, v))
}
// ManageMode applies equality check predicate on the "manage_mode" field. It's identical to ManageModeEQ.
func ManageMode(v int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldManageMode, v))
}
// BatchNo applies equality check predicate on the "batch_no" field. It's identical to BatchNoEQ.
func BatchNo(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldBatchNo, v))
}
// ZoneCode applies equality check predicate on the "zone_code" field. It's identical to ZoneCodeEQ.
func ZoneCode(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldZoneCode, v))
}
// ShelfNo applies equality check predicate on the "shelf_no" field. It's identical to ShelfNoEQ.
func ShelfNo(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldShelfNo, v))
}
// LayerNo applies equality check predicate on the "layer_no" field. It's identical to LayerNoEQ.
func LayerNo(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldLayerNo, v))
}
// PositionNo applies equality check predicate on the "position_no" field. It's identical to PositionNoEQ.
func PositionNo(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldPositionNo, v))
}
// Quantity applies equality check predicate on the "quantity" field. It's identical to QuantityEQ.
func Quantity(v int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldQuantity, v))
}
// Operator applies equality check predicate on the "operator" field. It's identical to OperatorEQ.
func Operator(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldOperator, v))
}
// Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
func Remark(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldRemark, v))
}
// InspectionNo applies equality check predicate on the "inspection_no" field. It's identical to InspectionNoEQ.
func InspectionNo(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldInspectionNo, v))
}
// OwnershipType applies equality check predicate on the "ownership_type" field. It's identical to OwnershipTypeEQ.
func OwnershipType(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldOwnershipType, v))
}
// OwnershipNo applies equality check predicate on the "ownership_no" field. It's identical to OwnershipNoEQ.
func OwnershipNo(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldOwnershipNo, v))
}
// QualityStatus applies equality check predicate on the "quality_status" field. It's identical to QualityStatusEQ.
func QualityStatus(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldQualityStatus, v))
}
// Voided applies equality check predicate on the "voided" field. It's identical to VoidedEQ.
func Voided(v bool) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldVoided, v))
}
// VoidReason applies equality check predicate on the "void_reason" field. It's identical to VoidReasonEQ.
func VoidReason(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldVoidReason, v))
}
// VoidedBy applies equality check predicate on the "voided_by" field. It's identical to VoidedByEQ.
func VoidedBy(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldVoidedBy, v))
}
// VoidedAt applies equality check predicate on the "voided_at" field. It's identical to VoidedAtEQ.
func VoidedAt(v int64) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldVoidedAt, v))
}
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAt(v int64) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldCreatedAt, v))
}
// InboundNoEQ applies the EQ predicate on the "inbound_no" field.
func InboundNoEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldInboundNo, v))
}
// InboundNoNEQ applies the NEQ predicate on the "inbound_no" field.
func InboundNoNEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldInboundNo, v))
}
// InboundNoIn applies the In predicate on the "inbound_no" field.
func InboundNoIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldInboundNo, vs...))
}
// InboundNoNotIn applies the NotIn predicate on the "inbound_no" field.
func InboundNoNotIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldInboundNo, vs...))
}
// InboundNoGT applies the GT predicate on the "inbound_no" field.
func InboundNoGT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldInboundNo, v))
}
// InboundNoGTE applies the GTE predicate on the "inbound_no" field.
func InboundNoGTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldInboundNo, v))
}
// InboundNoLT applies the LT predicate on the "inbound_no" field.
func InboundNoLT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldInboundNo, v))
}
// InboundNoLTE applies the LTE predicate on the "inbound_no" field.
func InboundNoLTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldInboundNo, v))
}
// InboundNoContains applies the Contains predicate on the "inbound_no" field.
func InboundNoContains(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContains(FieldInboundNo, v))
}
// InboundNoHasPrefix applies the HasPrefix predicate on the "inbound_no" field.
func InboundNoHasPrefix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasPrefix(FieldInboundNo, v))
}
// InboundNoHasSuffix applies the HasSuffix predicate on the "inbound_no" field.
func InboundNoHasSuffix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasSuffix(FieldInboundNo, v))
}
// InboundNoEqualFold applies the EqualFold predicate on the "inbound_no" field.
func InboundNoEqualFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEqualFold(FieldInboundNo, v))
}
// InboundNoContainsFold applies the ContainsFold predicate on the "inbound_no" field.
func InboundNoContainsFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContainsFold(FieldInboundNo, v))
}
// InboundTypeEQ applies the EQ predicate on the "inbound_type" field.
func InboundTypeEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldInboundType, v))
}
// InboundTypeNEQ applies the NEQ predicate on the "inbound_type" field.
func InboundTypeNEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldInboundType, v))
}
// InboundTypeIn applies the In predicate on the "inbound_type" field.
func InboundTypeIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldInboundType, vs...))
}
// InboundTypeNotIn applies the NotIn predicate on the "inbound_type" field.
func InboundTypeNotIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldInboundType, vs...))
}
// InboundTypeGT applies the GT predicate on the "inbound_type" field.
func InboundTypeGT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldInboundType, v))
}
// InboundTypeGTE applies the GTE predicate on the "inbound_type" field.
func InboundTypeGTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldInboundType, v))
}
// InboundTypeLT applies the LT predicate on the "inbound_type" field.
func InboundTypeLT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldInboundType, v))
}
// InboundTypeLTE applies the LTE predicate on the "inbound_type" field.
func InboundTypeLTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldInboundType, v))
}
// InboundTypeContains applies the Contains predicate on the "inbound_type" field.
func InboundTypeContains(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContains(FieldInboundType, v))
}
// InboundTypeHasPrefix applies the HasPrefix predicate on the "inbound_type" field.
func InboundTypeHasPrefix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasPrefix(FieldInboundType, v))
}
// InboundTypeHasSuffix applies the HasSuffix predicate on the "inbound_type" field.
func InboundTypeHasSuffix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasSuffix(FieldInboundType, v))
}
// InboundTypeEqualFold applies the EqualFold predicate on the "inbound_type" field.
func InboundTypeEqualFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEqualFold(FieldInboundType, v))
}
// InboundTypeContainsFold applies the ContainsFold predicate on the "inbound_type" field.
func InboundTypeContainsFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContainsFold(FieldInboundType, v))
}
// MaterialCodeEQ applies the EQ predicate on the "material_code" field.
func MaterialCodeEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldMaterialCode, v))
}
// MaterialCodeNEQ applies the NEQ predicate on the "material_code" field.
func MaterialCodeNEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldMaterialCode, v))
}
// MaterialCodeIn applies the In predicate on the "material_code" field.
func MaterialCodeIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldMaterialCode, vs...))
}
// MaterialCodeNotIn applies the NotIn predicate on the "material_code" field.
func MaterialCodeNotIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldMaterialCode, vs...))
}
// MaterialCodeGT applies the GT predicate on the "material_code" field.
func MaterialCodeGT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldMaterialCode, v))
}
// MaterialCodeGTE applies the GTE predicate on the "material_code" field.
func MaterialCodeGTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldMaterialCode, v))
}
// MaterialCodeLT applies the LT predicate on the "material_code" field.
func MaterialCodeLT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldMaterialCode, v))
}
// MaterialCodeLTE applies the LTE predicate on the "material_code" field.
func MaterialCodeLTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldMaterialCode, v))
}
// MaterialCodeContains applies the Contains predicate on the "material_code" field.
func MaterialCodeContains(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContains(FieldMaterialCode, v))
}
// MaterialCodeHasPrefix applies the HasPrefix predicate on the "material_code" field.
func MaterialCodeHasPrefix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasPrefix(FieldMaterialCode, v))
}
// MaterialCodeHasSuffix applies the HasSuffix predicate on the "material_code" field.
func MaterialCodeHasSuffix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasSuffix(FieldMaterialCode, v))
}
// MaterialCodeEqualFold applies the EqualFold predicate on the "material_code" field.
func MaterialCodeEqualFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEqualFold(FieldMaterialCode, v))
}
// MaterialCodeContainsFold applies the ContainsFold predicate on the "material_code" field.
func MaterialCodeContainsFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContainsFold(FieldMaterialCode, v))
}
// MaterialNameEQ applies the EQ predicate on the "material_name" field.
func MaterialNameEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldMaterialName, v))
}
// MaterialNameNEQ applies the NEQ predicate on the "material_name" field.
func MaterialNameNEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldMaterialName, v))
}
// MaterialNameIn applies the In predicate on the "material_name" field.
func MaterialNameIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldMaterialName, vs...))
}
// MaterialNameNotIn applies the NotIn predicate on the "material_name" field.
func MaterialNameNotIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldMaterialName, vs...))
}
// MaterialNameGT applies the GT predicate on the "material_name" field.
func MaterialNameGT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldMaterialName, v))
}
// MaterialNameGTE applies the GTE predicate on the "material_name" field.
func MaterialNameGTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldMaterialName, v))
}
// MaterialNameLT applies the LT predicate on the "material_name" field.
func MaterialNameLT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldMaterialName, v))
}
// MaterialNameLTE applies the LTE predicate on the "material_name" field.
func MaterialNameLTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldMaterialName, v))
}
// MaterialNameContains applies the Contains predicate on the "material_name" field.
func MaterialNameContains(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContains(FieldMaterialName, v))
}
// MaterialNameHasPrefix applies the HasPrefix predicate on the "material_name" field.
func MaterialNameHasPrefix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasPrefix(FieldMaterialName, v))
}
// MaterialNameHasSuffix applies the HasSuffix predicate on the "material_name" field.
func MaterialNameHasSuffix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasSuffix(FieldMaterialName, v))
}
// MaterialNameIsNil applies the IsNil predicate on the "material_name" field.
func MaterialNameIsNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIsNull(FieldMaterialName))
}
// MaterialNameNotNil applies the NotNil predicate on the "material_name" field.
func MaterialNameNotNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotNull(FieldMaterialName))
}
// MaterialNameEqualFold applies the EqualFold predicate on the "material_name" field.
func MaterialNameEqualFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEqualFold(FieldMaterialName, v))
}
// MaterialNameContainsFold applies the ContainsFold predicate on the "material_name" field.
func MaterialNameContainsFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContainsFold(FieldMaterialName, v))
}
// ManageModeEQ applies the EQ predicate on the "manage_mode" field.
func ManageModeEQ(v int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldManageMode, v))
}
// ManageModeNEQ applies the NEQ predicate on the "manage_mode" field.
func ManageModeNEQ(v int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldManageMode, v))
}
// ManageModeIn applies the In predicate on the "manage_mode" field.
func ManageModeIn(vs ...int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldManageMode, vs...))
}
// ManageModeNotIn applies the NotIn predicate on the "manage_mode" field.
func ManageModeNotIn(vs ...int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldManageMode, vs...))
}
// ManageModeGT applies the GT predicate on the "manage_mode" field.
func ManageModeGT(v int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldManageMode, v))
}
// ManageModeGTE applies the GTE predicate on the "manage_mode" field.
func ManageModeGTE(v int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldManageMode, v))
}
// ManageModeLT applies the LT predicate on the "manage_mode" field.
func ManageModeLT(v int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldManageMode, v))
}
// ManageModeLTE applies the LTE predicate on the "manage_mode" field.
func ManageModeLTE(v int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldManageMode, v))
}
// BatchNoEQ applies the EQ predicate on the "batch_no" field.
func BatchNoEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldBatchNo, v))
}
// BatchNoNEQ applies the NEQ predicate on the "batch_no" field.
func BatchNoNEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldBatchNo, v))
}
// BatchNoIn applies the In predicate on the "batch_no" field.
func BatchNoIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldBatchNo, vs...))
}
// BatchNoNotIn applies the NotIn predicate on the "batch_no" field.
func BatchNoNotIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldBatchNo, vs...))
}
// BatchNoGT applies the GT predicate on the "batch_no" field.
func BatchNoGT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldBatchNo, v))
}
// BatchNoGTE applies the GTE predicate on the "batch_no" field.
func BatchNoGTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldBatchNo, v))
}
// BatchNoLT applies the LT predicate on the "batch_no" field.
func BatchNoLT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldBatchNo, v))
}
// BatchNoLTE applies the LTE predicate on the "batch_no" field.
func BatchNoLTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldBatchNo, v))
}
// BatchNoContains applies the Contains predicate on the "batch_no" field.
func BatchNoContains(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContains(FieldBatchNo, v))
}
// BatchNoHasPrefix applies the HasPrefix predicate on the "batch_no" field.
func BatchNoHasPrefix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasPrefix(FieldBatchNo, v))
}
// BatchNoHasSuffix applies the HasSuffix predicate on the "batch_no" field.
func BatchNoHasSuffix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasSuffix(FieldBatchNo, v))
}
// BatchNoIsNil applies the IsNil predicate on the "batch_no" field.
func BatchNoIsNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIsNull(FieldBatchNo))
}
// BatchNoNotNil applies the NotNil predicate on the "batch_no" field.
func BatchNoNotNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotNull(FieldBatchNo))
}
// BatchNoEqualFold applies the EqualFold predicate on the "batch_no" field.
func BatchNoEqualFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEqualFold(FieldBatchNo, v))
}
// BatchNoContainsFold applies the ContainsFold predicate on the "batch_no" field.
func BatchNoContainsFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContainsFold(FieldBatchNo, v))
}
// ZoneCodeEQ applies the EQ predicate on the "zone_code" field.
func ZoneCodeEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldZoneCode, v))
}
// ZoneCodeNEQ applies the NEQ predicate on the "zone_code" field.
func ZoneCodeNEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldZoneCode, v))
}
// ZoneCodeIn applies the In predicate on the "zone_code" field.
func ZoneCodeIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldZoneCode, vs...))
}
// ZoneCodeNotIn applies the NotIn predicate on the "zone_code" field.
func ZoneCodeNotIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldZoneCode, vs...))
}
// ZoneCodeGT applies the GT predicate on the "zone_code" field.
func ZoneCodeGT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldZoneCode, v))
}
// ZoneCodeGTE applies the GTE predicate on the "zone_code" field.
func ZoneCodeGTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldZoneCode, v))
}
// ZoneCodeLT applies the LT predicate on the "zone_code" field.
func ZoneCodeLT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldZoneCode, v))
}
// ZoneCodeLTE applies the LTE predicate on the "zone_code" field.
func ZoneCodeLTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldZoneCode, v))
}
// ZoneCodeContains applies the Contains predicate on the "zone_code" field.
func ZoneCodeContains(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContains(FieldZoneCode, v))
}
// ZoneCodeHasPrefix applies the HasPrefix predicate on the "zone_code" field.
func ZoneCodeHasPrefix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasPrefix(FieldZoneCode, v))
}
// ZoneCodeHasSuffix applies the HasSuffix predicate on the "zone_code" field.
func ZoneCodeHasSuffix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasSuffix(FieldZoneCode, v))
}
// ZoneCodeIsNil applies the IsNil predicate on the "zone_code" field.
func ZoneCodeIsNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIsNull(FieldZoneCode))
}
// ZoneCodeNotNil applies the NotNil predicate on the "zone_code" field.
func ZoneCodeNotNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotNull(FieldZoneCode))
}
// ZoneCodeEqualFold applies the EqualFold predicate on the "zone_code" field.
func ZoneCodeEqualFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEqualFold(FieldZoneCode, v))
}
// ZoneCodeContainsFold applies the ContainsFold predicate on the "zone_code" field.
func ZoneCodeContainsFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContainsFold(FieldZoneCode, v))
}
// ShelfNoEQ applies the EQ predicate on the "shelf_no" field.
func ShelfNoEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldShelfNo, v))
}
// ShelfNoNEQ applies the NEQ predicate on the "shelf_no" field.
func ShelfNoNEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldShelfNo, v))
}
// ShelfNoIn applies the In predicate on the "shelf_no" field.
func ShelfNoIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldShelfNo, vs...))
}
// ShelfNoNotIn applies the NotIn predicate on the "shelf_no" field.
func ShelfNoNotIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldShelfNo, vs...))
}
// ShelfNoGT applies the GT predicate on the "shelf_no" field.
func ShelfNoGT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldShelfNo, v))
}
// ShelfNoGTE applies the GTE predicate on the "shelf_no" field.
func ShelfNoGTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldShelfNo, v))
}
// ShelfNoLT applies the LT predicate on the "shelf_no" field.
func ShelfNoLT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldShelfNo, v))
}
// ShelfNoLTE applies the LTE predicate on the "shelf_no" field.
func ShelfNoLTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldShelfNo, v))
}
// ShelfNoContains applies the Contains predicate on the "shelf_no" field.
func ShelfNoContains(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContains(FieldShelfNo, v))
}
// ShelfNoHasPrefix applies the HasPrefix predicate on the "shelf_no" field.
func ShelfNoHasPrefix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasPrefix(FieldShelfNo, v))
}
// ShelfNoHasSuffix applies the HasSuffix predicate on the "shelf_no" field.
func ShelfNoHasSuffix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasSuffix(FieldShelfNo, v))
}
// ShelfNoIsNil applies the IsNil predicate on the "shelf_no" field.
func ShelfNoIsNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIsNull(FieldShelfNo))
}
// ShelfNoNotNil applies the NotNil predicate on the "shelf_no" field.
func ShelfNoNotNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotNull(FieldShelfNo))
}
// ShelfNoEqualFold applies the EqualFold predicate on the "shelf_no" field.
func ShelfNoEqualFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEqualFold(FieldShelfNo, v))
}
// ShelfNoContainsFold applies the ContainsFold predicate on the "shelf_no" field.
func ShelfNoContainsFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContainsFold(FieldShelfNo, v))
}
// LayerNoEQ applies the EQ predicate on the "layer_no" field.
func LayerNoEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldLayerNo, v))
}
// LayerNoNEQ applies the NEQ predicate on the "layer_no" field.
func LayerNoNEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldLayerNo, v))
}
// LayerNoIn applies the In predicate on the "layer_no" field.
func LayerNoIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldLayerNo, vs...))
}
// LayerNoNotIn applies the NotIn predicate on the "layer_no" field.
func LayerNoNotIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldLayerNo, vs...))
}
// LayerNoGT applies the GT predicate on the "layer_no" field.
func LayerNoGT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldLayerNo, v))
}
// LayerNoGTE applies the GTE predicate on the "layer_no" field.
func LayerNoGTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldLayerNo, v))
}
// LayerNoLT applies the LT predicate on the "layer_no" field.
func LayerNoLT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldLayerNo, v))
}
// LayerNoLTE applies the LTE predicate on the "layer_no" field.
func LayerNoLTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldLayerNo, v))
}
// LayerNoContains applies the Contains predicate on the "layer_no" field.
func LayerNoContains(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContains(FieldLayerNo, v))
}
// LayerNoHasPrefix applies the HasPrefix predicate on the "layer_no" field.
func LayerNoHasPrefix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasPrefix(FieldLayerNo, v))
}
// LayerNoHasSuffix applies the HasSuffix predicate on the "layer_no" field.
func LayerNoHasSuffix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasSuffix(FieldLayerNo, v))
}
// LayerNoIsNil applies the IsNil predicate on the "layer_no" field.
func LayerNoIsNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIsNull(FieldLayerNo))
}
// LayerNoNotNil applies the NotNil predicate on the "layer_no" field.
func LayerNoNotNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotNull(FieldLayerNo))
}
// LayerNoEqualFold applies the EqualFold predicate on the "layer_no" field.
func LayerNoEqualFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEqualFold(FieldLayerNo, v))
}
// LayerNoContainsFold applies the ContainsFold predicate on the "layer_no" field.
func LayerNoContainsFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContainsFold(FieldLayerNo, v))
}
// PositionNoEQ applies the EQ predicate on the "position_no" field.
func PositionNoEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldPositionNo, v))
}
// PositionNoNEQ applies the NEQ predicate on the "position_no" field.
func PositionNoNEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldPositionNo, v))
}
// PositionNoIn applies the In predicate on the "position_no" field.
func PositionNoIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldPositionNo, vs...))
}
// PositionNoNotIn applies the NotIn predicate on the "position_no" field.
func PositionNoNotIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldPositionNo, vs...))
}
// PositionNoGT applies the GT predicate on the "position_no" field.
func PositionNoGT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldPositionNo, v))
}
// PositionNoGTE applies the GTE predicate on the "position_no" field.
func PositionNoGTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldPositionNo, v))
}
// PositionNoLT applies the LT predicate on the "position_no" field.
func PositionNoLT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldPositionNo, v))
}
// PositionNoLTE applies the LTE predicate on the "position_no" field.
func PositionNoLTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldPositionNo, v))
}
// PositionNoContains applies the Contains predicate on the "position_no" field.
func PositionNoContains(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContains(FieldPositionNo, v))
}
// PositionNoHasPrefix applies the HasPrefix predicate on the "position_no" field.
func PositionNoHasPrefix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasPrefix(FieldPositionNo, v))
}
// PositionNoHasSuffix applies the HasSuffix predicate on the "position_no" field.
func PositionNoHasSuffix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasSuffix(FieldPositionNo, v))
}
// PositionNoIsNil applies the IsNil predicate on the "position_no" field.
func PositionNoIsNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIsNull(FieldPositionNo))
}
// PositionNoNotNil applies the NotNil predicate on the "position_no" field.
func PositionNoNotNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotNull(FieldPositionNo))
}
// PositionNoEqualFold applies the EqualFold predicate on the "position_no" field.
func PositionNoEqualFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEqualFold(FieldPositionNo, v))
}
// PositionNoContainsFold applies the ContainsFold predicate on the "position_no" field.
func PositionNoContainsFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContainsFold(FieldPositionNo, v))
}
// QuantityEQ applies the EQ predicate on the "quantity" field.
func QuantityEQ(v int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldQuantity, v))
}
// QuantityNEQ applies the NEQ predicate on the "quantity" field.
func QuantityNEQ(v int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldQuantity, v))
}
// QuantityIn applies the In predicate on the "quantity" field.
func QuantityIn(vs ...int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldQuantity, vs...))
}
// QuantityNotIn applies the NotIn predicate on the "quantity" field.
func QuantityNotIn(vs ...int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldQuantity, vs...))
}
// QuantityGT applies the GT predicate on the "quantity" field.
func QuantityGT(v int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldQuantity, v))
}
// QuantityGTE applies the GTE predicate on the "quantity" field.
func QuantityGTE(v int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldQuantity, v))
}
// QuantityLT applies the LT predicate on the "quantity" field.
func QuantityLT(v int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldQuantity, v))
}
// QuantityLTE applies the LTE predicate on the "quantity" field.
func QuantityLTE(v int) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldQuantity, v))
}
// OperatorEQ applies the EQ predicate on the "operator" field.
func OperatorEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldOperator, v))
}
// OperatorNEQ applies the NEQ predicate on the "operator" field.
func OperatorNEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldOperator, v))
}
// OperatorIn applies the In predicate on the "operator" field.
func OperatorIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldOperator, vs...))
}
// OperatorNotIn applies the NotIn predicate on the "operator" field.
func OperatorNotIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldOperator, vs...))
}
// OperatorGT applies the GT predicate on the "operator" field.
func OperatorGT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldOperator, v))
}
// OperatorGTE applies the GTE predicate on the "operator" field.
func OperatorGTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldOperator, v))
}
// OperatorLT applies the LT predicate on the "operator" field.
func OperatorLT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldOperator, v))
}
// OperatorLTE applies the LTE predicate on the "operator" field.
func OperatorLTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldOperator, v))
}
// OperatorContains applies the Contains predicate on the "operator" field.
func OperatorContains(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContains(FieldOperator, v))
}
// OperatorHasPrefix applies the HasPrefix predicate on the "operator" field.
func OperatorHasPrefix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasPrefix(FieldOperator, v))
}
// OperatorHasSuffix applies the HasSuffix predicate on the "operator" field.
func OperatorHasSuffix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasSuffix(FieldOperator, v))
}
// OperatorIsNil applies the IsNil predicate on the "operator" field.
func OperatorIsNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIsNull(FieldOperator))
}
// OperatorNotNil applies the NotNil predicate on the "operator" field.
func OperatorNotNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotNull(FieldOperator))
}
// OperatorEqualFold applies the EqualFold predicate on the "operator" field.
func OperatorEqualFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEqualFold(FieldOperator, v))
}
// OperatorContainsFold applies the ContainsFold predicate on the "operator" field.
func OperatorContainsFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContainsFold(FieldOperator, v))
}
// RemarkEQ applies the EQ predicate on the "remark" field.
func RemarkEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldRemark, v))
}
// RemarkNEQ applies the NEQ predicate on the "remark" field.
func RemarkNEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldRemark, v))
}
// RemarkIn applies the In predicate on the "remark" field.
func RemarkIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldRemark, vs...))
}
// RemarkNotIn applies the NotIn predicate on the "remark" field.
func RemarkNotIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldRemark, vs...))
}
// RemarkGT applies the GT predicate on the "remark" field.
func RemarkGT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldRemark, v))
}
// RemarkGTE applies the GTE predicate on the "remark" field.
func RemarkGTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldRemark, v))
}
// RemarkLT applies the LT predicate on the "remark" field.
func RemarkLT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldRemark, v))
}
// RemarkLTE applies the LTE predicate on the "remark" field.
func RemarkLTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldRemark, v))
}
// RemarkContains applies the Contains predicate on the "remark" field.
func RemarkContains(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContains(FieldRemark, v))
}
// RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
func RemarkHasPrefix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasPrefix(FieldRemark, v))
}
// RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
func RemarkHasSuffix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasSuffix(FieldRemark, v))
}
// RemarkIsNil applies the IsNil predicate on the "remark" field.
func RemarkIsNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIsNull(FieldRemark))
}
// RemarkNotNil applies the NotNil predicate on the "remark" field.
func RemarkNotNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotNull(FieldRemark))
}
// RemarkEqualFold applies the EqualFold predicate on the "remark" field.
func RemarkEqualFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEqualFold(FieldRemark, v))
}
// RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
func RemarkContainsFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContainsFold(FieldRemark, v))
}
// InspectionNoEQ applies the EQ predicate on the "inspection_no" field.
func InspectionNoEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldInspectionNo, v))
}
// InspectionNoNEQ applies the NEQ predicate on the "inspection_no" field.
func InspectionNoNEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldInspectionNo, v))
}
// InspectionNoIn applies the In predicate on the "inspection_no" field.
func InspectionNoIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldInspectionNo, vs...))
}
// InspectionNoNotIn applies the NotIn predicate on the "inspection_no" field.
func InspectionNoNotIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldInspectionNo, vs...))
}
// InspectionNoGT applies the GT predicate on the "inspection_no" field.
func InspectionNoGT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldInspectionNo, v))
}
// InspectionNoGTE applies the GTE predicate on the "inspection_no" field.
func InspectionNoGTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldInspectionNo, v))
}
// InspectionNoLT applies the LT predicate on the "inspection_no" field.
func InspectionNoLT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldInspectionNo, v))
}
// InspectionNoLTE applies the LTE predicate on the "inspection_no" field.
func InspectionNoLTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldInspectionNo, v))
}
// InspectionNoContains applies the Contains predicate on the "inspection_no" field.
func InspectionNoContains(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContains(FieldInspectionNo, v))
}
// InspectionNoHasPrefix applies the HasPrefix predicate on the "inspection_no" field.
func InspectionNoHasPrefix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasPrefix(FieldInspectionNo, v))
}
// InspectionNoHasSuffix applies the HasSuffix predicate on the "inspection_no" field.
func InspectionNoHasSuffix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasSuffix(FieldInspectionNo, v))
}
// InspectionNoEqualFold applies the EqualFold predicate on the "inspection_no" field.
func InspectionNoEqualFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEqualFold(FieldInspectionNo, v))
}
// InspectionNoContainsFold applies the ContainsFold predicate on the "inspection_no" field.
func InspectionNoContainsFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContainsFold(FieldInspectionNo, v))
}
// OwnershipTypeEQ applies the EQ predicate on the "ownership_type" field.
func OwnershipTypeEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldOwnershipType, v))
}
// OwnershipTypeNEQ applies the NEQ predicate on the "ownership_type" field.
func OwnershipTypeNEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldOwnershipType, v))
}
// OwnershipTypeIn applies the In predicate on the "ownership_type" field.
func OwnershipTypeIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldOwnershipType, vs...))
}
// OwnershipTypeNotIn applies the NotIn predicate on the "ownership_type" field.
func OwnershipTypeNotIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldOwnershipType, vs...))
}
// OwnershipTypeGT applies the GT predicate on the "ownership_type" field.
func OwnershipTypeGT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldOwnershipType, v))
}
// OwnershipTypeGTE applies the GTE predicate on the "ownership_type" field.
func OwnershipTypeGTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldOwnershipType, v))
}
// OwnershipTypeLT applies the LT predicate on the "ownership_type" field.
func OwnershipTypeLT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldOwnershipType, v))
}
// OwnershipTypeLTE applies the LTE predicate on the "ownership_type" field.
func OwnershipTypeLTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldOwnershipType, v))
}
// OwnershipTypeContains applies the Contains predicate on the "ownership_type" field.
func OwnershipTypeContains(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContains(FieldOwnershipType, v))
}
// OwnershipTypeHasPrefix applies the HasPrefix predicate on the "ownership_type" field.
func OwnershipTypeHasPrefix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasPrefix(FieldOwnershipType, v))
}
// OwnershipTypeHasSuffix applies the HasSuffix predicate on the "ownership_type" field.
func OwnershipTypeHasSuffix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasSuffix(FieldOwnershipType, v))
}
// OwnershipTypeEqualFold applies the EqualFold predicate on the "ownership_type" field.
func OwnershipTypeEqualFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEqualFold(FieldOwnershipType, v))
}
// OwnershipTypeContainsFold applies the ContainsFold predicate on the "ownership_type" field.
func OwnershipTypeContainsFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContainsFold(FieldOwnershipType, v))
}
// OwnershipNoEQ applies the EQ predicate on the "ownership_no" field.
func OwnershipNoEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldOwnershipNo, v))
}
// OwnershipNoNEQ applies the NEQ predicate on the "ownership_no" field.
func OwnershipNoNEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldOwnershipNo, v))
}
// OwnershipNoIn applies the In predicate on the "ownership_no" field.
func OwnershipNoIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldOwnershipNo, vs...))
}
// OwnershipNoNotIn applies the NotIn predicate on the "ownership_no" field.
func OwnershipNoNotIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldOwnershipNo, vs...))
}
// OwnershipNoGT applies the GT predicate on the "ownership_no" field.
func OwnershipNoGT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldOwnershipNo, v))
}
// OwnershipNoGTE applies the GTE predicate on the "ownership_no" field.
func OwnershipNoGTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldOwnershipNo, v))
}
// OwnershipNoLT applies the LT predicate on the "ownership_no" field.
func OwnershipNoLT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldOwnershipNo, v))
}
// OwnershipNoLTE applies the LTE predicate on the "ownership_no" field.
func OwnershipNoLTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldOwnershipNo, v))
}
// OwnershipNoContains applies the Contains predicate on the "ownership_no" field.
func OwnershipNoContains(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContains(FieldOwnershipNo, v))
}
// OwnershipNoHasPrefix applies the HasPrefix predicate on the "ownership_no" field.
func OwnershipNoHasPrefix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasPrefix(FieldOwnershipNo, v))
}
// OwnershipNoHasSuffix applies the HasSuffix predicate on the "ownership_no" field.
func OwnershipNoHasSuffix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasSuffix(FieldOwnershipNo, v))
}
// OwnershipNoIsNil applies the IsNil predicate on the "ownership_no" field.
func OwnershipNoIsNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIsNull(FieldOwnershipNo))
}
// OwnershipNoNotNil applies the NotNil predicate on the "ownership_no" field.
func OwnershipNoNotNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotNull(FieldOwnershipNo))
}
// OwnershipNoEqualFold applies the EqualFold predicate on the "ownership_no" field.
func OwnershipNoEqualFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEqualFold(FieldOwnershipNo, v))
}
// OwnershipNoContainsFold applies the ContainsFold predicate on the "ownership_no" field.
func OwnershipNoContainsFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContainsFold(FieldOwnershipNo, v))
}
// QualityStatusEQ applies the EQ predicate on the "quality_status" field.
func QualityStatusEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldQualityStatus, v))
}
// QualityStatusNEQ applies the NEQ predicate on the "quality_status" field.
func QualityStatusNEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldQualityStatus, v))
}
// QualityStatusIn applies the In predicate on the "quality_status" field.
func QualityStatusIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldQualityStatus, vs...))
}
// QualityStatusNotIn applies the NotIn predicate on the "quality_status" field.
func QualityStatusNotIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldQualityStatus, vs...))
}
// QualityStatusGT applies the GT predicate on the "quality_status" field.
func QualityStatusGT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldQualityStatus, v))
}
// QualityStatusGTE applies the GTE predicate on the "quality_status" field.
func QualityStatusGTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldQualityStatus, v))
}
// QualityStatusLT applies the LT predicate on the "quality_status" field.
func QualityStatusLT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldQualityStatus, v))
}
// QualityStatusLTE applies the LTE predicate on the "quality_status" field.
func QualityStatusLTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldQualityStatus, v))
}
// QualityStatusContains applies the Contains predicate on the "quality_status" field.
func QualityStatusContains(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContains(FieldQualityStatus, v))
}
// QualityStatusHasPrefix applies the HasPrefix predicate on the "quality_status" field.
func QualityStatusHasPrefix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasPrefix(FieldQualityStatus, v))
}
// QualityStatusHasSuffix applies the HasSuffix predicate on the "quality_status" field.
func QualityStatusHasSuffix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasSuffix(FieldQualityStatus, v))
}
// QualityStatusIsNil applies the IsNil predicate on the "quality_status" field.
func QualityStatusIsNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIsNull(FieldQualityStatus))
}
// QualityStatusNotNil applies the NotNil predicate on the "quality_status" field.
func QualityStatusNotNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotNull(FieldQualityStatus))
}
// QualityStatusEqualFold applies the EqualFold predicate on the "quality_status" field.
func QualityStatusEqualFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEqualFold(FieldQualityStatus, v))
}
// QualityStatusContainsFold applies the ContainsFold predicate on the "quality_status" field.
func QualityStatusContainsFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContainsFold(FieldQualityStatus, v))
}
// VoidedEQ applies the EQ predicate on the "voided" field.
func VoidedEQ(v bool) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldVoided, v))
}
// VoidedNEQ applies the NEQ predicate on the "voided" field.
func VoidedNEQ(v bool) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldVoided, v))
}
// VoidReasonEQ applies the EQ predicate on the "void_reason" field.
func VoidReasonEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldVoidReason, v))
}
// VoidReasonNEQ applies the NEQ predicate on the "void_reason" field.
func VoidReasonNEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldVoidReason, v))
}
// VoidReasonIn applies the In predicate on the "void_reason" field.
func VoidReasonIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldVoidReason, vs...))
}
// VoidReasonNotIn applies the NotIn predicate on the "void_reason" field.
func VoidReasonNotIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldVoidReason, vs...))
}
// VoidReasonGT applies the GT predicate on the "void_reason" field.
func VoidReasonGT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldVoidReason, v))
}
// VoidReasonGTE applies the GTE predicate on the "void_reason" field.
func VoidReasonGTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldVoidReason, v))
}
// VoidReasonLT applies the LT predicate on the "void_reason" field.
func VoidReasonLT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldVoidReason, v))
}
// VoidReasonLTE applies the LTE predicate on the "void_reason" field.
func VoidReasonLTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldVoidReason, v))
}
// VoidReasonContains applies the Contains predicate on the "void_reason" field.
func VoidReasonContains(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContains(FieldVoidReason, v))
}
// VoidReasonHasPrefix applies the HasPrefix predicate on the "void_reason" field.
func VoidReasonHasPrefix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasPrefix(FieldVoidReason, v))
}
// VoidReasonHasSuffix applies the HasSuffix predicate on the "void_reason" field.
func VoidReasonHasSuffix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasSuffix(FieldVoidReason, v))
}
// VoidReasonIsNil applies the IsNil predicate on the "void_reason" field.
func VoidReasonIsNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIsNull(FieldVoidReason))
}
// VoidReasonNotNil applies the NotNil predicate on the "void_reason" field.
func VoidReasonNotNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotNull(FieldVoidReason))
}
// VoidReasonEqualFold applies the EqualFold predicate on the "void_reason" field.
func VoidReasonEqualFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEqualFold(FieldVoidReason, v))
}
// VoidReasonContainsFold applies the ContainsFold predicate on the "void_reason" field.
func VoidReasonContainsFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContainsFold(FieldVoidReason, v))
}
// VoidedByEQ applies the EQ predicate on the "voided_by" field.
func VoidedByEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldVoidedBy, v))
}
// VoidedByNEQ applies the NEQ predicate on the "voided_by" field.
func VoidedByNEQ(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldVoidedBy, v))
}
// VoidedByIn applies the In predicate on the "voided_by" field.
func VoidedByIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldVoidedBy, vs...))
}
// VoidedByNotIn applies the NotIn predicate on the "voided_by" field.
func VoidedByNotIn(vs ...string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldVoidedBy, vs...))
}
// VoidedByGT applies the GT predicate on the "voided_by" field.
func VoidedByGT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldVoidedBy, v))
}
// VoidedByGTE applies the GTE predicate on the "voided_by" field.
func VoidedByGTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldVoidedBy, v))
}
// VoidedByLT applies the LT predicate on the "voided_by" field.
func VoidedByLT(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldVoidedBy, v))
}
// VoidedByLTE applies the LTE predicate on the "voided_by" field.
func VoidedByLTE(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldVoidedBy, v))
}
// VoidedByContains applies the Contains predicate on the "voided_by" field.
func VoidedByContains(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContains(FieldVoidedBy, v))
}
// VoidedByHasPrefix applies the HasPrefix predicate on the "voided_by" field.
func VoidedByHasPrefix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasPrefix(FieldVoidedBy, v))
}
// VoidedByHasSuffix applies the HasSuffix predicate on the "voided_by" field.
func VoidedByHasSuffix(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldHasSuffix(FieldVoidedBy, v))
}
// VoidedByIsNil applies the IsNil predicate on the "voided_by" field.
func VoidedByIsNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIsNull(FieldVoidedBy))
}
// VoidedByNotNil applies the NotNil predicate on the "voided_by" field.
func VoidedByNotNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotNull(FieldVoidedBy))
}
// VoidedByEqualFold applies the EqualFold predicate on the "voided_by" field.
func VoidedByEqualFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEqualFold(FieldVoidedBy, v))
}
// VoidedByContainsFold applies the ContainsFold predicate on the "voided_by" field.
func VoidedByContainsFold(v string) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldContainsFold(FieldVoidedBy, v))
}
// VoidedAtEQ applies the EQ predicate on the "voided_at" field.
func VoidedAtEQ(v int64) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldVoidedAt, v))
}
// VoidedAtNEQ applies the NEQ predicate on the "voided_at" field.
func VoidedAtNEQ(v int64) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldVoidedAt, v))
}
// VoidedAtIn applies the In predicate on the "voided_at" field.
func VoidedAtIn(vs ...int64) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldVoidedAt, vs...))
}
// VoidedAtNotIn applies the NotIn predicate on the "voided_at" field.
func VoidedAtNotIn(vs ...int64) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldVoidedAt, vs...))
}
// VoidedAtGT applies the GT predicate on the "voided_at" field.
func VoidedAtGT(v int64) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldVoidedAt, v))
}
// VoidedAtGTE applies the GTE predicate on the "voided_at" field.
func VoidedAtGTE(v int64) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldVoidedAt, v))
}
// VoidedAtLT applies the LT predicate on the "voided_at" field.
func VoidedAtLT(v int64) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldVoidedAt, v))
}
// VoidedAtLTE applies the LTE predicate on the "voided_at" field.
func VoidedAtLTE(v int64) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldVoidedAt, v))
}
// VoidedAtIsNil applies the IsNil predicate on the "voided_at" field.
func VoidedAtIsNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIsNull(FieldVoidedAt))
}
// VoidedAtNotNil applies the NotNil predicate on the "voided_at" field.
func VoidedAtNotNil() predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotNull(FieldVoidedAt))
}
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtEQ(v int64) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldEQ(FieldCreatedAt, v))
}
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNEQ(v int64) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNEQ(FieldCreatedAt, v))
}
// CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIn(vs ...int64) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldIn(FieldCreatedAt, vs...))
}
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotIn(vs ...int64) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldNotIn(FieldCreatedAt, vs...))
}
// CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGT(v int64) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGT(FieldCreatedAt, v))
}
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtGTE(v int64) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldGTE(FieldCreatedAt, v))
}
// CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLT(v int64) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLT(FieldCreatedAt, v))
}
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtLTE(v int64) predicate.InboundOrder {
return predicate.InboundOrder(sql.FieldLTE(FieldCreatedAt, v))
}
// And groups predicates with the AND operator between them.
func And(predicates ...predicate.InboundOrder) predicate.InboundOrder {
return predicate.InboundOrder(sql.AndPredicates(predicates...))
}
// Or groups predicates with the OR operator between them.
func Or(predicates ...predicate.InboundOrder) predicate.InboundOrder {
return predicate.InboundOrder(sql.OrPredicates(predicates...))
}
// Not applies the not operator on the given predicate.
func Not(p predicate.InboundOrder) predicate.InboundOrder {
return predicate.InboundOrder(sql.NotPredicates(p))
}