初始化2
This commit is contained in:
@@ -0,0 +1,539 @@
|
||||
// Code generated by ent, DO NOT EDIT.
|
||||
|
||||
package outbounddetail
|
||||
|
||||
import (
|
||||
"bj_power_wms/ent/predicate"
|
||||
|
||||
"entgo.io/ent/dialect/sql"
|
||||
)
|
||||
|
||||
// ID filters vertices based on their ID field.
|
||||
func ID(id int) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEQ(FieldID, id))
|
||||
}
|
||||
|
||||
// IDEQ applies the EQ predicate on the ID field.
|
||||
func IDEQ(id int) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEQ(FieldID, id))
|
||||
}
|
||||
|
||||
// IDNEQ applies the NEQ predicate on the ID field.
|
||||
func IDNEQ(id int) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldNEQ(FieldID, id))
|
||||
}
|
||||
|
||||
// IDIn applies the In predicate on the ID field.
|
||||
func IDIn(ids ...int) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldIn(FieldID, ids...))
|
||||
}
|
||||
|
||||
// IDNotIn applies the NotIn predicate on the ID field.
|
||||
func IDNotIn(ids ...int) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldNotIn(FieldID, ids...))
|
||||
}
|
||||
|
||||
// IDGT applies the GT predicate on the ID field.
|
||||
func IDGT(id int) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldGT(FieldID, id))
|
||||
}
|
||||
|
||||
// IDGTE applies the GTE predicate on the ID field.
|
||||
func IDGTE(id int) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldGTE(FieldID, id))
|
||||
}
|
||||
|
||||
// IDLT applies the LT predicate on the ID field.
|
||||
func IDLT(id int) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldLT(FieldID, id))
|
||||
}
|
||||
|
||||
// IDLTE applies the LTE predicate on the ID field.
|
||||
func IDLTE(id int) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldLTE(FieldID, id))
|
||||
}
|
||||
|
||||
// OutboundNo applies equality check predicate on the "outbound_no" field. It's identical to OutboundNoEQ.
|
||||
func OutboundNo(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEQ(FieldOutboundNo, v))
|
||||
}
|
||||
|
||||
// SnCode applies equality check predicate on the "sn_code" field. It's identical to SnCodeEQ.
|
||||
func SnCode(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEQ(FieldSnCode, v))
|
||||
}
|
||||
|
||||
// BatchNo applies equality check predicate on the "batch_no" field. It's identical to BatchNoEQ.
|
||||
func BatchNo(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEQ(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// MaterialCode applies equality check predicate on the "material_code" field. It's identical to MaterialCodeEQ.
|
||||
func MaterialCode(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEQ(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// Quantity applies equality check predicate on the "quantity" field. It's identical to QuantityEQ.
|
||||
func Quantity(v int) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEQ(FieldQuantity, v))
|
||||
}
|
||||
|
||||
// OrderNo applies equality check predicate on the "order_no" field. It's identical to OrderNoEQ.
|
||||
func OrderNo(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEQ(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
|
||||
func CreatedAt(v int64) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEQ(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// OutboundNoEQ applies the EQ predicate on the "outbound_no" field.
|
||||
func OutboundNoEQ(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEQ(FieldOutboundNo, v))
|
||||
}
|
||||
|
||||
// OutboundNoNEQ applies the NEQ predicate on the "outbound_no" field.
|
||||
func OutboundNoNEQ(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldNEQ(FieldOutboundNo, v))
|
||||
}
|
||||
|
||||
// OutboundNoIn applies the In predicate on the "outbound_no" field.
|
||||
func OutboundNoIn(vs ...string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldIn(FieldOutboundNo, vs...))
|
||||
}
|
||||
|
||||
// OutboundNoNotIn applies the NotIn predicate on the "outbound_no" field.
|
||||
func OutboundNoNotIn(vs ...string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldNotIn(FieldOutboundNo, vs...))
|
||||
}
|
||||
|
||||
// OutboundNoGT applies the GT predicate on the "outbound_no" field.
|
||||
func OutboundNoGT(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldGT(FieldOutboundNo, v))
|
||||
}
|
||||
|
||||
// OutboundNoGTE applies the GTE predicate on the "outbound_no" field.
|
||||
func OutboundNoGTE(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldGTE(FieldOutboundNo, v))
|
||||
}
|
||||
|
||||
// OutboundNoLT applies the LT predicate on the "outbound_no" field.
|
||||
func OutboundNoLT(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldLT(FieldOutboundNo, v))
|
||||
}
|
||||
|
||||
// OutboundNoLTE applies the LTE predicate on the "outbound_no" field.
|
||||
func OutboundNoLTE(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldLTE(FieldOutboundNo, v))
|
||||
}
|
||||
|
||||
// OutboundNoContains applies the Contains predicate on the "outbound_no" field.
|
||||
func OutboundNoContains(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldContains(FieldOutboundNo, v))
|
||||
}
|
||||
|
||||
// OutboundNoHasPrefix applies the HasPrefix predicate on the "outbound_no" field.
|
||||
func OutboundNoHasPrefix(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldHasPrefix(FieldOutboundNo, v))
|
||||
}
|
||||
|
||||
// OutboundNoHasSuffix applies the HasSuffix predicate on the "outbound_no" field.
|
||||
func OutboundNoHasSuffix(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldHasSuffix(FieldOutboundNo, v))
|
||||
}
|
||||
|
||||
// OutboundNoEqualFold applies the EqualFold predicate on the "outbound_no" field.
|
||||
func OutboundNoEqualFold(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEqualFold(FieldOutboundNo, v))
|
||||
}
|
||||
|
||||
// OutboundNoContainsFold applies the ContainsFold predicate on the "outbound_no" field.
|
||||
func OutboundNoContainsFold(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldContainsFold(FieldOutboundNo, v))
|
||||
}
|
||||
|
||||
// SnCodeEQ applies the EQ predicate on the "sn_code" field.
|
||||
func SnCodeEQ(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEQ(FieldSnCode, v))
|
||||
}
|
||||
|
||||
// SnCodeNEQ applies the NEQ predicate on the "sn_code" field.
|
||||
func SnCodeNEQ(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldNEQ(FieldSnCode, v))
|
||||
}
|
||||
|
||||
// SnCodeIn applies the In predicate on the "sn_code" field.
|
||||
func SnCodeIn(vs ...string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldIn(FieldSnCode, vs...))
|
||||
}
|
||||
|
||||
// SnCodeNotIn applies the NotIn predicate on the "sn_code" field.
|
||||
func SnCodeNotIn(vs ...string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldNotIn(FieldSnCode, vs...))
|
||||
}
|
||||
|
||||
// SnCodeGT applies the GT predicate on the "sn_code" field.
|
||||
func SnCodeGT(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldGT(FieldSnCode, v))
|
||||
}
|
||||
|
||||
// SnCodeGTE applies the GTE predicate on the "sn_code" field.
|
||||
func SnCodeGTE(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldGTE(FieldSnCode, v))
|
||||
}
|
||||
|
||||
// SnCodeLT applies the LT predicate on the "sn_code" field.
|
||||
func SnCodeLT(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldLT(FieldSnCode, v))
|
||||
}
|
||||
|
||||
// SnCodeLTE applies the LTE predicate on the "sn_code" field.
|
||||
func SnCodeLTE(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldLTE(FieldSnCode, v))
|
||||
}
|
||||
|
||||
// SnCodeContains applies the Contains predicate on the "sn_code" field.
|
||||
func SnCodeContains(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldContains(FieldSnCode, v))
|
||||
}
|
||||
|
||||
// SnCodeHasPrefix applies the HasPrefix predicate on the "sn_code" field.
|
||||
func SnCodeHasPrefix(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldHasPrefix(FieldSnCode, v))
|
||||
}
|
||||
|
||||
// SnCodeHasSuffix applies the HasSuffix predicate on the "sn_code" field.
|
||||
func SnCodeHasSuffix(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldHasSuffix(FieldSnCode, v))
|
||||
}
|
||||
|
||||
// SnCodeIsNil applies the IsNil predicate on the "sn_code" field.
|
||||
func SnCodeIsNil() predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldIsNull(FieldSnCode))
|
||||
}
|
||||
|
||||
// SnCodeNotNil applies the NotNil predicate on the "sn_code" field.
|
||||
func SnCodeNotNil() predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldNotNull(FieldSnCode))
|
||||
}
|
||||
|
||||
// SnCodeEqualFold applies the EqualFold predicate on the "sn_code" field.
|
||||
func SnCodeEqualFold(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEqualFold(FieldSnCode, v))
|
||||
}
|
||||
|
||||
// SnCodeContainsFold applies the ContainsFold predicate on the "sn_code" field.
|
||||
func SnCodeContainsFold(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldContainsFold(FieldSnCode, v))
|
||||
}
|
||||
|
||||
// BatchNoEQ applies the EQ predicate on the "batch_no" field.
|
||||
func BatchNoEQ(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEQ(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoNEQ applies the NEQ predicate on the "batch_no" field.
|
||||
func BatchNoNEQ(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldNEQ(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoIn applies the In predicate on the "batch_no" field.
|
||||
func BatchNoIn(vs ...string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldIn(FieldBatchNo, vs...))
|
||||
}
|
||||
|
||||
// BatchNoNotIn applies the NotIn predicate on the "batch_no" field.
|
||||
func BatchNoNotIn(vs ...string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldNotIn(FieldBatchNo, vs...))
|
||||
}
|
||||
|
||||
// BatchNoGT applies the GT predicate on the "batch_no" field.
|
||||
func BatchNoGT(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldGT(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoGTE applies the GTE predicate on the "batch_no" field.
|
||||
func BatchNoGTE(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldGTE(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoLT applies the LT predicate on the "batch_no" field.
|
||||
func BatchNoLT(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldLT(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoLTE applies the LTE predicate on the "batch_no" field.
|
||||
func BatchNoLTE(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldLTE(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoContains applies the Contains predicate on the "batch_no" field.
|
||||
func BatchNoContains(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldContains(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoHasPrefix applies the HasPrefix predicate on the "batch_no" field.
|
||||
func BatchNoHasPrefix(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldHasPrefix(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoHasSuffix applies the HasSuffix predicate on the "batch_no" field.
|
||||
func BatchNoHasSuffix(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldHasSuffix(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoIsNil applies the IsNil predicate on the "batch_no" field.
|
||||
func BatchNoIsNil() predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldIsNull(FieldBatchNo))
|
||||
}
|
||||
|
||||
// BatchNoNotNil applies the NotNil predicate on the "batch_no" field.
|
||||
func BatchNoNotNil() predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldNotNull(FieldBatchNo))
|
||||
}
|
||||
|
||||
// BatchNoEqualFold applies the EqualFold predicate on the "batch_no" field.
|
||||
func BatchNoEqualFold(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEqualFold(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// BatchNoContainsFold applies the ContainsFold predicate on the "batch_no" field.
|
||||
func BatchNoContainsFold(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldContainsFold(FieldBatchNo, v))
|
||||
}
|
||||
|
||||
// MaterialCodeEQ applies the EQ predicate on the "material_code" field.
|
||||
func MaterialCodeEQ(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEQ(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeNEQ applies the NEQ predicate on the "material_code" field.
|
||||
func MaterialCodeNEQ(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldNEQ(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeIn applies the In predicate on the "material_code" field.
|
||||
func MaterialCodeIn(vs ...string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldIn(FieldMaterialCode, vs...))
|
||||
}
|
||||
|
||||
// MaterialCodeNotIn applies the NotIn predicate on the "material_code" field.
|
||||
func MaterialCodeNotIn(vs ...string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldNotIn(FieldMaterialCode, vs...))
|
||||
}
|
||||
|
||||
// MaterialCodeGT applies the GT predicate on the "material_code" field.
|
||||
func MaterialCodeGT(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldGT(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeGTE applies the GTE predicate on the "material_code" field.
|
||||
func MaterialCodeGTE(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldGTE(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeLT applies the LT predicate on the "material_code" field.
|
||||
func MaterialCodeLT(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldLT(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeLTE applies the LTE predicate on the "material_code" field.
|
||||
func MaterialCodeLTE(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldLTE(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeContains applies the Contains predicate on the "material_code" field.
|
||||
func MaterialCodeContains(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldContains(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeHasPrefix applies the HasPrefix predicate on the "material_code" field.
|
||||
func MaterialCodeHasPrefix(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldHasPrefix(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeHasSuffix applies the HasSuffix predicate on the "material_code" field.
|
||||
func MaterialCodeHasSuffix(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldHasSuffix(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeEqualFold applies the EqualFold predicate on the "material_code" field.
|
||||
func MaterialCodeEqualFold(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEqualFold(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// MaterialCodeContainsFold applies the ContainsFold predicate on the "material_code" field.
|
||||
func MaterialCodeContainsFold(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldContainsFold(FieldMaterialCode, v))
|
||||
}
|
||||
|
||||
// QuantityEQ applies the EQ predicate on the "quantity" field.
|
||||
func QuantityEQ(v int) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEQ(FieldQuantity, v))
|
||||
}
|
||||
|
||||
// QuantityNEQ applies the NEQ predicate on the "quantity" field.
|
||||
func QuantityNEQ(v int) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldNEQ(FieldQuantity, v))
|
||||
}
|
||||
|
||||
// QuantityIn applies the In predicate on the "quantity" field.
|
||||
func QuantityIn(vs ...int) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldIn(FieldQuantity, vs...))
|
||||
}
|
||||
|
||||
// QuantityNotIn applies the NotIn predicate on the "quantity" field.
|
||||
func QuantityNotIn(vs ...int) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldNotIn(FieldQuantity, vs...))
|
||||
}
|
||||
|
||||
// QuantityGT applies the GT predicate on the "quantity" field.
|
||||
func QuantityGT(v int) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldGT(FieldQuantity, v))
|
||||
}
|
||||
|
||||
// QuantityGTE applies the GTE predicate on the "quantity" field.
|
||||
func QuantityGTE(v int) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldGTE(FieldQuantity, v))
|
||||
}
|
||||
|
||||
// QuantityLT applies the LT predicate on the "quantity" field.
|
||||
func QuantityLT(v int) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldLT(FieldQuantity, v))
|
||||
}
|
||||
|
||||
// QuantityLTE applies the LTE predicate on the "quantity" field.
|
||||
func QuantityLTE(v int) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldLTE(FieldQuantity, v))
|
||||
}
|
||||
|
||||
// OrderNoEQ applies the EQ predicate on the "order_no" field.
|
||||
func OrderNoEQ(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEQ(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoNEQ applies the NEQ predicate on the "order_no" field.
|
||||
func OrderNoNEQ(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldNEQ(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoIn applies the In predicate on the "order_no" field.
|
||||
func OrderNoIn(vs ...string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldIn(FieldOrderNo, vs...))
|
||||
}
|
||||
|
||||
// OrderNoNotIn applies the NotIn predicate on the "order_no" field.
|
||||
func OrderNoNotIn(vs ...string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldNotIn(FieldOrderNo, vs...))
|
||||
}
|
||||
|
||||
// OrderNoGT applies the GT predicate on the "order_no" field.
|
||||
func OrderNoGT(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldGT(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoGTE applies the GTE predicate on the "order_no" field.
|
||||
func OrderNoGTE(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldGTE(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoLT applies the LT predicate on the "order_no" field.
|
||||
func OrderNoLT(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldLT(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoLTE applies the LTE predicate on the "order_no" field.
|
||||
func OrderNoLTE(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldLTE(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoContains applies the Contains predicate on the "order_no" field.
|
||||
func OrderNoContains(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldContains(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoHasPrefix applies the HasPrefix predicate on the "order_no" field.
|
||||
func OrderNoHasPrefix(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldHasPrefix(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoHasSuffix applies the HasSuffix predicate on the "order_no" field.
|
||||
func OrderNoHasSuffix(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldHasSuffix(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoIsNil applies the IsNil predicate on the "order_no" field.
|
||||
func OrderNoIsNil() predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldIsNull(FieldOrderNo))
|
||||
}
|
||||
|
||||
// OrderNoNotNil applies the NotNil predicate on the "order_no" field.
|
||||
func OrderNoNotNil() predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldNotNull(FieldOrderNo))
|
||||
}
|
||||
|
||||
// OrderNoEqualFold applies the EqualFold predicate on the "order_no" field.
|
||||
func OrderNoEqualFold(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEqualFold(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoContainsFold applies the ContainsFold predicate on the "order_no" field.
|
||||
func OrderNoContainsFold(v string) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldContainsFold(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
|
||||
func CreatedAtEQ(v int64) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldEQ(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
|
||||
func CreatedAtNEQ(v int64) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldNEQ(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtIn applies the In predicate on the "created_at" field.
|
||||
func CreatedAtIn(vs ...int64) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldIn(FieldCreatedAt, vs...))
|
||||
}
|
||||
|
||||
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
|
||||
func CreatedAtNotIn(vs ...int64) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldNotIn(FieldCreatedAt, vs...))
|
||||
}
|
||||
|
||||
// CreatedAtGT applies the GT predicate on the "created_at" field.
|
||||
func CreatedAtGT(v int64) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldGT(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
|
||||
func CreatedAtGTE(v int64) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldGTE(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtLT applies the LT predicate on the "created_at" field.
|
||||
func CreatedAtLT(v int64) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldLT(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
|
||||
func CreatedAtLTE(v int64) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.FieldLTE(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// And groups predicates with the AND operator between them.
|
||||
func And(predicates ...predicate.OutboundDetail) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.AndPredicates(predicates...))
|
||||
}
|
||||
|
||||
// Or groups predicates with the OR operator between them.
|
||||
func Or(predicates ...predicate.OutboundDetail) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.OrPredicates(predicates...))
|
||||
}
|
||||
|
||||
// Not applies the not operator on the given predicate.
|
||||
func Not(p predicate.OutboundDetail) predicate.OutboundDetail {
|
||||
return predicate.OutboundDetail(sql.NotPredicates(p))
|
||||
}
|
||||
Reference in New Issue
Block a user