初始化2
This commit is contained in:
@@ -0,0 +1,725 @@
|
||||
// Code generated by ent, DO NOT EDIT.
|
||||
|
||||
package plcsendlog
|
||||
|
||||
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.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldID, id))
|
||||
}
|
||||
|
||||
// IDEQ applies the EQ predicate on the ID field.
|
||||
func IDEQ(id int) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldID, id))
|
||||
}
|
||||
|
||||
// IDNEQ applies the NEQ predicate on the ID field.
|
||||
func IDNEQ(id int) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNEQ(FieldID, id))
|
||||
}
|
||||
|
||||
// IDIn applies the In predicate on the ID field.
|
||||
func IDIn(ids ...int) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldIn(FieldID, ids...))
|
||||
}
|
||||
|
||||
// IDNotIn applies the NotIn predicate on the ID field.
|
||||
func IDNotIn(ids ...int) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNotIn(FieldID, ids...))
|
||||
}
|
||||
|
||||
// IDGT applies the GT predicate on the ID field.
|
||||
func IDGT(id int) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGT(FieldID, id))
|
||||
}
|
||||
|
||||
// IDGTE applies the GTE predicate on the ID field.
|
||||
func IDGTE(id int) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGTE(FieldID, id))
|
||||
}
|
||||
|
||||
// IDLT applies the LT predicate on the ID field.
|
||||
func IDLT(id int) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLT(FieldID, id))
|
||||
}
|
||||
|
||||
// IDLTE applies the LTE predicate on the ID field.
|
||||
func IDLTE(id int) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLTE(FieldID, id))
|
||||
}
|
||||
|
||||
// OrderNo applies equality check predicate on the "orderNo" field. It's identical to OrderNoEQ.
|
||||
func OrderNo(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// Sn applies equality check predicate on the "sn" field. It's identical to SnEQ.
|
||||
func Sn(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldSn, v))
|
||||
}
|
||||
|
||||
// StationNo applies equality check predicate on the "stationNo" field. It's identical to StationNoEQ.
|
||||
func StationNo(v int) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldStationNo, v))
|
||||
}
|
||||
|
||||
// ProcessCombination applies equality check predicate on the "processCombination" field. It's identical to ProcessCombinationEQ.
|
||||
func ProcessCombination(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldProcessCombination, v))
|
||||
}
|
||||
|
||||
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
|
||||
func Status(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldStatus, v))
|
||||
}
|
||||
|
||||
// SendTime applies equality check predicate on the "sendTime" field. It's identical to SendTimeEQ.
|
||||
func SendTime(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldSendTime, v))
|
||||
}
|
||||
|
||||
// DoneTime applies equality check predicate on the "doneTime" field. It's identical to DoneTimeEQ.
|
||||
func DoneTime(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldDoneTime, v))
|
||||
}
|
||||
|
||||
// Ack applies equality check predicate on the "ack" field. It's identical to AckEQ.
|
||||
func Ack(v bool) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldAck, v))
|
||||
}
|
||||
|
||||
// Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
|
||||
func Remark(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldRemark, v))
|
||||
}
|
||||
|
||||
// Operator applies equality check predicate on the "operator" field. It's identical to OperatorEQ.
|
||||
func Operator(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldOperator, v))
|
||||
}
|
||||
|
||||
// CreatedAt applies equality check predicate on the "createdAt" field. It's identical to CreatedAtEQ.
|
||||
func CreatedAt(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// OrderNoEQ applies the EQ predicate on the "orderNo" field.
|
||||
func OrderNoEQ(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoNEQ applies the NEQ predicate on the "orderNo" field.
|
||||
func OrderNoNEQ(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNEQ(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoIn applies the In predicate on the "orderNo" field.
|
||||
func OrderNoIn(vs ...string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldIn(FieldOrderNo, vs...))
|
||||
}
|
||||
|
||||
// OrderNoNotIn applies the NotIn predicate on the "orderNo" field.
|
||||
func OrderNoNotIn(vs ...string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNotIn(FieldOrderNo, vs...))
|
||||
}
|
||||
|
||||
// OrderNoGT applies the GT predicate on the "orderNo" field.
|
||||
func OrderNoGT(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGT(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoGTE applies the GTE predicate on the "orderNo" field.
|
||||
func OrderNoGTE(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGTE(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoLT applies the LT predicate on the "orderNo" field.
|
||||
func OrderNoLT(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLT(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoLTE applies the LTE predicate on the "orderNo" field.
|
||||
func OrderNoLTE(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLTE(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoContains applies the Contains predicate on the "orderNo" field.
|
||||
func OrderNoContains(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldContains(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoHasPrefix applies the HasPrefix predicate on the "orderNo" field.
|
||||
func OrderNoHasPrefix(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldHasPrefix(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoHasSuffix applies the HasSuffix predicate on the "orderNo" field.
|
||||
func OrderNoHasSuffix(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldHasSuffix(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoEqualFold applies the EqualFold predicate on the "orderNo" field.
|
||||
func OrderNoEqualFold(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEqualFold(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// OrderNoContainsFold applies the ContainsFold predicate on the "orderNo" field.
|
||||
func OrderNoContainsFold(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldContainsFold(FieldOrderNo, v))
|
||||
}
|
||||
|
||||
// SnEQ applies the EQ predicate on the "sn" field.
|
||||
func SnEQ(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnNEQ applies the NEQ predicate on the "sn" field.
|
||||
func SnNEQ(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNEQ(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnIn applies the In predicate on the "sn" field.
|
||||
func SnIn(vs ...string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldIn(FieldSn, vs...))
|
||||
}
|
||||
|
||||
// SnNotIn applies the NotIn predicate on the "sn" field.
|
||||
func SnNotIn(vs ...string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNotIn(FieldSn, vs...))
|
||||
}
|
||||
|
||||
// SnGT applies the GT predicate on the "sn" field.
|
||||
func SnGT(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGT(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnGTE applies the GTE predicate on the "sn" field.
|
||||
func SnGTE(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGTE(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnLT applies the LT predicate on the "sn" field.
|
||||
func SnLT(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLT(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnLTE applies the LTE predicate on the "sn" field.
|
||||
func SnLTE(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLTE(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnContains applies the Contains predicate on the "sn" field.
|
||||
func SnContains(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldContains(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnHasPrefix applies the HasPrefix predicate on the "sn" field.
|
||||
func SnHasPrefix(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldHasPrefix(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnHasSuffix applies the HasSuffix predicate on the "sn" field.
|
||||
func SnHasSuffix(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldHasSuffix(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnEqualFold applies the EqualFold predicate on the "sn" field.
|
||||
func SnEqualFold(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEqualFold(FieldSn, v))
|
||||
}
|
||||
|
||||
// SnContainsFold applies the ContainsFold predicate on the "sn" field.
|
||||
func SnContainsFold(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldContainsFold(FieldSn, v))
|
||||
}
|
||||
|
||||
// StationNoEQ applies the EQ predicate on the "stationNo" field.
|
||||
func StationNoEQ(v int) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldStationNo, v))
|
||||
}
|
||||
|
||||
// StationNoNEQ applies the NEQ predicate on the "stationNo" field.
|
||||
func StationNoNEQ(v int) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNEQ(FieldStationNo, v))
|
||||
}
|
||||
|
||||
// StationNoIn applies the In predicate on the "stationNo" field.
|
||||
func StationNoIn(vs ...int) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldIn(FieldStationNo, vs...))
|
||||
}
|
||||
|
||||
// StationNoNotIn applies the NotIn predicate on the "stationNo" field.
|
||||
func StationNoNotIn(vs ...int) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNotIn(FieldStationNo, vs...))
|
||||
}
|
||||
|
||||
// StationNoGT applies the GT predicate on the "stationNo" field.
|
||||
func StationNoGT(v int) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGT(FieldStationNo, v))
|
||||
}
|
||||
|
||||
// StationNoGTE applies the GTE predicate on the "stationNo" field.
|
||||
func StationNoGTE(v int) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGTE(FieldStationNo, v))
|
||||
}
|
||||
|
||||
// StationNoLT applies the LT predicate on the "stationNo" field.
|
||||
func StationNoLT(v int) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLT(FieldStationNo, v))
|
||||
}
|
||||
|
||||
// StationNoLTE applies the LTE predicate on the "stationNo" field.
|
||||
func StationNoLTE(v int) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLTE(FieldStationNo, v))
|
||||
}
|
||||
|
||||
// StationNoIsNil applies the IsNil predicate on the "stationNo" field.
|
||||
func StationNoIsNil() predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldIsNull(FieldStationNo))
|
||||
}
|
||||
|
||||
// StationNoNotNil applies the NotNil predicate on the "stationNo" field.
|
||||
func StationNoNotNil() predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNotNull(FieldStationNo))
|
||||
}
|
||||
|
||||
// ProcessCombinationEQ applies the EQ predicate on the "processCombination" field.
|
||||
func ProcessCombinationEQ(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldProcessCombination, v))
|
||||
}
|
||||
|
||||
// ProcessCombinationNEQ applies the NEQ predicate on the "processCombination" field.
|
||||
func ProcessCombinationNEQ(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNEQ(FieldProcessCombination, v))
|
||||
}
|
||||
|
||||
// ProcessCombinationIn applies the In predicate on the "processCombination" field.
|
||||
func ProcessCombinationIn(vs ...string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldIn(FieldProcessCombination, vs...))
|
||||
}
|
||||
|
||||
// ProcessCombinationNotIn applies the NotIn predicate on the "processCombination" field.
|
||||
func ProcessCombinationNotIn(vs ...string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNotIn(FieldProcessCombination, vs...))
|
||||
}
|
||||
|
||||
// ProcessCombinationGT applies the GT predicate on the "processCombination" field.
|
||||
func ProcessCombinationGT(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGT(FieldProcessCombination, v))
|
||||
}
|
||||
|
||||
// ProcessCombinationGTE applies the GTE predicate on the "processCombination" field.
|
||||
func ProcessCombinationGTE(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGTE(FieldProcessCombination, v))
|
||||
}
|
||||
|
||||
// ProcessCombinationLT applies the LT predicate on the "processCombination" field.
|
||||
func ProcessCombinationLT(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLT(FieldProcessCombination, v))
|
||||
}
|
||||
|
||||
// ProcessCombinationLTE applies the LTE predicate on the "processCombination" field.
|
||||
func ProcessCombinationLTE(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLTE(FieldProcessCombination, v))
|
||||
}
|
||||
|
||||
// ProcessCombinationContains applies the Contains predicate on the "processCombination" field.
|
||||
func ProcessCombinationContains(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldContains(FieldProcessCombination, v))
|
||||
}
|
||||
|
||||
// ProcessCombinationHasPrefix applies the HasPrefix predicate on the "processCombination" field.
|
||||
func ProcessCombinationHasPrefix(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldHasPrefix(FieldProcessCombination, v))
|
||||
}
|
||||
|
||||
// ProcessCombinationHasSuffix applies the HasSuffix predicate on the "processCombination" field.
|
||||
func ProcessCombinationHasSuffix(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldHasSuffix(FieldProcessCombination, v))
|
||||
}
|
||||
|
||||
// ProcessCombinationEqualFold applies the EqualFold predicate on the "processCombination" field.
|
||||
func ProcessCombinationEqualFold(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEqualFold(FieldProcessCombination, v))
|
||||
}
|
||||
|
||||
// ProcessCombinationContainsFold applies the ContainsFold predicate on the "processCombination" field.
|
||||
func ProcessCombinationContainsFold(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldContainsFold(FieldProcessCombination, v))
|
||||
}
|
||||
|
||||
// ProcessCodesIsNil applies the IsNil predicate on the "processCodes" field.
|
||||
func ProcessCodesIsNil() predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldIsNull(FieldProcessCodes))
|
||||
}
|
||||
|
||||
// ProcessCodesNotNil applies the NotNil predicate on the "processCodes" field.
|
||||
func ProcessCodesNotNil() predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNotNull(FieldProcessCodes))
|
||||
}
|
||||
|
||||
// StatusEQ applies the EQ predicate on the "status" field.
|
||||
func StatusEQ(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldStatus, v))
|
||||
}
|
||||
|
||||
// StatusNEQ applies the NEQ predicate on the "status" field.
|
||||
func StatusNEQ(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNEQ(FieldStatus, v))
|
||||
}
|
||||
|
||||
// StatusIn applies the In predicate on the "status" field.
|
||||
func StatusIn(vs ...string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldIn(FieldStatus, vs...))
|
||||
}
|
||||
|
||||
// StatusNotIn applies the NotIn predicate on the "status" field.
|
||||
func StatusNotIn(vs ...string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNotIn(FieldStatus, vs...))
|
||||
}
|
||||
|
||||
// StatusGT applies the GT predicate on the "status" field.
|
||||
func StatusGT(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGT(FieldStatus, v))
|
||||
}
|
||||
|
||||
// StatusGTE applies the GTE predicate on the "status" field.
|
||||
func StatusGTE(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGTE(FieldStatus, v))
|
||||
}
|
||||
|
||||
// StatusLT applies the LT predicate on the "status" field.
|
||||
func StatusLT(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLT(FieldStatus, v))
|
||||
}
|
||||
|
||||
// StatusLTE applies the LTE predicate on the "status" field.
|
||||
func StatusLTE(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLTE(FieldStatus, v))
|
||||
}
|
||||
|
||||
// StatusContains applies the Contains predicate on the "status" field.
|
||||
func StatusContains(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldContains(FieldStatus, v))
|
||||
}
|
||||
|
||||
// StatusHasPrefix applies the HasPrefix predicate on the "status" field.
|
||||
func StatusHasPrefix(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldHasPrefix(FieldStatus, v))
|
||||
}
|
||||
|
||||
// StatusHasSuffix applies the HasSuffix predicate on the "status" field.
|
||||
func StatusHasSuffix(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldHasSuffix(FieldStatus, v))
|
||||
}
|
||||
|
||||
// StatusEqualFold applies the EqualFold predicate on the "status" field.
|
||||
func StatusEqualFold(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEqualFold(FieldStatus, v))
|
||||
}
|
||||
|
||||
// StatusContainsFold applies the ContainsFold predicate on the "status" field.
|
||||
func StatusContainsFold(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldContainsFold(FieldStatus, v))
|
||||
}
|
||||
|
||||
// SendTimeEQ applies the EQ predicate on the "sendTime" field.
|
||||
func SendTimeEQ(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldSendTime, v))
|
||||
}
|
||||
|
||||
// SendTimeNEQ applies the NEQ predicate on the "sendTime" field.
|
||||
func SendTimeNEQ(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNEQ(FieldSendTime, v))
|
||||
}
|
||||
|
||||
// SendTimeIn applies the In predicate on the "sendTime" field.
|
||||
func SendTimeIn(vs ...time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldIn(FieldSendTime, vs...))
|
||||
}
|
||||
|
||||
// SendTimeNotIn applies the NotIn predicate on the "sendTime" field.
|
||||
func SendTimeNotIn(vs ...time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNotIn(FieldSendTime, vs...))
|
||||
}
|
||||
|
||||
// SendTimeGT applies the GT predicate on the "sendTime" field.
|
||||
func SendTimeGT(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGT(FieldSendTime, v))
|
||||
}
|
||||
|
||||
// SendTimeGTE applies the GTE predicate on the "sendTime" field.
|
||||
func SendTimeGTE(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGTE(FieldSendTime, v))
|
||||
}
|
||||
|
||||
// SendTimeLT applies the LT predicate on the "sendTime" field.
|
||||
func SendTimeLT(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLT(FieldSendTime, v))
|
||||
}
|
||||
|
||||
// SendTimeLTE applies the LTE predicate on the "sendTime" field.
|
||||
func SendTimeLTE(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLTE(FieldSendTime, v))
|
||||
}
|
||||
|
||||
// SendTimeIsNil applies the IsNil predicate on the "sendTime" field.
|
||||
func SendTimeIsNil() predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldIsNull(FieldSendTime))
|
||||
}
|
||||
|
||||
// SendTimeNotNil applies the NotNil predicate on the "sendTime" field.
|
||||
func SendTimeNotNil() predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNotNull(FieldSendTime))
|
||||
}
|
||||
|
||||
// DoneTimeEQ applies the EQ predicate on the "doneTime" field.
|
||||
func DoneTimeEQ(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldDoneTime, v))
|
||||
}
|
||||
|
||||
// DoneTimeNEQ applies the NEQ predicate on the "doneTime" field.
|
||||
func DoneTimeNEQ(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNEQ(FieldDoneTime, v))
|
||||
}
|
||||
|
||||
// DoneTimeIn applies the In predicate on the "doneTime" field.
|
||||
func DoneTimeIn(vs ...time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldIn(FieldDoneTime, vs...))
|
||||
}
|
||||
|
||||
// DoneTimeNotIn applies the NotIn predicate on the "doneTime" field.
|
||||
func DoneTimeNotIn(vs ...time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNotIn(FieldDoneTime, vs...))
|
||||
}
|
||||
|
||||
// DoneTimeGT applies the GT predicate on the "doneTime" field.
|
||||
func DoneTimeGT(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGT(FieldDoneTime, v))
|
||||
}
|
||||
|
||||
// DoneTimeGTE applies the GTE predicate on the "doneTime" field.
|
||||
func DoneTimeGTE(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGTE(FieldDoneTime, v))
|
||||
}
|
||||
|
||||
// DoneTimeLT applies the LT predicate on the "doneTime" field.
|
||||
func DoneTimeLT(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLT(FieldDoneTime, v))
|
||||
}
|
||||
|
||||
// DoneTimeLTE applies the LTE predicate on the "doneTime" field.
|
||||
func DoneTimeLTE(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLTE(FieldDoneTime, v))
|
||||
}
|
||||
|
||||
// DoneTimeIsNil applies the IsNil predicate on the "doneTime" field.
|
||||
func DoneTimeIsNil() predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldIsNull(FieldDoneTime))
|
||||
}
|
||||
|
||||
// DoneTimeNotNil applies the NotNil predicate on the "doneTime" field.
|
||||
func DoneTimeNotNil() predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNotNull(FieldDoneTime))
|
||||
}
|
||||
|
||||
// AckEQ applies the EQ predicate on the "ack" field.
|
||||
func AckEQ(v bool) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldAck, v))
|
||||
}
|
||||
|
||||
// AckNEQ applies the NEQ predicate on the "ack" field.
|
||||
func AckNEQ(v bool) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNEQ(FieldAck, v))
|
||||
}
|
||||
|
||||
// RemarkEQ applies the EQ predicate on the "remark" field.
|
||||
func RemarkEQ(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkNEQ applies the NEQ predicate on the "remark" field.
|
||||
func RemarkNEQ(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNEQ(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkIn applies the In predicate on the "remark" field.
|
||||
func RemarkIn(vs ...string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldIn(FieldRemark, vs...))
|
||||
}
|
||||
|
||||
// RemarkNotIn applies the NotIn predicate on the "remark" field.
|
||||
func RemarkNotIn(vs ...string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNotIn(FieldRemark, vs...))
|
||||
}
|
||||
|
||||
// RemarkGT applies the GT predicate on the "remark" field.
|
||||
func RemarkGT(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGT(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkGTE applies the GTE predicate on the "remark" field.
|
||||
func RemarkGTE(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGTE(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkLT applies the LT predicate on the "remark" field.
|
||||
func RemarkLT(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLT(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkLTE applies the LTE predicate on the "remark" field.
|
||||
func RemarkLTE(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLTE(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkContains applies the Contains predicate on the "remark" field.
|
||||
func RemarkContains(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldContains(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
|
||||
func RemarkHasPrefix(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldHasPrefix(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
|
||||
func RemarkHasSuffix(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldHasSuffix(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkEqualFold applies the EqualFold predicate on the "remark" field.
|
||||
func RemarkEqualFold(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEqualFold(FieldRemark, v))
|
||||
}
|
||||
|
||||
// RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
|
||||
func RemarkContainsFold(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldContainsFold(FieldRemark, v))
|
||||
}
|
||||
|
||||
// OperatorEQ applies the EQ predicate on the "operator" field.
|
||||
func OperatorEQ(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorNEQ applies the NEQ predicate on the "operator" field.
|
||||
func OperatorNEQ(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNEQ(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorIn applies the In predicate on the "operator" field.
|
||||
func OperatorIn(vs ...string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldIn(FieldOperator, vs...))
|
||||
}
|
||||
|
||||
// OperatorNotIn applies the NotIn predicate on the "operator" field.
|
||||
func OperatorNotIn(vs ...string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNotIn(FieldOperator, vs...))
|
||||
}
|
||||
|
||||
// OperatorGT applies the GT predicate on the "operator" field.
|
||||
func OperatorGT(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGT(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorGTE applies the GTE predicate on the "operator" field.
|
||||
func OperatorGTE(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGTE(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorLT applies the LT predicate on the "operator" field.
|
||||
func OperatorLT(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLT(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorLTE applies the LTE predicate on the "operator" field.
|
||||
func OperatorLTE(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLTE(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorContains applies the Contains predicate on the "operator" field.
|
||||
func OperatorContains(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldContains(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorHasPrefix applies the HasPrefix predicate on the "operator" field.
|
||||
func OperatorHasPrefix(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldHasPrefix(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorHasSuffix applies the HasSuffix predicate on the "operator" field.
|
||||
func OperatorHasSuffix(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldHasSuffix(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorEqualFold applies the EqualFold predicate on the "operator" field.
|
||||
func OperatorEqualFold(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEqualFold(FieldOperator, v))
|
||||
}
|
||||
|
||||
// OperatorContainsFold applies the ContainsFold predicate on the "operator" field.
|
||||
func OperatorContainsFold(v string) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldContainsFold(FieldOperator, v))
|
||||
}
|
||||
|
||||
// CreatedAtEQ applies the EQ predicate on the "createdAt" field.
|
||||
func CreatedAtEQ(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldEQ(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtNEQ applies the NEQ predicate on the "createdAt" field.
|
||||
func CreatedAtNEQ(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNEQ(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtIn applies the In predicate on the "createdAt" field.
|
||||
func CreatedAtIn(vs ...time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldIn(FieldCreatedAt, vs...))
|
||||
}
|
||||
|
||||
// CreatedAtNotIn applies the NotIn predicate on the "createdAt" field.
|
||||
func CreatedAtNotIn(vs ...time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldNotIn(FieldCreatedAt, vs...))
|
||||
}
|
||||
|
||||
// CreatedAtGT applies the GT predicate on the "createdAt" field.
|
||||
func CreatedAtGT(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGT(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtGTE applies the GTE predicate on the "createdAt" field.
|
||||
func CreatedAtGTE(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldGTE(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtLT applies the LT predicate on the "createdAt" field.
|
||||
func CreatedAtLT(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLT(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtLTE applies the LTE predicate on the "createdAt" field.
|
||||
func CreatedAtLTE(v time.Time) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.FieldLTE(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// And groups predicates with the AND operator between them.
|
||||
func And(predicates ...predicate.PlcSendLog) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.AndPredicates(predicates...))
|
||||
}
|
||||
|
||||
// Or groups predicates with the OR operator between them.
|
||||
func Or(predicates ...predicate.PlcSendLog) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.OrPredicates(predicates...))
|
||||
}
|
||||
|
||||
// Not applies the not operator on the given predicate.
|
||||
func Not(p predicate.PlcSendLog) predicate.PlcSendLog {
|
||||
return predicate.PlcSendLog(sql.NotPredicates(p))
|
||||
}
|
||||
Reference in New Issue
Block a user