690 lines
26 KiB
Go
690 lines
26 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package inventorylock
|
|
|
|
import (
|
|
"bj_power_wms/ent/predicate"
|
|
|
|
"entgo.io/ent/dialect/sql"
|
|
)
|
|
|
|
// ID filters vertices based on their ID field.
|
|
func ID(id int) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDEQ applies the EQ predicate on the ID field.
|
|
func IDEQ(id int) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDNEQ applies the NEQ predicate on the ID field.
|
|
func IDNEQ(id int) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNEQ(FieldID, id))
|
|
}
|
|
|
|
// IDIn applies the In predicate on the ID field.
|
|
func IDIn(ids ...int) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDNotIn applies the NotIn predicate on the ID field.
|
|
func IDNotIn(ids ...int) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNotIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDGT applies the GT predicate on the ID field.
|
|
func IDGT(id int) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGT(FieldID, id))
|
|
}
|
|
|
|
// IDGTE applies the GTE predicate on the ID field.
|
|
func IDGTE(id int) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGTE(FieldID, id))
|
|
}
|
|
|
|
// IDLT applies the LT predicate on the ID field.
|
|
func IDLT(id int) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLT(FieldID, id))
|
|
}
|
|
|
|
// IDLTE applies the LTE predicate on the ID field.
|
|
func IDLTE(id int) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLTE(FieldID, id))
|
|
}
|
|
|
|
// TargetType applies equality check predicate on the "target_type" field. It's identical to TargetTypeEQ.
|
|
func TargetType(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetID applies equality check predicate on the "target_id" field. It's identical to TargetIDEQ.
|
|
func TargetID(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldTargetID, v))
|
|
}
|
|
|
|
// MaterialCode applies equality check predicate on the "material_code" field. It's identical to MaterialCodeEQ.
|
|
func MaterialCode(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldMaterialCode, v))
|
|
}
|
|
|
|
// LockedQty applies equality check predicate on the "locked_qty" field. It's identical to LockedQtyEQ.
|
|
func LockedQty(v int) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldLockedQty, v))
|
|
}
|
|
|
|
// OrderNo applies equality check predicate on the "order_no" field. It's identical to OrderNoEQ.
|
|
func OrderNo(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldOrderNo, v))
|
|
}
|
|
|
|
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
|
|
func Status(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// ExpiredAt applies equality check predicate on the "expired_at" field. It's identical to ExpiredAtEQ.
|
|
func ExpiredAt(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldExpiredAt, v))
|
|
}
|
|
|
|
// Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
|
|
func Remark(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldRemark, v))
|
|
}
|
|
|
|
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
|
|
func CreatedAt(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
|
|
func UpdatedAt(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// TargetTypeEQ applies the EQ predicate on the "target_type" field.
|
|
func TargetTypeEQ(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeNEQ applies the NEQ predicate on the "target_type" field.
|
|
func TargetTypeNEQ(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNEQ(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeIn applies the In predicate on the "target_type" field.
|
|
func TargetTypeIn(vs ...string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldIn(FieldTargetType, vs...))
|
|
}
|
|
|
|
// TargetTypeNotIn applies the NotIn predicate on the "target_type" field.
|
|
func TargetTypeNotIn(vs ...string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNotIn(FieldTargetType, vs...))
|
|
}
|
|
|
|
// TargetTypeGT applies the GT predicate on the "target_type" field.
|
|
func TargetTypeGT(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGT(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeGTE applies the GTE predicate on the "target_type" field.
|
|
func TargetTypeGTE(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGTE(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeLT applies the LT predicate on the "target_type" field.
|
|
func TargetTypeLT(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLT(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeLTE applies the LTE predicate on the "target_type" field.
|
|
func TargetTypeLTE(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLTE(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeContains applies the Contains predicate on the "target_type" field.
|
|
func TargetTypeContains(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldContains(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeHasPrefix applies the HasPrefix predicate on the "target_type" field.
|
|
func TargetTypeHasPrefix(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldHasPrefix(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeHasSuffix applies the HasSuffix predicate on the "target_type" field.
|
|
func TargetTypeHasSuffix(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldHasSuffix(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeEqualFold applies the EqualFold predicate on the "target_type" field.
|
|
func TargetTypeEqualFold(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEqualFold(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetTypeContainsFold applies the ContainsFold predicate on the "target_type" field.
|
|
func TargetTypeContainsFold(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldContainsFold(FieldTargetType, v))
|
|
}
|
|
|
|
// TargetIDEQ applies the EQ predicate on the "target_id" field.
|
|
func TargetIDEQ(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDNEQ applies the NEQ predicate on the "target_id" field.
|
|
func TargetIDNEQ(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNEQ(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDIn applies the In predicate on the "target_id" field.
|
|
func TargetIDIn(vs ...string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldIn(FieldTargetID, vs...))
|
|
}
|
|
|
|
// TargetIDNotIn applies the NotIn predicate on the "target_id" field.
|
|
func TargetIDNotIn(vs ...string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNotIn(FieldTargetID, vs...))
|
|
}
|
|
|
|
// TargetIDGT applies the GT predicate on the "target_id" field.
|
|
func TargetIDGT(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGT(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDGTE applies the GTE predicate on the "target_id" field.
|
|
func TargetIDGTE(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGTE(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDLT applies the LT predicate on the "target_id" field.
|
|
func TargetIDLT(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLT(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDLTE applies the LTE predicate on the "target_id" field.
|
|
func TargetIDLTE(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLTE(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDContains applies the Contains predicate on the "target_id" field.
|
|
func TargetIDContains(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldContains(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDHasPrefix applies the HasPrefix predicate on the "target_id" field.
|
|
func TargetIDHasPrefix(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldHasPrefix(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDHasSuffix applies the HasSuffix predicate on the "target_id" field.
|
|
func TargetIDHasSuffix(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldHasSuffix(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDEqualFold applies the EqualFold predicate on the "target_id" field.
|
|
func TargetIDEqualFold(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEqualFold(FieldTargetID, v))
|
|
}
|
|
|
|
// TargetIDContainsFold applies the ContainsFold predicate on the "target_id" field.
|
|
func TargetIDContainsFold(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldContainsFold(FieldTargetID, v))
|
|
}
|
|
|
|
// MaterialCodeEQ applies the EQ predicate on the "material_code" field.
|
|
func MaterialCodeEQ(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeNEQ applies the NEQ predicate on the "material_code" field.
|
|
func MaterialCodeNEQ(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNEQ(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeIn applies the In predicate on the "material_code" field.
|
|
func MaterialCodeIn(vs ...string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldIn(FieldMaterialCode, vs...))
|
|
}
|
|
|
|
// MaterialCodeNotIn applies the NotIn predicate on the "material_code" field.
|
|
func MaterialCodeNotIn(vs ...string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNotIn(FieldMaterialCode, vs...))
|
|
}
|
|
|
|
// MaterialCodeGT applies the GT predicate on the "material_code" field.
|
|
func MaterialCodeGT(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGT(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeGTE applies the GTE predicate on the "material_code" field.
|
|
func MaterialCodeGTE(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGTE(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeLT applies the LT predicate on the "material_code" field.
|
|
func MaterialCodeLT(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLT(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeLTE applies the LTE predicate on the "material_code" field.
|
|
func MaterialCodeLTE(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLTE(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeContains applies the Contains predicate on the "material_code" field.
|
|
func MaterialCodeContains(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldContains(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeHasPrefix applies the HasPrefix predicate on the "material_code" field.
|
|
func MaterialCodeHasPrefix(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldHasPrefix(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeHasSuffix applies the HasSuffix predicate on the "material_code" field.
|
|
func MaterialCodeHasSuffix(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldHasSuffix(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeEqualFold applies the EqualFold predicate on the "material_code" field.
|
|
func MaterialCodeEqualFold(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEqualFold(FieldMaterialCode, v))
|
|
}
|
|
|
|
// MaterialCodeContainsFold applies the ContainsFold predicate on the "material_code" field.
|
|
func MaterialCodeContainsFold(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldContainsFold(FieldMaterialCode, v))
|
|
}
|
|
|
|
// LockedQtyEQ applies the EQ predicate on the "locked_qty" field.
|
|
func LockedQtyEQ(v int) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldLockedQty, v))
|
|
}
|
|
|
|
// LockedQtyNEQ applies the NEQ predicate on the "locked_qty" field.
|
|
func LockedQtyNEQ(v int) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNEQ(FieldLockedQty, v))
|
|
}
|
|
|
|
// LockedQtyIn applies the In predicate on the "locked_qty" field.
|
|
func LockedQtyIn(vs ...int) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldIn(FieldLockedQty, vs...))
|
|
}
|
|
|
|
// LockedQtyNotIn applies the NotIn predicate on the "locked_qty" field.
|
|
func LockedQtyNotIn(vs ...int) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNotIn(FieldLockedQty, vs...))
|
|
}
|
|
|
|
// LockedQtyGT applies the GT predicate on the "locked_qty" field.
|
|
func LockedQtyGT(v int) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGT(FieldLockedQty, v))
|
|
}
|
|
|
|
// LockedQtyGTE applies the GTE predicate on the "locked_qty" field.
|
|
func LockedQtyGTE(v int) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGTE(FieldLockedQty, v))
|
|
}
|
|
|
|
// LockedQtyLT applies the LT predicate on the "locked_qty" field.
|
|
func LockedQtyLT(v int) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLT(FieldLockedQty, v))
|
|
}
|
|
|
|
// LockedQtyLTE applies the LTE predicate on the "locked_qty" field.
|
|
func LockedQtyLTE(v int) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLTE(FieldLockedQty, v))
|
|
}
|
|
|
|
// OrderNoEQ applies the EQ predicate on the "order_no" field.
|
|
func OrderNoEQ(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoNEQ applies the NEQ predicate on the "order_no" field.
|
|
func OrderNoNEQ(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNEQ(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoIn applies the In predicate on the "order_no" field.
|
|
func OrderNoIn(vs ...string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldIn(FieldOrderNo, vs...))
|
|
}
|
|
|
|
// OrderNoNotIn applies the NotIn predicate on the "order_no" field.
|
|
func OrderNoNotIn(vs ...string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNotIn(FieldOrderNo, vs...))
|
|
}
|
|
|
|
// OrderNoGT applies the GT predicate on the "order_no" field.
|
|
func OrderNoGT(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGT(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoGTE applies the GTE predicate on the "order_no" field.
|
|
func OrderNoGTE(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGTE(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoLT applies the LT predicate on the "order_no" field.
|
|
func OrderNoLT(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLT(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoLTE applies the LTE predicate on the "order_no" field.
|
|
func OrderNoLTE(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLTE(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoContains applies the Contains predicate on the "order_no" field.
|
|
func OrderNoContains(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldContains(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoHasPrefix applies the HasPrefix predicate on the "order_no" field.
|
|
func OrderNoHasPrefix(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldHasPrefix(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoHasSuffix applies the HasSuffix predicate on the "order_no" field.
|
|
func OrderNoHasSuffix(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldHasSuffix(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoEqualFold applies the EqualFold predicate on the "order_no" field.
|
|
func OrderNoEqualFold(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEqualFold(FieldOrderNo, v))
|
|
}
|
|
|
|
// OrderNoContainsFold applies the ContainsFold predicate on the "order_no" field.
|
|
func OrderNoContainsFold(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldContainsFold(FieldOrderNo, v))
|
|
}
|
|
|
|
// StatusEQ applies the EQ predicate on the "status" field.
|
|
func StatusEQ(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusNEQ applies the NEQ predicate on the "status" field.
|
|
func StatusNEQ(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusIn applies the In predicate on the "status" field.
|
|
func StatusIn(vs ...string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusNotIn applies the NotIn predicate on the "status" field.
|
|
func StatusNotIn(vs ...string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNotIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusGT applies the GT predicate on the "status" field.
|
|
func StatusGT(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusGTE applies the GTE predicate on the "status" field.
|
|
func StatusGTE(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLT applies the LT predicate on the "status" field.
|
|
func StatusLT(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLTE applies the LTE predicate on the "status" field.
|
|
func StatusLTE(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusContains applies the Contains predicate on the "status" field.
|
|
func StatusContains(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldContains(FieldStatus, v))
|
|
}
|
|
|
|
// StatusHasPrefix applies the HasPrefix predicate on the "status" field.
|
|
func StatusHasPrefix(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldHasPrefix(FieldStatus, v))
|
|
}
|
|
|
|
// StatusHasSuffix applies the HasSuffix predicate on the "status" field.
|
|
func StatusHasSuffix(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldHasSuffix(FieldStatus, v))
|
|
}
|
|
|
|
// StatusEqualFold applies the EqualFold predicate on the "status" field.
|
|
func StatusEqualFold(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEqualFold(FieldStatus, v))
|
|
}
|
|
|
|
// StatusContainsFold applies the ContainsFold predicate on the "status" field.
|
|
func StatusContainsFold(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldContainsFold(FieldStatus, v))
|
|
}
|
|
|
|
// ExpiredAtEQ applies the EQ predicate on the "expired_at" field.
|
|
func ExpiredAtEQ(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldExpiredAt, v))
|
|
}
|
|
|
|
// ExpiredAtNEQ applies the NEQ predicate on the "expired_at" field.
|
|
func ExpiredAtNEQ(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNEQ(FieldExpiredAt, v))
|
|
}
|
|
|
|
// ExpiredAtIn applies the In predicate on the "expired_at" field.
|
|
func ExpiredAtIn(vs ...int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldIn(FieldExpiredAt, vs...))
|
|
}
|
|
|
|
// ExpiredAtNotIn applies the NotIn predicate on the "expired_at" field.
|
|
func ExpiredAtNotIn(vs ...int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNotIn(FieldExpiredAt, vs...))
|
|
}
|
|
|
|
// ExpiredAtGT applies the GT predicate on the "expired_at" field.
|
|
func ExpiredAtGT(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGT(FieldExpiredAt, v))
|
|
}
|
|
|
|
// ExpiredAtGTE applies the GTE predicate on the "expired_at" field.
|
|
func ExpiredAtGTE(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGTE(FieldExpiredAt, v))
|
|
}
|
|
|
|
// ExpiredAtLT applies the LT predicate on the "expired_at" field.
|
|
func ExpiredAtLT(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLT(FieldExpiredAt, v))
|
|
}
|
|
|
|
// ExpiredAtLTE applies the LTE predicate on the "expired_at" field.
|
|
func ExpiredAtLTE(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLTE(FieldExpiredAt, v))
|
|
}
|
|
|
|
// ExpiredAtIsNil applies the IsNil predicate on the "expired_at" field.
|
|
func ExpiredAtIsNil() predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldIsNull(FieldExpiredAt))
|
|
}
|
|
|
|
// ExpiredAtNotNil applies the NotNil predicate on the "expired_at" field.
|
|
func ExpiredAtNotNil() predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNotNull(FieldExpiredAt))
|
|
}
|
|
|
|
// RemarkEQ applies the EQ predicate on the "remark" field.
|
|
func RemarkEQ(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkNEQ applies the NEQ predicate on the "remark" field.
|
|
func RemarkNEQ(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNEQ(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkIn applies the In predicate on the "remark" field.
|
|
func RemarkIn(vs ...string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldIn(FieldRemark, vs...))
|
|
}
|
|
|
|
// RemarkNotIn applies the NotIn predicate on the "remark" field.
|
|
func RemarkNotIn(vs ...string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNotIn(FieldRemark, vs...))
|
|
}
|
|
|
|
// RemarkGT applies the GT predicate on the "remark" field.
|
|
func RemarkGT(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGT(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkGTE applies the GTE predicate on the "remark" field.
|
|
func RemarkGTE(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGTE(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkLT applies the LT predicate on the "remark" field.
|
|
func RemarkLT(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLT(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkLTE applies the LTE predicate on the "remark" field.
|
|
func RemarkLTE(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLTE(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkContains applies the Contains predicate on the "remark" field.
|
|
func RemarkContains(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldContains(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
|
|
func RemarkHasPrefix(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldHasPrefix(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
|
|
func RemarkHasSuffix(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldHasSuffix(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkIsNil applies the IsNil predicate on the "remark" field.
|
|
func RemarkIsNil() predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldIsNull(FieldRemark))
|
|
}
|
|
|
|
// RemarkNotNil applies the NotNil predicate on the "remark" field.
|
|
func RemarkNotNil() predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNotNull(FieldRemark))
|
|
}
|
|
|
|
// RemarkEqualFold applies the EqualFold predicate on the "remark" field.
|
|
func RemarkEqualFold(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEqualFold(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
|
|
func RemarkContainsFold(v string) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldContainsFold(FieldRemark, v))
|
|
}
|
|
|
|
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
|
|
func CreatedAtEQ(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
|
|
func CreatedAtNEQ(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtIn applies the In predicate on the "created_at" field.
|
|
func CreatedAtIn(vs ...int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
|
|
func CreatedAtNotIn(vs ...int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNotIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtGT applies the GT predicate on the "created_at" field.
|
|
func CreatedAtGT(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
|
|
func CreatedAtGTE(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLT applies the LT predicate on the "created_at" field.
|
|
func CreatedAtLT(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
|
|
func CreatedAtLTE(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
|
|
func UpdatedAtEQ(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
|
|
func UpdatedAtNEQ(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtIn applies the In predicate on the "updated_at" field.
|
|
func UpdatedAtIn(vs ...int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldIn(FieldUpdatedAt, vs...))
|
|
}
|
|
|
|
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
|
|
func UpdatedAtNotIn(vs ...int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldNotIn(FieldUpdatedAt, vs...))
|
|
}
|
|
|
|
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
|
|
func UpdatedAtGT(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGT(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
|
|
func UpdatedAtGTE(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldGTE(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
|
|
func UpdatedAtLT(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLT(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
|
|
func UpdatedAtLTE(v int64) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.FieldLTE(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// And groups predicates with the AND operator between them.
|
|
func And(predicates ...predicate.InventoryLock) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.AndPredicates(predicates...))
|
|
}
|
|
|
|
// Or groups predicates with the OR operator between them.
|
|
func Or(predicates ...predicate.InventoryLock) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.OrPredicates(predicates...))
|
|
}
|
|
|
|
// Not applies the not operator on the given predicate.
|
|
func Not(p predicate.InventoryLock) predicate.InventoryLock {
|
|
return predicate.InventoryLock(sql.NotPredicates(p))
|
|
}
|