Files
SunYF 4a5e2d7bac feat: 完成多模块迭代更新
- 新增过程巡检按步骤上报、数量不符上报、工位退料功能
- 增加工单工程编号三级归属字段
- 新增物料安全库存与缺货预警
- 新增附件管理、退库单管理模块
- 优化生产看板展示逻辑与前端页面文案
- 清理冗余的工艺路线相关代码与备份文件
2026-09-15 16:37:39 +08:00

700 lines
24 KiB
Go

// Code generated by ent, DO NOT EDIT.
package zone
import (
"bj_power_wms/ent/predicate"
"entgo.io/ent/dialect/sql"
)
// ID filters vertices based on their ID field.
func ID(id int) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldID, id))
}
// IDEQ applies the EQ predicate on the ID field.
func IDEQ(id int) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldID, id))
}
// IDNEQ applies the NEQ predicate on the ID field.
func IDNEQ(id int) predicate.Zone {
return predicate.Zone(sql.FieldNEQ(FieldID, id))
}
// IDIn applies the In predicate on the ID field.
func IDIn(ids ...int) predicate.Zone {
return predicate.Zone(sql.FieldIn(FieldID, ids...))
}
// IDNotIn applies the NotIn predicate on the ID field.
func IDNotIn(ids ...int) predicate.Zone {
return predicate.Zone(sql.FieldNotIn(FieldID, ids...))
}
// IDGT applies the GT predicate on the ID field.
func IDGT(id int) predicate.Zone {
return predicate.Zone(sql.FieldGT(FieldID, id))
}
// IDGTE applies the GTE predicate on the ID field.
func IDGTE(id int) predicate.Zone {
return predicate.Zone(sql.FieldGTE(FieldID, id))
}
// IDLT applies the LT predicate on the ID field.
func IDLT(id int) predicate.Zone {
return predicate.Zone(sql.FieldLT(FieldID, id))
}
// IDLTE applies the LTE predicate on the ID field.
func IDLTE(id int) predicate.Zone {
return predicate.Zone(sql.FieldLTE(FieldID, id))
}
// ZoneCode applies equality check predicate on the "zone_code" field. It's identical to ZoneCodeEQ.
func ZoneCode(v string) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldZoneCode, v))
}
// ZoneName applies equality check predicate on the "zone_name" field. It's identical to ZoneNameEQ.
func ZoneName(v string) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldZoneName, v))
}
// Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func Description(v string) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldDescription, v))
}
// ShelfNo applies equality check predicate on the "shelf_no" field. It's identical to ShelfNoEQ.
func ShelfNo(v string) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldShelfNo, v))
}
// LayerNo applies equality check predicate on the "layer_no" field. It's identical to LayerNoEQ.
func LayerNo(v string) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldLayerNo, v))
}
// PositionNo applies equality check predicate on the "position_no" field. It's identical to PositionNoEQ.
func PositionNo(v string) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldPositionNo, v))
}
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func Status(v string) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldStatus, v))
}
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAt(v int64) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldCreatedAt, v))
}
// UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAt(v int64) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldUpdatedAt, v))
}
// ZoneCodeEQ applies the EQ predicate on the "zone_code" field.
func ZoneCodeEQ(v string) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldZoneCode, v))
}
// ZoneCodeNEQ applies the NEQ predicate on the "zone_code" field.
func ZoneCodeNEQ(v string) predicate.Zone {
return predicate.Zone(sql.FieldNEQ(FieldZoneCode, v))
}
// ZoneCodeIn applies the In predicate on the "zone_code" field.
func ZoneCodeIn(vs ...string) predicate.Zone {
return predicate.Zone(sql.FieldIn(FieldZoneCode, vs...))
}
// ZoneCodeNotIn applies the NotIn predicate on the "zone_code" field.
func ZoneCodeNotIn(vs ...string) predicate.Zone {
return predicate.Zone(sql.FieldNotIn(FieldZoneCode, vs...))
}
// ZoneCodeGT applies the GT predicate on the "zone_code" field.
func ZoneCodeGT(v string) predicate.Zone {
return predicate.Zone(sql.FieldGT(FieldZoneCode, v))
}
// ZoneCodeGTE applies the GTE predicate on the "zone_code" field.
func ZoneCodeGTE(v string) predicate.Zone {
return predicate.Zone(sql.FieldGTE(FieldZoneCode, v))
}
// ZoneCodeLT applies the LT predicate on the "zone_code" field.
func ZoneCodeLT(v string) predicate.Zone {
return predicate.Zone(sql.FieldLT(FieldZoneCode, v))
}
// ZoneCodeLTE applies the LTE predicate on the "zone_code" field.
func ZoneCodeLTE(v string) predicate.Zone {
return predicate.Zone(sql.FieldLTE(FieldZoneCode, v))
}
// ZoneCodeContains applies the Contains predicate on the "zone_code" field.
func ZoneCodeContains(v string) predicate.Zone {
return predicate.Zone(sql.FieldContains(FieldZoneCode, v))
}
// ZoneCodeHasPrefix applies the HasPrefix predicate on the "zone_code" field.
func ZoneCodeHasPrefix(v string) predicate.Zone {
return predicate.Zone(sql.FieldHasPrefix(FieldZoneCode, v))
}
// ZoneCodeHasSuffix applies the HasSuffix predicate on the "zone_code" field.
func ZoneCodeHasSuffix(v string) predicate.Zone {
return predicate.Zone(sql.FieldHasSuffix(FieldZoneCode, v))
}
// ZoneCodeEqualFold applies the EqualFold predicate on the "zone_code" field.
func ZoneCodeEqualFold(v string) predicate.Zone {
return predicate.Zone(sql.FieldEqualFold(FieldZoneCode, v))
}
// ZoneCodeContainsFold applies the ContainsFold predicate on the "zone_code" field.
func ZoneCodeContainsFold(v string) predicate.Zone {
return predicate.Zone(sql.FieldContainsFold(FieldZoneCode, v))
}
// ZoneNameEQ applies the EQ predicate on the "zone_name" field.
func ZoneNameEQ(v string) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldZoneName, v))
}
// ZoneNameNEQ applies the NEQ predicate on the "zone_name" field.
func ZoneNameNEQ(v string) predicate.Zone {
return predicate.Zone(sql.FieldNEQ(FieldZoneName, v))
}
// ZoneNameIn applies the In predicate on the "zone_name" field.
func ZoneNameIn(vs ...string) predicate.Zone {
return predicate.Zone(sql.FieldIn(FieldZoneName, vs...))
}
// ZoneNameNotIn applies the NotIn predicate on the "zone_name" field.
func ZoneNameNotIn(vs ...string) predicate.Zone {
return predicate.Zone(sql.FieldNotIn(FieldZoneName, vs...))
}
// ZoneNameGT applies the GT predicate on the "zone_name" field.
func ZoneNameGT(v string) predicate.Zone {
return predicate.Zone(sql.FieldGT(FieldZoneName, v))
}
// ZoneNameGTE applies the GTE predicate on the "zone_name" field.
func ZoneNameGTE(v string) predicate.Zone {
return predicate.Zone(sql.FieldGTE(FieldZoneName, v))
}
// ZoneNameLT applies the LT predicate on the "zone_name" field.
func ZoneNameLT(v string) predicate.Zone {
return predicate.Zone(sql.FieldLT(FieldZoneName, v))
}
// ZoneNameLTE applies the LTE predicate on the "zone_name" field.
func ZoneNameLTE(v string) predicate.Zone {
return predicate.Zone(sql.FieldLTE(FieldZoneName, v))
}
// ZoneNameContains applies the Contains predicate on the "zone_name" field.
func ZoneNameContains(v string) predicate.Zone {
return predicate.Zone(sql.FieldContains(FieldZoneName, v))
}
// ZoneNameHasPrefix applies the HasPrefix predicate on the "zone_name" field.
func ZoneNameHasPrefix(v string) predicate.Zone {
return predicate.Zone(sql.FieldHasPrefix(FieldZoneName, v))
}
// ZoneNameHasSuffix applies the HasSuffix predicate on the "zone_name" field.
func ZoneNameHasSuffix(v string) predicate.Zone {
return predicate.Zone(sql.FieldHasSuffix(FieldZoneName, v))
}
// ZoneNameEqualFold applies the EqualFold predicate on the "zone_name" field.
func ZoneNameEqualFold(v string) predicate.Zone {
return predicate.Zone(sql.FieldEqualFold(FieldZoneName, v))
}
// ZoneNameContainsFold applies the ContainsFold predicate on the "zone_name" field.
func ZoneNameContainsFold(v string) predicate.Zone {
return predicate.Zone(sql.FieldContainsFold(FieldZoneName, v))
}
// DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEQ(v string) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldDescription, v))
}
// DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNEQ(v string) predicate.Zone {
return predicate.Zone(sql.FieldNEQ(FieldDescription, v))
}
// DescriptionIn applies the In predicate on the "description" field.
func DescriptionIn(vs ...string) predicate.Zone {
return predicate.Zone(sql.FieldIn(FieldDescription, vs...))
}
// DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotIn(vs ...string) predicate.Zone {
return predicate.Zone(sql.FieldNotIn(FieldDescription, vs...))
}
// DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGT(v string) predicate.Zone {
return predicate.Zone(sql.FieldGT(FieldDescription, v))
}
// DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionGTE(v string) predicate.Zone {
return predicate.Zone(sql.FieldGTE(FieldDescription, v))
}
// DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLT(v string) predicate.Zone {
return predicate.Zone(sql.FieldLT(FieldDescription, v))
}
// DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionLTE(v string) predicate.Zone {
return predicate.Zone(sql.FieldLTE(FieldDescription, v))
}
// DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContains(v string) predicate.Zone {
return predicate.Zone(sql.FieldContains(FieldDescription, v))
}
// DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasPrefix(v string) predicate.Zone {
return predicate.Zone(sql.FieldHasPrefix(FieldDescription, v))
}
// DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionHasSuffix(v string) predicate.Zone {
return predicate.Zone(sql.FieldHasSuffix(FieldDescription, v))
}
// DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionIsNil() predicate.Zone {
return predicate.Zone(sql.FieldIsNull(FieldDescription))
}
// DescriptionNotNil applies the NotNil predicate on the "description" field.
func DescriptionNotNil() predicate.Zone {
return predicate.Zone(sql.FieldNotNull(FieldDescription))
}
// DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionEqualFold(v string) predicate.Zone {
return predicate.Zone(sql.FieldEqualFold(FieldDescription, v))
}
// DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionContainsFold(v string) predicate.Zone {
return predicate.Zone(sql.FieldContainsFold(FieldDescription, v))
}
// ShelfNoEQ applies the EQ predicate on the "shelf_no" field.
func ShelfNoEQ(v string) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldShelfNo, v))
}
// ShelfNoNEQ applies the NEQ predicate on the "shelf_no" field.
func ShelfNoNEQ(v string) predicate.Zone {
return predicate.Zone(sql.FieldNEQ(FieldShelfNo, v))
}
// ShelfNoIn applies the In predicate on the "shelf_no" field.
func ShelfNoIn(vs ...string) predicate.Zone {
return predicate.Zone(sql.FieldIn(FieldShelfNo, vs...))
}
// ShelfNoNotIn applies the NotIn predicate on the "shelf_no" field.
func ShelfNoNotIn(vs ...string) predicate.Zone {
return predicate.Zone(sql.FieldNotIn(FieldShelfNo, vs...))
}
// ShelfNoGT applies the GT predicate on the "shelf_no" field.
func ShelfNoGT(v string) predicate.Zone {
return predicate.Zone(sql.FieldGT(FieldShelfNo, v))
}
// ShelfNoGTE applies the GTE predicate on the "shelf_no" field.
func ShelfNoGTE(v string) predicate.Zone {
return predicate.Zone(sql.FieldGTE(FieldShelfNo, v))
}
// ShelfNoLT applies the LT predicate on the "shelf_no" field.
func ShelfNoLT(v string) predicate.Zone {
return predicate.Zone(sql.FieldLT(FieldShelfNo, v))
}
// ShelfNoLTE applies the LTE predicate on the "shelf_no" field.
func ShelfNoLTE(v string) predicate.Zone {
return predicate.Zone(sql.FieldLTE(FieldShelfNo, v))
}
// ShelfNoContains applies the Contains predicate on the "shelf_no" field.
func ShelfNoContains(v string) predicate.Zone {
return predicate.Zone(sql.FieldContains(FieldShelfNo, v))
}
// ShelfNoHasPrefix applies the HasPrefix predicate on the "shelf_no" field.
func ShelfNoHasPrefix(v string) predicate.Zone {
return predicate.Zone(sql.FieldHasPrefix(FieldShelfNo, v))
}
// ShelfNoHasSuffix applies the HasSuffix predicate on the "shelf_no" field.
func ShelfNoHasSuffix(v string) predicate.Zone {
return predicate.Zone(sql.FieldHasSuffix(FieldShelfNo, v))
}
// ShelfNoIsNil applies the IsNil predicate on the "shelf_no" field.
func ShelfNoIsNil() predicate.Zone {
return predicate.Zone(sql.FieldIsNull(FieldShelfNo))
}
// ShelfNoNotNil applies the NotNil predicate on the "shelf_no" field.
func ShelfNoNotNil() predicate.Zone {
return predicate.Zone(sql.FieldNotNull(FieldShelfNo))
}
// ShelfNoEqualFold applies the EqualFold predicate on the "shelf_no" field.
func ShelfNoEqualFold(v string) predicate.Zone {
return predicate.Zone(sql.FieldEqualFold(FieldShelfNo, v))
}
// ShelfNoContainsFold applies the ContainsFold predicate on the "shelf_no" field.
func ShelfNoContainsFold(v string) predicate.Zone {
return predicate.Zone(sql.FieldContainsFold(FieldShelfNo, v))
}
// LayerNoEQ applies the EQ predicate on the "layer_no" field.
func LayerNoEQ(v string) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldLayerNo, v))
}
// LayerNoNEQ applies the NEQ predicate on the "layer_no" field.
func LayerNoNEQ(v string) predicate.Zone {
return predicate.Zone(sql.FieldNEQ(FieldLayerNo, v))
}
// LayerNoIn applies the In predicate on the "layer_no" field.
func LayerNoIn(vs ...string) predicate.Zone {
return predicate.Zone(sql.FieldIn(FieldLayerNo, vs...))
}
// LayerNoNotIn applies the NotIn predicate on the "layer_no" field.
func LayerNoNotIn(vs ...string) predicate.Zone {
return predicate.Zone(sql.FieldNotIn(FieldLayerNo, vs...))
}
// LayerNoGT applies the GT predicate on the "layer_no" field.
func LayerNoGT(v string) predicate.Zone {
return predicate.Zone(sql.FieldGT(FieldLayerNo, v))
}
// LayerNoGTE applies the GTE predicate on the "layer_no" field.
func LayerNoGTE(v string) predicate.Zone {
return predicate.Zone(sql.FieldGTE(FieldLayerNo, v))
}
// LayerNoLT applies the LT predicate on the "layer_no" field.
func LayerNoLT(v string) predicate.Zone {
return predicate.Zone(sql.FieldLT(FieldLayerNo, v))
}
// LayerNoLTE applies the LTE predicate on the "layer_no" field.
func LayerNoLTE(v string) predicate.Zone {
return predicate.Zone(sql.FieldLTE(FieldLayerNo, v))
}
// LayerNoContains applies the Contains predicate on the "layer_no" field.
func LayerNoContains(v string) predicate.Zone {
return predicate.Zone(sql.FieldContains(FieldLayerNo, v))
}
// LayerNoHasPrefix applies the HasPrefix predicate on the "layer_no" field.
func LayerNoHasPrefix(v string) predicate.Zone {
return predicate.Zone(sql.FieldHasPrefix(FieldLayerNo, v))
}
// LayerNoHasSuffix applies the HasSuffix predicate on the "layer_no" field.
func LayerNoHasSuffix(v string) predicate.Zone {
return predicate.Zone(sql.FieldHasSuffix(FieldLayerNo, v))
}
// LayerNoIsNil applies the IsNil predicate on the "layer_no" field.
func LayerNoIsNil() predicate.Zone {
return predicate.Zone(sql.FieldIsNull(FieldLayerNo))
}
// LayerNoNotNil applies the NotNil predicate on the "layer_no" field.
func LayerNoNotNil() predicate.Zone {
return predicate.Zone(sql.FieldNotNull(FieldLayerNo))
}
// LayerNoEqualFold applies the EqualFold predicate on the "layer_no" field.
func LayerNoEqualFold(v string) predicate.Zone {
return predicate.Zone(sql.FieldEqualFold(FieldLayerNo, v))
}
// LayerNoContainsFold applies the ContainsFold predicate on the "layer_no" field.
func LayerNoContainsFold(v string) predicate.Zone {
return predicate.Zone(sql.FieldContainsFold(FieldLayerNo, v))
}
// PositionNoEQ applies the EQ predicate on the "position_no" field.
func PositionNoEQ(v string) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldPositionNo, v))
}
// PositionNoNEQ applies the NEQ predicate on the "position_no" field.
func PositionNoNEQ(v string) predicate.Zone {
return predicate.Zone(sql.FieldNEQ(FieldPositionNo, v))
}
// PositionNoIn applies the In predicate on the "position_no" field.
func PositionNoIn(vs ...string) predicate.Zone {
return predicate.Zone(sql.FieldIn(FieldPositionNo, vs...))
}
// PositionNoNotIn applies the NotIn predicate on the "position_no" field.
func PositionNoNotIn(vs ...string) predicate.Zone {
return predicate.Zone(sql.FieldNotIn(FieldPositionNo, vs...))
}
// PositionNoGT applies the GT predicate on the "position_no" field.
func PositionNoGT(v string) predicate.Zone {
return predicate.Zone(sql.FieldGT(FieldPositionNo, v))
}
// PositionNoGTE applies the GTE predicate on the "position_no" field.
func PositionNoGTE(v string) predicate.Zone {
return predicate.Zone(sql.FieldGTE(FieldPositionNo, v))
}
// PositionNoLT applies the LT predicate on the "position_no" field.
func PositionNoLT(v string) predicate.Zone {
return predicate.Zone(sql.FieldLT(FieldPositionNo, v))
}
// PositionNoLTE applies the LTE predicate on the "position_no" field.
func PositionNoLTE(v string) predicate.Zone {
return predicate.Zone(sql.FieldLTE(FieldPositionNo, v))
}
// PositionNoContains applies the Contains predicate on the "position_no" field.
func PositionNoContains(v string) predicate.Zone {
return predicate.Zone(sql.FieldContains(FieldPositionNo, v))
}
// PositionNoHasPrefix applies the HasPrefix predicate on the "position_no" field.
func PositionNoHasPrefix(v string) predicate.Zone {
return predicate.Zone(sql.FieldHasPrefix(FieldPositionNo, v))
}
// PositionNoHasSuffix applies the HasSuffix predicate on the "position_no" field.
func PositionNoHasSuffix(v string) predicate.Zone {
return predicate.Zone(sql.FieldHasSuffix(FieldPositionNo, v))
}
// PositionNoIsNil applies the IsNil predicate on the "position_no" field.
func PositionNoIsNil() predicate.Zone {
return predicate.Zone(sql.FieldIsNull(FieldPositionNo))
}
// PositionNoNotNil applies the NotNil predicate on the "position_no" field.
func PositionNoNotNil() predicate.Zone {
return predicate.Zone(sql.FieldNotNull(FieldPositionNo))
}
// PositionNoEqualFold applies the EqualFold predicate on the "position_no" field.
func PositionNoEqualFold(v string) predicate.Zone {
return predicate.Zone(sql.FieldEqualFold(FieldPositionNo, v))
}
// PositionNoContainsFold applies the ContainsFold predicate on the "position_no" field.
func PositionNoContainsFold(v string) predicate.Zone {
return predicate.Zone(sql.FieldContainsFold(FieldPositionNo, v))
}
// StatusEQ applies the EQ predicate on the "status" field.
func StatusEQ(v string) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldStatus, v))
}
// StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNEQ(v string) predicate.Zone {
return predicate.Zone(sql.FieldNEQ(FieldStatus, v))
}
// StatusIn applies the In predicate on the "status" field.
func StatusIn(vs ...string) predicate.Zone {
return predicate.Zone(sql.FieldIn(FieldStatus, vs...))
}
// StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotIn(vs ...string) predicate.Zone {
return predicate.Zone(sql.FieldNotIn(FieldStatus, vs...))
}
// StatusGT applies the GT predicate on the "status" field.
func StatusGT(v string) predicate.Zone {
return predicate.Zone(sql.FieldGT(FieldStatus, v))
}
// StatusGTE applies the GTE predicate on the "status" field.
func StatusGTE(v string) predicate.Zone {
return predicate.Zone(sql.FieldGTE(FieldStatus, v))
}
// StatusLT applies the LT predicate on the "status" field.
func StatusLT(v string) predicate.Zone {
return predicate.Zone(sql.FieldLT(FieldStatus, v))
}
// StatusLTE applies the LTE predicate on the "status" field.
func StatusLTE(v string) predicate.Zone {
return predicate.Zone(sql.FieldLTE(FieldStatus, v))
}
// StatusContains applies the Contains predicate on the "status" field.
func StatusContains(v string) predicate.Zone {
return predicate.Zone(sql.FieldContains(FieldStatus, v))
}
// StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasPrefix(v string) predicate.Zone {
return predicate.Zone(sql.FieldHasPrefix(FieldStatus, v))
}
// StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusHasSuffix(v string) predicate.Zone {
return predicate.Zone(sql.FieldHasSuffix(FieldStatus, v))
}
// StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusEqualFold(v string) predicate.Zone {
return predicate.Zone(sql.FieldEqualFold(FieldStatus, v))
}
// StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusContainsFold(v string) predicate.Zone {
return predicate.Zone(sql.FieldContainsFold(FieldStatus, v))
}
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtEQ(v int64) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldCreatedAt, v))
}
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNEQ(v int64) predicate.Zone {
return predicate.Zone(sql.FieldNEQ(FieldCreatedAt, v))
}
// CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIn(vs ...int64) predicate.Zone {
return predicate.Zone(sql.FieldIn(FieldCreatedAt, vs...))
}
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotIn(vs ...int64) predicate.Zone {
return predicate.Zone(sql.FieldNotIn(FieldCreatedAt, vs...))
}
// CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGT(v int64) predicate.Zone {
return predicate.Zone(sql.FieldGT(FieldCreatedAt, v))
}
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtGTE(v int64) predicate.Zone {
return predicate.Zone(sql.FieldGTE(FieldCreatedAt, v))
}
// CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLT(v int64) predicate.Zone {
return predicate.Zone(sql.FieldLT(FieldCreatedAt, v))
}
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtLTE(v int64) predicate.Zone {
return predicate.Zone(sql.FieldLTE(FieldCreatedAt, v))
}
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtEQ(v int64) predicate.Zone {
return predicate.Zone(sql.FieldEQ(FieldUpdatedAt, v))
}
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNEQ(v int64) predicate.Zone {
return predicate.Zone(sql.FieldNEQ(FieldUpdatedAt, v))
}
// UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIn(vs ...int64) predicate.Zone {
return predicate.Zone(sql.FieldIn(FieldUpdatedAt, vs...))
}
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotIn(vs ...int64) predicate.Zone {
return predicate.Zone(sql.FieldNotIn(FieldUpdatedAt, vs...))
}
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGT(v int64) predicate.Zone {
return predicate.Zone(sql.FieldGT(FieldUpdatedAt, v))
}
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtGTE(v int64) predicate.Zone {
return predicate.Zone(sql.FieldGTE(FieldUpdatedAt, v))
}
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLT(v int64) predicate.Zone {
return predicate.Zone(sql.FieldLT(FieldUpdatedAt, v))
}
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtLTE(v int64) predicate.Zone {
return predicate.Zone(sql.FieldLTE(FieldUpdatedAt, v))
}
// UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtIsNil() predicate.Zone {
return predicate.Zone(sql.FieldIsNull(FieldUpdatedAt))
}
// UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedAtNotNil() predicate.Zone {
return predicate.Zone(sql.FieldNotNull(FieldUpdatedAt))
}
// And groups predicates with the AND operator between them.
func And(predicates ...predicate.Zone) predicate.Zone {
return predicate.Zone(sql.AndPredicates(predicates...))
}
// Or groups predicates with the OR operator between them.
func Or(predicates ...predicate.Zone) predicate.Zone {
return predicate.Zone(sql.OrPredicates(predicates...))
}
// Not applies the not operator on the given predicate.
func Not(p predicate.Zone) predicate.Zone {
return predicate.Zone(sql.NotPredicates(p))
}