123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480 |
- // Code generated by ent, DO NOT EDIT.
- package employeeconfig
- import (
- "time"
- "wechat-api/ent/predicate"
- "entgo.io/ent/dialect/sql"
- )
- // ID filters vertices based on their ID field.
- func ID(id uint64) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldEQ(FieldID, id))
- }
- // IDEQ applies the EQ predicate on the ID field.
- func IDEQ(id uint64) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldEQ(FieldID, id))
- }
- // IDNEQ applies the NEQ predicate on the ID field.
- func IDNEQ(id uint64) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldNEQ(FieldID, id))
- }
- // IDIn applies the In predicate on the ID field.
- func IDIn(ids ...uint64) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldIn(FieldID, ids...))
- }
- // IDNotIn applies the NotIn predicate on the ID field.
- func IDNotIn(ids ...uint64) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldNotIn(FieldID, ids...))
- }
- // IDGT applies the GT predicate on the ID field.
- func IDGT(id uint64) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldGT(FieldID, id))
- }
- // IDGTE applies the GTE predicate on the ID field.
- func IDGTE(id uint64) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldGTE(FieldID, id))
- }
- // IDLT applies the LT predicate on the ID field.
- func IDLT(id uint64) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldLT(FieldID, id))
- }
- // IDLTE applies the LTE predicate on the ID field.
- func IDLTE(id uint64) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldLTE(FieldID, id))
- }
- // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
- func CreatedAt(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldEQ(FieldCreatedAt, v))
- }
- // UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
- func UpdatedAt(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
- func DeletedAt(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldEQ(FieldDeletedAt, v))
- }
- // Stype applies equality check predicate on the "stype" field. It's identical to StypeEQ.
- func Stype(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldEQ(FieldStype, v))
- }
- // Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
- func Title(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldEQ(FieldTitle, v))
- }
- // Photo applies equality check predicate on the "photo" field. It's identical to PhotoEQ.
- func Photo(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldEQ(FieldPhoto, v))
- }
- // OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
- func OrganizationID(v uint64) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldEQ(FieldOrganizationID, v))
- }
- // CreatedAtEQ applies the EQ predicate on the "created_at" field.
- func CreatedAtEQ(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldEQ(FieldCreatedAt, v))
- }
- // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
- func CreatedAtNEQ(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldNEQ(FieldCreatedAt, v))
- }
- // CreatedAtIn applies the In predicate on the "created_at" field.
- func CreatedAtIn(vs ...time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldIn(FieldCreatedAt, vs...))
- }
- // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
- func CreatedAtNotIn(vs ...time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldNotIn(FieldCreatedAt, vs...))
- }
- // CreatedAtGT applies the GT predicate on the "created_at" field.
- func CreatedAtGT(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldGT(FieldCreatedAt, v))
- }
- // CreatedAtGTE applies the GTE predicate on the "created_at" field.
- func CreatedAtGTE(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldGTE(FieldCreatedAt, v))
- }
- // CreatedAtLT applies the LT predicate on the "created_at" field.
- func CreatedAtLT(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldLT(FieldCreatedAt, v))
- }
- // CreatedAtLTE applies the LTE predicate on the "created_at" field.
- func CreatedAtLTE(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldLTE(FieldCreatedAt, v))
- }
- // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
- func UpdatedAtEQ(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
- func UpdatedAtNEQ(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldNEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtIn applies the In predicate on the "updated_at" field.
- func UpdatedAtIn(vs ...time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
- func UpdatedAtNotIn(vs ...time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldNotIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtGT applies the GT predicate on the "updated_at" field.
- func UpdatedAtGT(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldGT(FieldUpdatedAt, v))
- }
- // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
- func UpdatedAtGTE(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldGTE(FieldUpdatedAt, v))
- }
- // UpdatedAtLT applies the LT predicate on the "updated_at" field.
- func UpdatedAtLT(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldLT(FieldUpdatedAt, v))
- }
- // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
- func UpdatedAtLTE(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldLTE(FieldUpdatedAt, v))
- }
- // DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
- func DeletedAtEQ(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldEQ(FieldDeletedAt, v))
- }
- // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
- func DeletedAtNEQ(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldNEQ(FieldDeletedAt, v))
- }
- // DeletedAtIn applies the In predicate on the "deleted_at" field.
- func DeletedAtIn(vs ...time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldIn(FieldDeletedAt, vs...))
- }
- // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
- func DeletedAtNotIn(vs ...time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldNotIn(FieldDeletedAt, vs...))
- }
- // DeletedAtGT applies the GT predicate on the "deleted_at" field.
- func DeletedAtGT(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldGT(FieldDeletedAt, v))
- }
- // DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
- func DeletedAtGTE(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldGTE(FieldDeletedAt, v))
- }
- // DeletedAtLT applies the LT predicate on the "deleted_at" field.
- func DeletedAtLT(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldLT(FieldDeletedAt, v))
- }
- // DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
- func DeletedAtLTE(v time.Time) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldLTE(FieldDeletedAt, v))
- }
- // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
- func DeletedAtIsNil() predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldIsNull(FieldDeletedAt))
- }
- // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
- func DeletedAtNotNil() predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldNotNull(FieldDeletedAt))
- }
- // StypeEQ applies the EQ predicate on the "stype" field.
- func StypeEQ(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldEQ(FieldStype, v))
- }
- // StypeNEQ applies the NEQ predicate on the "stype" field.
- func StypeNEQ(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldNEQ(FieldStype, v))
- }
- // StypeIn applies the In predicate on the "stype" field.
- func StypeIn(vs ...string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldIn(FieldStype, vs...))
- }
- // StypeNotIn applies the NotIn predicate on the "stype" field.
- func StypeNotIn(vs ...string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldNotIn(FieldStype, vs...))
- }
- // StypeGT applies the GT predicate on the "stype" field.
- func StypeGT(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldGT(FieldStype, v))
- }
- // StypeGTE applies the GTE predicate on the "stype" field.
- func StypeGTE(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldGTE(FieldStype, v))
- }
- // StypeLT applies the LT predicate on the "stype" field.
- func StypeLT(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldLT(FieldStype, v))
- }
- // StypeLTE applies the LTE predicate on the "stype" field.
- func StypeLTE(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldLTE(FieldStype, v))
- }
- // StypeContains applies the Contains predicate on the "stype" field.
- func StypeContains(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldContains(FieldStype, v))
- }
- // StypeHasPrefix applies the HasPrefix predicate on the "stype" field.
- func StypeHasPrefix(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldHasPrefix(FieldStype, v))
- }
- // StypeHasSuffix applies the HasSuffix predicate on the "stype" field.
- func StypeHasSuffix(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldHasSuffix(FieldStype, v))
- }
- // StypeEqualFold applies the EqualFold predicate on the "stype" field.
- func StypeEqualFold(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldEqualFold(FieldStype, v))
- }
- // StypeContainsFold applies the ContainsFold predicate on the "stype" field.
- func StypeContainsFold(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldContainsFold(FieldStype, v))
- }
- // TitleEQ applies the EQ predicate on the "title" field.
- func TitleEQ(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldEQ(FieldTitle, v))
- }
- // TitleNEQ applies the NEQ predicate on the "title" field.
- func TitleNEQ(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldNEQ(FieldTitle, v))
- }
- // TitleIn applies the In predicate on the "title" field.
- func TitleIn(vs ...string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldIn(FieldTitle, vs...))
- }
- // TitleNotIn applies the NotIn predicate on the "title" field.
- func TitleNotIn(vs ...string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldNotIn(FieldTitle, vs...))
- }
- // TitleGT applies the GT predicate on the "title" field.
- func TitleGT(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldGT(FieldTitle, v))
- }
- // TitleGTE applies the GTE predicate on the "title" field.
- func TitleGTE(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldGTE(FieldTitle, v))
- }
- // TitleLT applies the LT predicate on the "title" field.
- func TitleLT(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldLT(FieldTitle, v))
- }
- // TitleLTE applies the LTE predicate on the "title" field.
- func TitleLTE(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldLTE(FieldTitle, v))
- }
- // TitleContains applies the Contains predicate on the "title" field.
- func TitleContains(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldContains(FieldTitle, v))
- }
- // TitleHasPrefix applies the HasPrefix predicate on the "title" field.
- func TitleHasPrefix(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldHasPrefix(FieldTitle, v))
- }
- // TitleHasSuffix applies the HasSuffix predicate on the "title" field.
- func TitleHasSuffix(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldHasSuffix(FieldTitle, v))
- }
- // TitleEqualFold applies the EqualFold predicate on the "title" field.
- func TitleEqualFold(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldEqualFold(FieldTitle, v))
- }
- // TitleContainsFold applies the ContainsFold predicate on the "title" field.
- func TitleContainsFold(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldContainsFold(FieldTitle, v))
- }
- // PhotoEQ applies the EQ predicate on the "photo" field.
- func PhotoEQ(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldEQ(FieldPhoto, v))
- }
- // PhotoNEQ applies the NEQ predicate on the "photo" field.
- func PhotoNEQ(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldNEQ(FieldPhoto, v))
- }
- // PhotoIn applies the In predicate on the "photo" field.
- func PhotoIn(vs ...string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldIn(FieldPhoto, vs...))
- }
- // PhotoNotIn applies the NotIn predicate on the "photo" field.
- func PhotoNotIn(vs ...string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldNotIn(FieldPhoto, vs...))
- }
- // PhotoGT applies the GT predicate on the "photo" field.
- func PhotoGT(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldGT(FieldPhoto, v))
- }
- // PhotoGTE applies the GTE predicate on the "photo" field.
- func PhotoGTE(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldGTE(FieldPhoto, v))
- }
- // PhotoLT applies the LT predicate on the "photo" field.
- func PhotoLT(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldLT(FieldPhoto, v))
- }
- // PhotoLTE applies the LTE predicate on the "photo" field.
- func PhotoLTE(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldLTE(FieldPhoto, v))
- }
- // PhotoContains applies the Contains predicate on the "photo" field.
- func PhotoContains(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldContains(FieldPhoto, v))
- }
- // PhotoHasPrefix applies the HasPrefix predicate on the "photo" field.
- func PhotoHasPrefix(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldHasPrefix(FieldPhoto, v))
- }
- // PhotoHasSuffix applies the HasSuffix predicate on the "photo" field.
- func PhotoHasSuffix(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldHasSuffix(FieldPhoto, v))
- }
- // PhotoEqualFold applies the EqualFold predicate on the "photo" field.
- func PhotoEqualFold(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldEqualFold(FieldPhoto, v))
- }
- // PhotoContainsFold applies the ContainsFold predicate on the "photo" field.
- func PhotoContainsFold(v string) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldContainsFold(FieldPhoto, v))
- }
- // OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
- func OrganizationIDEQ(v uint64) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldEQ(FieldOrganizationID, v))
- }
- // OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
- func OrganizationIDNEQ(v uint64) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldNEQ(FieldOrganizationID, v))
- }
- // OrganizationIDIn applies the In predicate on the "organization_id" field.
- func OrganizationIDIn(vs ...uint64) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldIn(FieldOrganizationID, vs...))
- }
- // OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
- func OrganizationIDNotIn(vs ...uint64) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldNotIn(FieldOrganizationID, vs...))
- }
- // OrganizationIDGT applies the GT predicate on the "organization_id" field.
- func OrganizationIDGT(v uint64) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldGT(FieldOrganizationID, v))
- }
- // OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
- func OrganizationIDGTE(v uint64) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldGTE(FieldOrganizationID, v))
- }
- // OrganizationIDLT applies the LT predicate on the "organization_id" field.
- func OrganizationIDLT(v uint64) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldLT(FieldOrganizationID, v))
- }
- // OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
- func OrganizationIDLTE(v uint64) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldLTE(FieldOrganizationID, v))
- }
- // OrganizationIDIsNil applies the IsNil predicate on the "organization_id" field.
- func OrganizationIDIsNil() predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldIsNull(FieldOrganizationID))
- }
- // OrganizationIDNotNil applies the NotNil predicate on the "organization_id" field.
- func OrganizationIDNotNil() predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.FieldNotNull(FieldOrganizationID))
- }
- // And groups predicates with the AND operator between them.
- func And(predicates ...predicate.EmployeeConfig) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.AndPredicates(predicates...))
- }
- // Or groups predicates with the OR operator between them.
- func Or(predicates ...predicate.EmployeeConfig) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.OrPredicates(predicates...))
- }
- // Not applies the not operator on the given predicate.
- func Not(p predicate.EmployeeConfig) predicate.EmployeeConfig {
- return predicate.EmployeeConfig(sql.NotPredicates(p))
- }
|