831 lines
32 KiB
Go
831 lines
32 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|||
|
|
|
||
|
|
package workpieceprocess
|
||
|
|
|
||
|
|
import (
|
||
|
|
"bj_power_mes/ent/predicate"
|
||
|
|
"time"
|
||
|
|
|
||
|
|
"entgo.io/ent/dialect/sql"
|
||
|
|
)
|
||
|
|
|
||
|
|
// ID filters vertices based on their ID field.
|
||
|
|
func ID(id int) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldID, id))
|
||
|
|
}
|
||
|
|
|
||
|
|
// IDEQ applies the EQ predicate on the ID field.
|
||
|
|
func IDEQ(id int) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldID, id))
|
||
|
|
}
|
||
|
|
|
||
|
|
// IDNEQ applies the NEQ predicate on the ID field.
|
||
|
|
func IDNEQ(id int) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNEQ(FieldID, id))
|
||
|
|
}
|
||
|
|
|
||
|
|
// IDIn applies the In predicate on the ID field.
|
||
|
|
func IDIn(ids ...int) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldIn(FieldID, ids...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// IDNotIn applies the NotIn predicate on the ID field.
|
||
|
|
func IDNotIn(ids ...int) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNotIn(FieldID, ids...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// IDGT applies the GT predicate on the ID field.
|
||
|
|
func IDGT(id int) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGT(FieldID, id))
|
||
|
|
}
|
||
|
|
|
||
|
|
// IDGTE applies the GTE predicate on the ID field.
|
||
|
|
func IDGTE(id int) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGTE(FieldID, id))
|
||
|
|
}
|
||
|
|
|
||
|
|
// IDLT applies the LT predicate on the ID field.
|
||
|
|
func IDLT(id int) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLT(FieldID, id))
|
||
|
|
}
|
||
|
|
|
||
|
|
// IDLTE applies the LTE predicate on the ID field.
|
||
|
|
func IDLTE(id int) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLTE(FieldID, id))
|
||
|
|
}
|
||
|
|
|
||
|
|
// Sn applies equality check predicate on the "sn" field. It's identical to SnEQ.
|
||
|
|
func Sn(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldSn, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessCode applies equality check predicate on the "processCode" field. It's identical to ProcessCodeEQ.
|
||
|
|
func ProcessCode(v int) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldProcessCode, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StationNo applies equality check predicate on the "stationNo" field. It's identical to StationNoEQ.
|
||
|
|
func StationNo(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldStationNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OrderNo applies equality check predicate on the "orderNo" field. It's identical to OrderNoEQ.
|
||
|
|
func OrderNo(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldOrderNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessName applies equality check predicate on the "processName" field. It's identical to ProcessNameEQ.
|
||
|
|
func ProcessName(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldProcessName, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
|
||
|
|
func Status(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldStatus, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// Operator applies equality check predicate on the "operator" field. It's identical to OperatorEQ.
|
||
|
|
func Operator(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldOperator, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// Result applies equality check predicate on the "result" field. It's identical to ResultEQ.
|
||
|
|
func Result(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldResult, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StartedAt applies equality check predicate on the "startedAt" field. It's identical to StartedAtEQ.
|
||
|
|
func StartedAt(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldStartedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// EndedAt applies equality check predicate on the "endedAt" field. It's identical to EndedAtEQ.
|
||
|
|
func EndedAt(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldEndedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
|
||
|
|
func Remark(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldRemark, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// CreatedAt applies equality check predicate on the "createdAt" field. It's identical to CreatedAtEQ.
|
||
|
|
func CreatedAt(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldCreatedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// SnEQ applies the EQ predicate on the "sn" field.
|
||
|
|
func SnEQ(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldSn, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// SnNEQ applies the NEQ predicate on the "sn" field.
|
||
|
|
func SnNEQ(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNEQ(FieldSn, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// SnIn applies the In predicate on the "sn" field.
|
||
|
|
func SnIn(vs ...string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldIn(FieldSn, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// SnNotIn applies the NotIn predicate on the "sn" field.
|
||
|
|
func SnNotIn(vs ...string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNotIn(FieldSn, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// SnGT applies the GT predicate on the "sn" field.
|
||
|
|
func SnGT(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGT(FieldSn, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// SnGTE applies the GTE predicate on the "sn" field.
|
||
|
|
func SnGTE(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGTE(FieldSn, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// SnLT applies the LT predicate on the "sn" field.
|
||
|
|
func SnLT(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLT(FieldSn, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// SnLTE applies the LTE predicate on the "sn" field.
|
||
|
|
func SnLTE(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLTE(FieldSn, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// SnContains applies the Contains predicate on the "sn" field.
|
||
|
|
func SnContains(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldContains(FieldSn, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// SnHasPrefix applies the HasPrefix predicate on the "sn" field.
|
||
|
|
func SnHasPrefix(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldHasPrefix(FieldSn, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// SnHasSuffix applies the HasSuffix predicate on the "sn" field.
|
||
|
|
func SnHasSuffix(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldHasSuffix(FieldSn, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// SnEqualFold applies the EqualFold predicate on the "sn" field.
|
||
|
|
func SnEqualFold(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEqualFold(FieldSn, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// SnContainsFold applies the ContainsFold predicate on the "sn" field.
|
||
|
|
func SnContainsFold(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldContainsFold(FieldSn, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessCodeEQ applies the EQ predicate on the "processCode" field.
|
||
|
|
func ProcessCodeEQ(v int) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldProcessCode, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessCodeNEQ applies the NEQ predicate on the "processCode" field.
|
||
|
|
func ProcessCodeNEQ(v int) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNEQ(FieldProcessCode, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessCodeIn applies the In predicate on the "processCode" field.
|
||
|
|
func ProcessCodeIn(vs ...int) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldIn(FieldProcessCode, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessCodeNotIn applies the NotIn predicate on the "processCode" field.
|
||
|
|
func ProcessCodeNotIn(vs ...int) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNotIn(FieldProcessCode, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessCodeGT applies the GT predicate on the "processCode" field.
|
||
|
|
func ProcessCodeGT(v int) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGT(FieldProcessCode, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessCodeGTE applies the GTE predicate on the "processCode" field.
|
||
|
|
func ProcessCodeGTE(v int) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGTE(FieldProcessCode, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessCodeLT applies the LT predicate on the "processCode" field.
|
||
|
|
func ProcessCodeLT(v int) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLT(FieldProcessCode, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessCodeLTE applies the LTE predicate on the "processCode" field.
|
||
|
|
func ProcessCodeLTE(v int) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLTE(FieldProcessCode, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StationNoEQ applies the EQ predicate on the "stationNo" field.
|
||
|
|
func StationNoEQ(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldStationNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StationNoNEQ applies the NEQ predicate on the "stationNo" field.
|
||
|
|
func StationNoNEQ(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNEQ(FieldStationNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StationNoIn applies the In predicate on the "stationNo" field.
|
||
|
|
func StationNoIn(vs ...string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldIn(FieldStationNo, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StationNoNotIn applies the NotIn predicate on the "stationNo" field.
|
||
|
|
func StationNoNotIn(vs ...string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNotIn(FieldStationNo, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StationNoGT applies the GT predicate on the "stationNo" field.
|
||
|
|
func StationNoGT(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGT(FieldStationNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StationNoGTE applies the GTE predicate on the "stationNo" field.
|
||
|
|
func StationNoGTE(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGTE(FieldStationNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StationNoLT applies the LT predicate on the "stationNo" field.
|
||
|
|
func StationNoLT(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLT(FieldStationNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StationNoLTE applies the LTE predicate on the "stationNo" field.
|
||
|
|
func StationNoLTE(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLTE(FieldStationNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StationNoContains applies the Contains predicate on the "stationNo" field.
|
||
|
|
func StationNoContains(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldContains(FieldStationNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StationNoHasPrefix applies the HasPrefix predicate on the "stationNo" field.
|
||
|
|
func StationNoHasPrefix(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldHasPrefix(FieldStationNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StationNoHasSuffix applies the HasSuffix predicate on the "stationNo" field.
|
||
|
|
func StationNoHasSuffix(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldHasSuffix(FieldStationNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StationNoEqualFold applies the EqualFold predicate on the "stationNo" field.
|
||
|
|
func StationNoEqualFold(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEqualFold(FieldStationNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StationNoContainsFold applies the ContainsFold predicate on the "stationNo" field.
|
||
|
|
func StationNoContainsFold(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldContainsFold(FieldStationNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OrderNoEQ applies the EQ predicate on the "orderNo" field.
|
||
|
|
func OrderNoEQ(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldOrderNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OrderNoNEQ applies the NEQ predicate on the "orderNo" field.
|
||
|
|
func OrderNoNEQ(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNEQ(FieldOrderNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OrderNoIn applies the In predicate on the "orderNo" field.
|
||
|
|
func OrderNoIn(vs ...string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldIn(FieldOrderNo, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OrderNoNotIn applies the NotIn predicate on the "orderNo" field.
|
||
|
|
func OrderNoNotIn(vs ...string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNotIn(FieldOrderNo, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OrderNoGT applies the GT predicate on the "orderNo" field.
|
||
|
|
func OrderNoGT(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGT(FieldOrderNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OrderNoGTE applies the GTE predicate on the "orderNo" field.
|
||
|
|
func OrderNoGTE(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGTE(FieldOrderNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OrderNoLT applies the LT predicate on the "orderNo" field.
|
||
|
|
func OrderNoLT(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLT(FieldOrderNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OrderNoLTE applies the LTE predicate on the "orderNo" field.
|
||
|
|
func OrderNoLTE(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLTE(FieldOrderNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OrderNoContains applies the Contains predicate on the "orderNo" field.
|
||
|
|
func OrderNoContains(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldContains(FieldOrderNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OrderNoHasPrefix applies the HasPrefix predicate on the "orderNo" field.
|
||
|
|
func OrderNoHasPrefix(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldHasPrefix(FieldOrderNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OrderNoHasSuffix applies the HasSuffix predicate on the "orderNo" field.
|
||
|
|
func OrderNoHasSuffix(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldHasSuffix(FieldOrderNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OrderNoEqualFold applies the EqualFold predicate on the "orderNo" field.
|
||
|
|
func OrderNoEqualFold(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEqualFold(FieldOrderNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OrderNoContainsFold applies the ContainsFold predicate on the "orderNo" field.
|
||
|
|
func OrderNoContainsFold(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldContainsFold(FieldOrderNo, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessNameEQ applies the EQ predicate on the "processName" field.
|
||
|
|
func ProcessNameEQ(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldProcessName, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessNameNEQ applies the NEQ predicate on the "processName" field.
|
||
|
|
func ProcessNameNEQ(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNEQ(FieldProcessName, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessNameIn applies the In predicate on the "processName" field.
|
||
|
|
func ProcessNameIn(vs ...string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldIn(FieldProcessName, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessNameNotIn applies the NotIn predicate on the "processName" field.
|
||
|
|
func ProcessNameNotIn(vs ...string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNotIn(FieldProcessName, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessNameGT applies the GT predicate on the "processName" field.
|
||
|
|
func ProcessNameGT(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGT(FieldProcessName, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessNameGTE applies the GTE predicate on the "processName" field.
|
||
|
|
func ProcessNameGTE(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGTE(FieldProcessName, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessNameLT applies the LT predicate on the "processName" field.
|
||
|
|
func ProcessNameLT(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLT(FieldProcessName, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessNameLTE applies the LTE predicate on the "processName" field.
|
||
|
|
func ProcessNameLTE(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLTE(FieldProcessName, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessNameContains applies the Contains predicate on the "processName" field.
|
||
|
|
func ProcessNameContains(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldContains(FieldProcessName, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessNameHasPrefix applies the HasPrefix predicate on the "processName" field.
|
||
|
|
func ProcessNameHasPrefix(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldHasPrefix(FieldProcessName, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessNameHasSuffix applies the HasSuffix predicate on the "processName" field.
|
||
|
|
func ProcessNameHasSuffix(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldHasSuffix(FieldProcessName, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessNameEqualFold applies the EqualFold predicate on the "processName" field.
|
||
|
|
func ProcessNameEqualFold(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEqualFold(FieldProcessName, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ProcessNameContainsFold applies the ContainsFold predicate on the "processName" field.
|
||
|
|
func ProcessNameContainsFold(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldContainsFold(FieldProcessName, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StatusEQ applies the EQ predicate on the "status" field.
|
||
|
|
func StatusEQ(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldStatus, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StatusNEQ applies the NEQ predicate on the "status" field.
|
||
|
|
func StatusNEQ(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNEQ(FieldStatus, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StatusIn applies the In predicate on the "status" field.
|
||
|
|
func StatusIn(vs ...string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldIn(FieldStatus, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StatusNotIn applies the NotIn predicate on the "status" field.
|
||
|
|
func StatusNotIn(vs ...string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNotIn(FieldStatus, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StatusGT applies the GT predicate on the "status" field.
|
||
|
|
func StatusGT(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGT(FieldStatus, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StatusGTE applies the GTE predicate on the "status" field.
|
||
|
|
func StatusGTE(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGTE(FieldStatus, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StatusLT applies the LT predicate on the "status" field.
|
||
|
|
func StatusLT(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLT(FieldStatus, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StatusLTE applies the LTE predicate on the "status" field.
|
||
|
|
func StatusLTE(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLTE(FieldStatus, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StatusContains applies the Contains predicate on the "status" field.
|
||
|
|
func StatusContains(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldContains(FieldStatus, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StatusHasPrefix applies the HasPrefix predicate on the "status" field.
|
||
|
|
func StatusHasPrefix(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldHasPrefix(FieldStatus, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StatusHasSuffix applies the HasSuffix predicate on the "status" field.
|
||
|
|
func StatusHasSuffix(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldHasSuffix(FieldStatus, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StatusEqualFold applies the EqualFold predicate on the "status" field.
|
||
|
|
func StatusEqualFold(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEqualFold(FieldStatus, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StatusContainsFold applies the ContainsFold predicate on the "status" field.
|
||
|
|
func StatusContainsFold(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldContainsFold(FieldStatus, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OperatorEQ applies the EQ predicate on the "operator" field.
|
||
|
|
func OperatorEQ(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldOperator, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OperatorNEQ applies the NEQ predicate on the "operator" field.
|
||
|
|
func OperatorNEQ(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNEQ(FieldOperator, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OperatorIn applies the In predicate on the "operator" field.
|
||
|
|
func OperatorIn(vs ...string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldIn(FieldOperator, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OperatorNotIn applies the NotIn predicate on the "operator" field.
|
||
|
|
func OperatorNotIn(vs ...string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNotIn(FieldOperator, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OperatorGT applies the GT predicate on the "operator" field.
|
||
|
|
func OperatorGT(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGT(FieldOperator, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OperatorGTE applies the GTE predicate on the "operator" field.
|
||
|
|
func OperatorGTE(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGTE(FieldOperator, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OperatorLT applies the LT predicate on the "operator" field.
|
||
|
|
func OperatorLT(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLT(FieldOperator, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OperatorLTE applies the LTE predicate on the "operator" field.
|
||
|
|
func OperatorLTE(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLTE(FieldOperator, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OperatorContains applies the Contains predicate on the "operator" field.
|
||
|
|
func OperatorContains(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldContains(FieldOperator, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OperatorHasPrefix applies the HasPrefix predicate on the "operator" field.
|
||
|
|
func OperatorHasPrefix(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldHasPrefix(FieldOperator, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OperatorHasSuffix applies the HasSuffix predicate on the "operator" field.
|
||
|
|
func OperatorHasSuffix(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldHasSuffix(FieldOperator, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OperatorEqualFold applies the EqualFold predicate on the "operator" field.
|
||
|
|
func OperatorEqualFold(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEqualFold(FieldOperator, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// OperatorContainsFold applies the ContainsFold predicate on the "operator" field.
|
||
|
|
func OperatorContainsFold(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldContainsFold(FieldOperator, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ResultEQ applies the EQ predicate on the "result" field.
|
||
|
|
func ResultEQ(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldResult, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ResultNEQ applies the NEQ predicate on the "result" field.
|
||
|
|
func ResultNEQ(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNEQ(FieldResult, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ResultIn applies the In predicate on the "result" field.
|
||
|
|
func ResultIn(vs ...string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldIn(FieldResult, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ResultNotIn applies the NotIn predicate on the "result" field.
|
||
|
|
func ResultNotIn(vs ...string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNotIn(FieldResult, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ResultGT applies the GT predicate on the "result" field.
|
||
|
|
func ResultGT(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGT(FieldResult, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ResultGTE applies the GTE predicate on the "result" field.
|
||
|
|
func ResultGTE(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGTE(FieldResult, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ResultLT applies the LT predicate on the "result" field.
|
||
|
|
func ResultLT(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLT(FieldResult, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ResultLTE applies the LTE predicate on the "result" field.
|
||
|
|
func ResultLTE(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLTE(FieldResult, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ResultContains applies the Contains predicate on the "result" field.
|
||
|
|
func ResultContains(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldContains(FieldResult, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ResultHasPrefix applies the HasPrefix predicate on the "result" field.
|
||
|
|
func ResultHasPrefix(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldHasPrefix(FieldResult, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ResultHasSuffix applies the HasSuffix predicate on the "result" field.
|
||
|
|
func ResultHasSuffix(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldHasSuffix(FieldResult, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ResultEqualFold applies the EqualFold predicate on the "result" field.
|
||
|
|
func ResultEqualFold(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEqualFold(FieldResult, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// ResultContainsFold applies the ContainsFold predicate on the "result" field.
|
||
|
|
func ResultContainsFold(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldContainsFold(FieldResult, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StartedAtEQ applies the EQ predicate on the "startedAt" field.
|
||
|
|
func StartedAtEQ(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldStartedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StartedAtNEQ applies the NEQ predicate on the "startedAt" field.
|
||
|
|
func StartedAtNEQ(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNEQ(FieldStartedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StartedAtIn applies the In predicate on the "startedAt" field.
|
||
|
|
func StartedAtIn(vs ...time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldIn(FieldStartedAt, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StartedAtNotIn applies the NotIn predicate on the "startedAt" field.
|
||
|
|
func StartedAtNotIn(vs ...time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNotIn(FieldStartedAt, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StartedAtGT applies the GT predicate on the "startedAt" field.
|
||
|
|
func StartedAtGT(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGT(FieldStartedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StartedAtGTE applies the GTE predicate on the "startedAt" field.
|
||
|
|
func StartedAtGTE(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGTE(FieldStartedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StartedAtLT applies the LT predicate on the "startedAt" field.
|
||
|
|
func StartedAtLT(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLT(FieldStartedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StartedAtLTE applies the LTE predicate on the "startedAt" field.
|
||
|
|
func StartedAtLTE(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLTE(FieldStartedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StartedAtIsNil applies the IsNil predicate on the "startedAt" field.
|
||
|
|
func StartedAtIsNil() predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldIsNull(FieldStartedAt))
|
||
|
|
}
|
||
|
|
|
||
|
|
// StartedAtNotNil applies the NotNil predicate on the "startedAt" field.
|
||
|
|
func StartedAtNotNil() predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNotNull(FieldStartedAt))
|
||
|
|
}
|
||
|
|
|
||
|
|
// EndedAtEQ applies the EQ predicate on the "endedAt" field.
|
||
|
|
func EndedAtEQ(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldEndedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// EndedAtNEQ applies the NEQ predicate on the "endedAt" field.
|
||
|
|
func EndedAtNEQ(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNEQ(FieldEndedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// EndedAtIn applies the In predicate on the "endedAt" field.
|
||
|
|
func EndedAtIn(vs ...time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldIn(FieldEndedAt, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// EndedAtNotIn applies the NotIn predicate on the "endedAt" field.
|
||
|
|
func EndedAtNotIn(vs ...time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNotIn(FieldEndedAt, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// EndedAtGT applies the GT predicate on the "endedAt" field.
|
||
|
|
func EndedAtGT(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGT(FieldEndedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// EndedAtGTE applies the GTE predicate on the "endedAt" field.
|
||
|
|
func EndedAtGTE(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGTE(FieldEndedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// EndedAtLT applies the LT predicate on the "endedAt" field.
|
||
|
|
func EndedAtLT(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLT(FieldEndedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// EndedAtLTE applies the LTE predicate on the "endedAt" field.
|
||
|
|
func EndedAtLTE(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLTE(FieldEndedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// EndedAtIsNil applies the IsNil predicate on the "endedAt" field.
|
||
|
|
func EndedAtIsNil() predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldIsNull(FieldEndedAt))
|
||
|
|
}
|
||
|
|
|
||
|
|
// EndedAtNotNil applies the NotNil predicate on the "endedAt" field.
|
||
|
|
func EndedAtNotNil() predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNotNull(FieldEndedAt))
|
||
|
|
}
|
||
|
|
|
||
|
|
// RemarkEQ applies the EQ predicate on the "remark" field.
|
||
|
|
func RemarkEQ(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldRemark, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// RemarkNEQ applies the NEQ predicate on the "remark" field.
|
||
|
|
func RemarkNEQ(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNEQ(FieldRemark, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// RemarkIn applies the In predicate on the "remark" field.
|
||
|
|
func RemarkIn(vs ...string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldIn(FieldRemark, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// RemarkNotIn applies the NotIn predicate on the "remark" field.
|
||
|
|
func RemarkNotIn(vs ...string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNotIn(FieldRemark, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// RemarkGT applies the GT predicate on the "remark" field.
|
||
|
|
func RemarkGT(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGT(FieldRemark, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// RemarkGTE applies the GTE predicate on the "remark" field.
|
||
|
|
func RemarkGTE(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGTE(FieldRemark, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// RemarkLT applies the LT predicate on the "remark" field.
|
||
|
|
func RemarkLT(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLT(FieldRemark, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// RemarkLTE applies the LTE predicate on the "remark" field.
|
||
|
|
func RemarkLTE(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLTE(FieldRemark, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// RemarkContains applies the Contains predicate on the "remark" field.
|
||
|
|
func RemarkContains(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldContains(FieldRemark, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
|
||
|
|
func RemarkHasPrefix(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldHasPrefix(FieldRemark, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
|
||
|
|
func RemarkHasSuffix(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldHasSuffix(FieldRemark, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// RemarkEqualFold applies the EqualFold predicate on the "remark" field.
|
||
|
|
func RemarkEqualFold(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEqualFold(FieldRemark, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
|
||
|
|
func RemarkContainsFold(v string) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldContainsFold(FieldRemark, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// CreatedAtEQ applies the EQ predicate on the "createdAt" field.
|
||
|
|
func CreatedAtEQ(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldEQ(FieldCreatedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// CreatedAtNEQ applies the NEQ predicate on the "createdAt" field.
|
||
|
|
func CreatedAtNEQ(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNEQ(FieldCreatedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// CreatedAtIn applies the In predicate on the "createdAt" field.
|
||
|
|
func CreatedAtIn(vs ...time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldIn(FieldCreatedAt, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// CreatedAtNotIn applies the NotIn predicate on the "createdAt" field.
|
||
|
|
func CreatedAtNotIn(vs ...time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldNotIn(FieldCreatedAt, vs...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// CreatedAtGT applies the GT predicate on the "createdAt" field.
|
||
|
|
func CreatedAtGT(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGT(FieldCreatedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// CreatedAtGTE applies the GTE predicate on the "createdAt" field.
|
||
|
|
func CreatedAtGTE(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldGTE(FieldCreatedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// CreatedAtLT applies the LT predicate on the "createdAt" field.
|
||
|
|
func CreatedAtLT(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLT(FieldCreatedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// CreatedAtLTE applies the LTE predicate on the "createdAt" field.
|
||
|
|
func CreatedAtLTE(v time.Time) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.FieldLTE(FieldCreatedAt, v))
|
||
|
|
}
|
||
|
|
|
||
|
|
// And groups predicates with the AND operator between them.
|
||
|
|
func And(predicates ...predicate.WorkpieceProcess) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.AndPredicates(predicates...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// Or groups predicates with the OR operator between them.
|
||
|
|
func Or(predicates ...predicate.WorkpieceProcess) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.OrPredicates(predicates...))
|
||
|
|
}
|
||
|
|
|
||
|
|
// Not applies the not operator on the given predicate.
|
||
|
|
func Not(p predicate.WorkpieceProcess) predicate.WorkpieceProcess {
|
||
|
|
return predicate.WorkpieceProcess(sql.NotPredicates(p))
|
||
|
|
}
|