1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522 |
- // Code generated by ent, DO NOT EDIT.
- package employee
- import (
- "time"
- "wechat-api/ent/predicate"
- "entgo.io/ent/dialect/sql"
- "entgo.io/ent/dialect/sql/sqlgraph"
- )
- // ID filters vertices based on their ID field.
- func ID(id uint64) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldID, id))
- }
- // IDEQ applies the EQ predicate on the ID field.
- func IDEQ(id uint64) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldID, id))
- }
- // IDNEQ applies the NEQ predicate on the ID field.
- func IDNEQ(id uint64) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldID, id))
- }
- // IDIn applies the In predicate on the ID field.
- func IDIn(ids ...uint64) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldID, ids...))
- }
- // IDNotIn applies the NotIn predicate on the ID field.
- func IDNotIn(ids ...uint64) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldID, ids...))
- }
- // IDGT applies the GT predicate on the ID field.
- func IDGT(id uint64) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldID, id))
- }
- // IDGTE applies the GTE predicate on the ID field.
- func IDGTE(id uint64) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldID, id))
- }
- // IDLT applies the LT predicate on the ID field.
- func IDLT(id uint64) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldID, id))
- }
- // IDLTE applies the LTE predicate on the ID field.
- func IDLTE(id uint64) predicate.Employee {
- return predicate.Employee(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.Employee {
- return predicate.Employee(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.Employee {
- return predicate.Employee(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.Employee {
- return predicate.Employee(sql.FieldEQ(FieldDeletedAt, v))
- }
- // Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
- func Title(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldTitle, v))
- }
- // Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ.
- func Avatar(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldAvatar, v))
- }
- // Tags applies equality check predicate on the "tags" field. It's identical to TagsEQ.
- func Tags(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldTags, v))
- }
- // HireCount applies equality check predicate on the "hire_count" field. It's identical to HireCountEQ.
- func HireCount(v int) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldHireCount, v))
- }
- // ServiceCount applies equality check predicate on the "service_count" field. It's identical to ServiceCountEQ.
- func ServiceCount(v int) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldServiceCount, v))
- }
- // AchievementCount applies equality check predicate on the "achievement_count" field. It's identical to AchievementCountEQ.
- func AchievementCount(v int) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldAchievementCount, v))
- }
- // Intro applies equality check predicate on the "intro" field. It's identical to IntroEQ.
- func Intro(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldIntro, v))
- }
- // Estimate applies equality check predicate on the "estimate" field. It's identical to EstimateEQ.
- func Estimate(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldEstimate, v))
- }
- // Skill applies equality check predicate on the "skill" field. It's identical to SkillEQ.
- func Skill(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldSkill, v))
- }
- // AbilityType applies equality check predicate on the "ability_type" field. It's identical to AbilityTypeEQ.
- func AbilityType(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldAbilityType, v))
- }
- // Scene applies equality check predicate on the "scene" field. It's identical to SceneEQ.
- func Scene(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldScene, v))
- }
- // SwitchIn applies equality check predicate on the "switch_in" field. It's identical to SwitchInEQ.
- func SwitchIn(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldSwitchIn, v))
- }
- // VideoURL applies equality check predicate on the "video_url" field. It's identical to VideoURLEQ.
- func VideoURL(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldVideoURL, v))
- }
- // OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
- func OrganizationID(v uint64) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldOrganizationID, v))
- }
- // CategoryID applies equality check predicate on the "category_id" field. It's identical to CategoryIDEQ.
- func CategoryID(v uint64) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldCategoryID, v))
- }
- // APIBase applies equality check predicate on the "api_base" field. It's identical to APIBaseEQ.
- func APIBase(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldAPIBase, v))
- }
- // APIKey applies equality check predicate on the "api_key" field. It's identical to APIKeyEQ.
- func APIKey(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldAPIKey, v))
- }
- // AiInfo applies equality check predicate on the "ai_info" field. It's identical to AiInfoEQ.
- func AiInfo(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldAiInfo, v))
- }
- // IsVip applies equality check predicate on the "is_vip" field. It's identical to IsVipEQ.
- func IsVip(v int) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldIsVip, v))
- }
- // ChatURL applies equality check predicate on the "chat_url" field. It's identical to ChatURLEQ.
- func ChatURL(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldChatURL, v))
- }
- // CreatedAtEQ applies the EQ predicate on the "created_at" field.
- func CreatedAtEQ(v time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldCreatedAt, v))
- }
- // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
- func CreatedAtNEQ(v time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldCreatedAt, v))
- }
- // CreatedAtIn applies the In predicate on the "created_at" field.
- func CreatedAtIn(vs ...time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldCreatedAt, vs...))
- }
- // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
- func CreatedAtNotIn(vs ...time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldCreatedAt, vs...))
- }
- // CreatedAtGT applies the GT predicate on the "created_at" field.
- func CreatedAtGT(v time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldCreatedAt, v))
- }
- // CreatedAtGTE applies the GTE predicate on the "created_at" field.
- func CreatedAtGTE(v time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldCreatedAt, v))
- }
- // CreatedAtLT applies the LT predicate on the "created_at" field.
- func CreatedAtLT(v time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldCreatedAt, v))
- }
- // CreatedAtLTE applies the LTE predicate on the "created_at" field.
- func CreatedAtLTE(v time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldCreatedAt, v))
- }
- // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
- func UpdatedAtEQ(v time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
- func UpdatedAtNEQ(v time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtIn applies the In predicate on the "updated_at" field.
- func UpdatedAtIn(vs ...time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
- func UpdatedAtNotIn(vs ...time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtGT applies the GT predicate on the "updated_at" field.
- func UpdatedAtGT(v time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldUpdatedAt, v))
- }
- // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
- func UpdatedAtGTE(v time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldUpdatedAt, v))
- }
- // UpdatedAtLT applies the LT predicate on the "updated_at" field.
- func UpdatedAtLT(v time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldUpdatedAt, v))
- }
- // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
- func UpdatedAtLTE(v time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldUpdatedAt, v))
- }
- // DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
- func DeletedAtEQ(v time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldDeletedAt, v))
- }
- // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
- func DeletedAtNEQ(v time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldDeletedAt, v))
- }
- // DeletedAtIn applies the In predicate on the "deleted_at" field.
- func DeletedAtIn(vs ...time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldDeletedAt, vs...))
- }
- // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
- func DeletedAtNotIn(vs ...time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldDeletedAt, vs...))
- }
- // DeletedAtGT applies the GT predicate on the "deleted_at" field.
- func DeletedAtGT(v time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldDeletedAt, v))
- }
- // DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
- func DeletedAtGTE(v time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldDeletedAt, v))
- }
- // DeletedAtLT applies the LT predicate on the "deleted_at" field.
- func DeletedAtLT(v time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldDeletedAt, v))
- }
- // DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
- func DeletedAtLTE(v time.Time) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldDeletedAt, v))
- }
- // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
- func DeletedAtIsNil() predicate.Employee {
- return predicate.Employee(sql.FieldIsNull(FieldDeletedAt))
- }
- // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
- func DeletedAtNotNil() predicate.Employee {
- return predicate.Employee(sql.FieldNotNull(FieldDeletedAt))
- }
- // TitleEQ applies the EQ predicate on the "title" field.
- func TitleEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldTitle, v))
- }
- // TitleNEQ applies the NEQ predicate on the "title" field.
- func TitleNEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldTitle, v))
- }
- // TitleIn applies the In predicate on the "title" field.
- func TitleIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldTitle, vs...))
- }
- // TitleNotIn applies the NotIn predicate on the "title" field.
- func TitleNotIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldTitle, vs...))
- }
- // TitleGT applies the GT predicate on the "title" field.
- func TitleGT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldTitle, v))
- }
- // TitleGTE applies the GTE predicate on the "title" field.
- func TitleGTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldTitle, v))
- }
- // TitleLT applies the LT predicate on the "title" field.
- func TitleLT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldTitle, v))
- }
- // TitleLTE applies the LTE predicate on the "title" field.
- func TitleLTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldTitle, v))
- }
- // TitleContains applies the Contains predicate on the "title" field.
- func TitleContains(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContains(FieldTitle, v))
- }
- // TitleHasPrefix applies the HasPrefix predicate on the "title" field.
- func TitleHasPrefix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasPrefix(FieldTitle, v))
- }
- // TitleHasSuffix applies the HasSuffix predicate on the "title" field.
- func TitleHasSuffix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasSuffix(FieldTitle, v))
- }
- // TitleEqualFold applies the EqualFold predicate on the "title" field.
- func TitleEqualFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEqualFold(FieldTitle, v))
- }
- // TitleContainsFold applies the ContainsFold predicate on the "title" field.
- func TitleContainsFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContainsFold(FieldTitle, v))
- }
- // AvatarEQ applies the EQ predicate on the "avatar" field.
- func AvatarEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldAvatar, v))
- }
- // AvatarNEQ applies the NEQ predicate on the "avatar" field.
- func AvatarNEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldAvatar, v))
- }
- // AvatarIn applies the In predicate on the "avatar" field.
- func AvatarIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldAvatar, vs...))
- }
- // AvatarNotIn applies the NotIn predicate on the "avatar" field.
- func AvatarNotIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldAvatar, vs...))
- }
- // AvatarGT applies the GT predicate on the "avatar" field.
- func AvatarGT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldAvatar, v))
- }
- // AvatarGTE applies the GTE predicate on the "avatar" field.
- func AvatarGTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldAvatar, v))
- }
- // AvatarLT applies the LT predicate on the "avatar" field.
- func AvatarLT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldAvatar, v))
- }
- // AvatarLTE applies the LTE predicate on the "avatar" field.
- func AvatarLTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldAvatar, v))
- }
- // AvatarContains applies the Contains predicate on the "avatar" field.
- func AvatarContains(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContains(FieldAvatar, v))
- }
- // AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field.
- func AvatarHasPrefix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasPrefix(FieldAvatar, v))
- }
- // AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field.
- func AvatarHasSuffix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasSuffix(FieldAvatar, v))
- }
- // AvatarEqualFold applies the EqualFold predicate on the "avatar" field.
- func AvatarEqualFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEqualFold(FieldAvatar, v))
- }
- // AvatarContainsFold applies the ContainsFold predicate on the "avatar" field.
- func AvatarContainsFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContainsFold(FieldAvatar, v))
- }
- // TagsEQ applies the EQ predicate on the "tags" field.
- func TagsEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldTags, v))
- }
- // TagsNEQ applies the NEQ predicate on the "tags" field.
- func TagsNEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldTags, v))
- }
- // TagsIn applies the In predicate on the "tags" field.
- func TagsIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldTags, vs...))
- }
- // TagsNotIn applies the NotIn predicate on the "tags" field.
- func TagsNotIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldTags, vs...))
- }
- // TagsGT applies the GT predicate on the "tags" field.
- func TagsGT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldTags, v))
- }
- // TagsGTE applies the GTE predicate on the "tags" field.
- func TagsGTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldTags, v))
- }
- // TagsLT applies the LT predicate on the "tags" field.
- func TagsLT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldTags, v))
- }
- // TagsLTE applies the LTE predicate on the "tags" field.
- func TagsLTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldTags, v))
- }
- // TagsContains applies the Contains predicate on the "tags" field.
- func TagsContains(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContains(FieldTags, v))
- }
- // TagsHasPrefix applies the HasPrefix predicate on the "tags" field.
- func TagsHasPrefix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasPrefix(FieldTags, v))
- }
- // TagsHasSuffix applies the HasSuffix predicate on the "tags" field.
- func TagsHasSuffix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasSuffix(FieldTags, v))
- }
- // TagsEqualFold applies the EqualFold predicate on the "tags" field.
- func TagsEqualFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEqualFold(FieldTags, v))
- }
- // TagsContainsFold applies the ContainsFold predicate on the "tags" field.
- func TagsContainsFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContainsFold(FieldTags, v))
- }
- // HireCountEQ applies the EQ predicate on the "hire_count" field.
- func HireCountEQ(v int) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldHireCount, v))
- }
- // HireCountNEQ applies the NEQ predicate on the "hire_count" field.
- func HireCountNEQ(v int) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldHireCount, v))
- }
- // HireCountIn applies the In predicate on the "hire_count" field.
- func HireCountIn(vs ...int) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldHireCount, vs...))
- }
- // HireCountNotIn applies the NotIn predicate on the "hire_count" field.
- func HireCountNotIn(vs ...int) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldHireCount, vs...))
- }
- // HireCountGT applies the GT predicate on the "hire_count" field.
- func HireCountGT(v int) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldHireCount, v))
- }
- // HireCountGTE applies the GTE predicate on the "hire_count" field.
- func HireCountGTE(v int) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldHireCount, v))
- }
- // HireCountLT applies the LT predicate on the "hire_count" field.
- func HireCountLT(v int) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldHireCount, v))
- }
- // HireCountLTE applies the LTE predicate on the "hire_count" field.
- func HireCountLTE(v int) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldHireCount, v))
- }
- // ServiceCountEQ applies the EQ predicate on the "service_count" field.
- func ServiceCountEQ(v int) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldServiceCount, v))
- }
- // ServiceCountNEQ applies the NEQ predicate on the "service_count" field.
- func ServiceCountNEQ(v int) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldServiceCount, v))
- }
- // ServiceCountIn applies the In predicate on the "service_count" field.
- func ServiceCountIn(vs ...int) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldServiceCount, vs...))
- }
- // ServiceCountNotIn applies the NotIn predicate on the "service_count" field.
- func ServiceCountNotIn(vs ...int) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldServiceCount, vs...))
- }
- // ServiceCountGT applies the GT predicate on the "service_count" field.
- func ServiceCountGT(v int) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldServiceCount, v))
- }
- // ServiceCountGTE applies the GTE predicate on the "service_count" field.
- func ServiceCountGTE(v int) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldServiceCount, v))
- }
- // ServiceCountLT applies the LT predicate on the "service_count" field.
- func ServiceCountLT(v int) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldServiceCount, v))
- }
- // ServiceCountLTE applies the LTE predicate on the "service_count" field.
- func ServiceCountLTE(v int) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldServiceCount, v))
- }
- // AchievementCountEQ applies the EQ predicate on the "achievement_count" field.
- func AchievementCountEQ(v int) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldAchievementCount, v))
- }
- // AchievementCountNEQ applies the NEQ predicate on the "achievement_count" field.
- func AchievementCountNEQ(v int) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldAchievementCount, v))
- }
- // AchievementCountIn applies the In predicate on the "achievement_count" field.
- func AchievementCountIn(vs ...int) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldAchievementCount, vs...))
- }
- // AchievementCountNotIn applies the NotIn predicate on the "achievement_count" field.
- func AchievementCountNotIn(vs ...int) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldAchievementCount, vs...))
- }
- // AchievementCountGT applies the GT predicate on the "achievement_count" field.
- func AchievementCountGT(v int) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldAchievementCount, v))
- }
- // AchievementCountGTE applies the GTE predicate on the "achievement_count" field.
- func AchievementCountGTE(v int) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldAchievementCount, v))
- }
- // AchievementCountLT applies the LT predicate on the "achievement_count" field.
- func AchievementCountLT(v int) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldAchievementCount, v))
- }
- // AchievementCountLTE applies the LTE predicate on the "achievement_count" field.
- func AchievementCountLTE(v int) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldAchievementCount, v))
- }
- // IntroEQ applies the EQ predicate on the "intro" field.
- func IntroEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldIntro, v))
- }
- // IntroNEQ applies the NEQ predicate on the "intro" field.
- func IntroNEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldIntro, v))
- }
- // IntroIn applies the In predicate on the "intro" field.
- func IntroIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldIntro, vs...))
- }
- // IntroNotIn applies the NotIn predicate on the "intro" field.
- func IntroNotIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldIntro, vs...))
- }
- // IntroGT applies the GT predicate on the "intro" field.
- func IntroGT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldIntro, v))
- }
- // IntroGTE applies the GTE predicate on the "intro" field.
- func IntroGTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldIntro, v))
- }
- // IntroLT applies the LT predicate on the "intro" field.
- func IntroLT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldIntro, v))
- }
- // IntroLTE applies the LTE predicate on the "intro" field.
- func IntroLTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldIntro, v))
- }
- // IntroContains applies the Contains predicate on the "intro" field.
- func IntroContains(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContains(FieldIntro, v))
- }
- // IntroHasPrefix applies the HasPrefix predicate on the "intro" field.
- func IntroHasPrefix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasPrefix(FieldIntro, v))
- }
- // IntroHasSuffix applies the HasSuffix predicate on the "intro" field.
- func IntroHasSuffix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasSuffix(FieldIntro, v))
- }
- // IntroEqualFold applies the EqualFold predicate on the "intro" field.
- func IntroEqualFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEqualFold(FieldIntro, v))
- }
- // IntroContainsFold applies the ContainsFold predicate on the "intro" field.
- func IntroContainsFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContainsFold(FieldIntro, v))
- }
- // EstimateEQ applies the EQ predicate on the "estimate" field.
- func EstimateEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldEstimate, v))
- }
- // EstimateNEQ applies the NEQ predicate on the "estimate" field.
- func EstimateNEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldEstimate, v))
- }
- // EstimateIn applies the In predicate on the "estimate" field.
- func EstimateIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldEstimate, vs...))
- }
- // EstimateNotIn applies the NotIn predicate on the "estimate" field.
- func EstimateNotIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldEstimate, vs...))
- }
- // EstimateGT applies the GT predicate on the "estimate" field.
- func EstimateGT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldEstimate, v))
- }
- // EstimateGTE applies the GTE predicate on the "estimate" field.
- func EstimateGTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldEstimate, v))
- }
- // EstimateLT applies the LT predicate on the "estimate" field.
- func EstimateLT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldEstimate, v))
- }
- // EstimateLTE applies the LTE predicate on the "estimate" field.
- func EstimateLTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldEstimate, v))
- }
- // EstimateContains applies the Contains predicate on the "estimate" field.
- func EstimateContains(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContains(FieldEstimate, v))
- }
- // EstimateHasPrefix applies the HasPrefix predicate on the "estimate" field.
- func EstimateHasPrefix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasPrefix(FieldEstimate, v))
- }
- // EstimateHasSuffix applies the HasSuffix predicate on the "estimate" field.
- func EstimateHasSuffix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasSuffix(FieldEstimate, v))
- }
- // EstimateEqualFold applies the EqualFold predicate on the "estimate" field.
- func EstimateEqualFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEqualFold(FieldEstimate, v))
- }
- // EstimateContainsFold applies the ContainsFold predicate on the "estimate" field.
- func EstimateContainsFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContainsFold(FieldEstimate, v))
- }
- // SkillEQ applies the EQ predicate on the "skill" field.
- func SkillEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldSkill, v))
- }
- // SkillNEQ applies the NEQ predicate on the "skill" field.
- func SkillNEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldSkill, v))
- }
- // SkillIn applies the In predicate on the "skill" field.
- func SkillIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldSkill, vs...))
- }
- // SkillNotIn applies the NotIn predicate on the "skill" field.
- func SkillNotIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldSkill, vs...))
- }
- // SkillGT applies the GT predicate on the "skill" field.
- func SkillGT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldSkill, v))
- }
- // SkillGTE applies the GTE predicate on the "skill" field.
- func SkillGTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldSkill, v))
- }
- // SkillLT applies the LT predicate on the "skill" field.
- func SkillLT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldSkill, v))
- }
- // SkillLTE applies the LTE predicate on the "skill" field.
- func SkillLTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldSkill, v))
- }
- // SkillContains applies the Contains predicate on the "skill" field.
- func SkillContains(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContains(FieldSkill, v))
- }
- // SkillHasPrefix applies the HasPrefix predicate on the "skill" field.
- func SkillHasPrefix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasPrefix(FieldSkill, v))
- }
- // SkillHasSuffix applies the HasSuffix predicate on the "skill" field.
- func SkillHasSuffix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasSuffix(FieldSkill, v))
- }
- // SkillEqualFold applies the EqualFold predicate on the "skill" field.
- func SkillEqualFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEqualFold(FieldSkill, v))
- }
- // SkillContainsFold applies the ContainsFold predicate on the "skill" field.
- func SkillContainsFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContainsFold(FieldSkill, v))
- }
- // AbilityTypeEQ applies the EQ predicate on the "ability_type" field.
- func AbilityTypeEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldAbilityType, v))
- }
- // AbilityTypeNEQ applies the NEQ predicate on the "ability_type" field.
- func AbilityTypeNEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldAbilityType, v))
- }
- // AbilityTypeIn applies the In predicate on the "ability_type" field.
- func AbilityTypeIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldAbilityType, vs...))
- }
- // AbilityTypeNotIn applies the NotIn predicate on the "ability_type" field.
- func AbilityTypeNotIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldAbilityType, vs...))
- }
- // AbilityTypeGT applies the GT predicate on the "ability_type" field.
- func AbilityTypeGT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldAbilityType, v))
- }
- // AbilityTypeGTE applies the GTE predicate on the "ability_type" field.
- func AbilityTypeGTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldAbilityType, v))
- }
- // AbilityTypeLT applies the LT predicate on the "ability_type" field.
- func AbilityTypeLT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldAbilityType, v))
- }
- // AbilityTypeLTE applies the LTE predicate on the "ability_type" field.
- func AbilityTypeLTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldAbilityType, v))
- }
- // AbilityTypeContains applies the Contains predicate on the "ability_type" field.
- func AbilityTypeContains(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContains(FieldAbilityType, v))
- }
- // AbilityTypeHasPrefix applies the HasPrefix predicate on the "ability_type" field.
- func AbilityTypeHasPrefix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasPrefix(FieldAbilityType, v))
- }
- // AbilityTypeHasSuffix applies the HasSuffix predicate on the "ability_type" field.
- func AbilityTypeHasSuffix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasSuffix(FieldAbilityType, v))
- }
- // AbilityTypeEqualFold applies the EqualFold predicate on the "ability_type" field.
- func AbilityTypeEqualFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEqualFold(FieldAbilityType, v))
- }
- // AbilityTypeContainsFold applies the ContainsFold predicate on the "ability_type" field.
- func AbilityTypeContainsFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContainsFold(FieldAbilityType, v))
- }
- // SceneEQ applies the EQ predicate on the "scene" field.
- func SceneEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldScene, v))
- }
- // SceneNEQ applies the NEQ predicate on the "scene" field.
- func SceneNEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldScene, v))
- }
- // SceneIn applies the In predicate on the "scene" field.
- func SceneIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldScene, vs...))
- }
- // SceneNotIn applies the NotIn predicate on the "scene" field.
- func SceneNotIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldScene, vs...))
- }
- // SceneGT applies the GT predicate on the "scene" field.
- func SceneGT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldScene, v))
- }
- // SceneGTE applies the GTE predicate on the "scene" field.
- func SceneGTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldScene, v))
- }
- // SceneLT applies the LT predicate on the "scene" field.
- func SceneLT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldScene, v))
- }
- // SceneLTE applies the LTE predicate on the "scene" field.
- func SceneLTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldScene, v))
- }
- // SceneContains applies the Contains predicate on the "scene" field.
- func SceneContains(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContains(FieldScene, v))
- }
- // SceneHasPrefix applies the HasPrefix predicate on the "scene" field.
- func SceneHasPrefix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasPrefix(FieldScene, v))
- }
- // SceneHasSuffix applies the HasSuffix predicate on the "scene" field.
- func SceneHasSuffix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasSuffix(FieldScene, v))
- }
- // SceneEqualFold applies the EqualFold predicate on the "scene" field.
- func SceneEqualFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEqualFold(FieldScene, v))
- }
- // SceneContainsFold applies the ContainsFold predicate on the "scene" field.
- func SceneContainsFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContainsFold(FieldScene, v))
- }
- // SwitchInEQ applies the EQ predicate on the "switch_in" field.
- func SwitchInEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldSwitchIn, v))
- }
- // SwitchInNEQ applies the NEQ predicate on the "switch_in" field.
- func SwitchInNEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldSwitchIn, v))
- }
- // SwitchInIn applies the In predicate on the "switch_in" field.
- func SwitchInIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldSwitchIn, vs...))
- }
- // SwitchInNotIn applies the NotIn predicate on the "switch_in" field.
- func SwitchInNotIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldSwitchIn, vs...))
- }
- // SwitchInGT applies the GT predicate on the "switch_in" field.
- func SwitchInGT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldSwitchIn, v))
- }
- // SwitchInGTE applies the GTE predicate on the "switch_in" field.
- func SwitchInGTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldSwitchIn, v))
- }
- // SwitchInLT applies the LT predicate on the "switch_in" field.
- func SwitchInLT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldSwitchIn, v))
- }
- // SwitchInLTE applies the LTE predicate on the "switch_in" field.
- func SwitchInLTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldSwitchIn, v))
- }
- // SwitchInContains applies the Contains predicate on the "switch_in" field.
- func SwitchInContains(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContains(FieldSwitchIn, v))
- }
- // SwitchInHasPrefix applies the HasPrefix predicate on the "switch_in" field.
- func SwitchInHasPrefix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasPrefix(FieldSwitchIn, v))
- }
- // SwitchInHasSuffix applies the HasSuffix predicate on the "switch_in" field.
- func SwitchInHasSuffix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasSuffix(FieldSwitchIn, v))
- }
- // SwitchInEqualFold applies the EqualFold predicate on the "switch_in" field.
- func SwitchInEqualFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEqualFold(FieldSwitchIn, v))
- }
- // SwitchInContainsFold applies the ContainsFold predicate on the "switch_in" field.
- func SwitchInContainsFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContainsFold(FieldSwitchIn, v))
- }
- // VideoURLEQ applies the EQ predicate on the "video_url" field.
- func VideoURLEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldVideoURL, v))
- }
- // VideoURLNEQ applies the NEQ predicate on the "video_url" field.
- func VideoURLNEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldVideoURL, v))
- }
- // VideoURLIn applies the In predicate on the "video_url" field.
- func VideoURLIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldVideoURL, vs...))
- }
- // VideoURLNotIn applies the NotIn predicate on the "video_url" field.
- func VideoURLNotIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldVideoURL, vs...))
- }
- // VideoURLGT applies the GT predicate on the "video_url" field.
- func VideoURLGT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldVideoURL, v))
- }
- // VideoURLGTE applies the GTE predicate on the "video_url" field.
- func VideoURLGTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldVideoURL, v))
- }
- // VideoURLLT applies the LT predicate on the "video_url" field.
- func VideoURLLT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldVideoURL, v))
- }
- // VideoURLLTE applies the LTE predicate on the "video_url" field.
- func VideoURLLTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldVideoURL, v))
- }
- // VideoURLContains applies the Contains predicate on the "video_url" field.
- func VideoURLContains(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContains(FieldVideoURL, v))
- }
- // VideoURLHasPrefix applies the HasPrefix predicate on the "video_url" field.
- func VideoURLHasPrefix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasPrefix(FieldVideoURL, v))
- }
- // VideoURLHasSuffix applies the HasSuffix predicate on the "video_url" field.
- func VideoURLHasSuffix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasSuffix(FieldVideoURL, v))
- }
- // VideoURLEqualFold applies the EqualFold predicate on the "video_url" field.
- func VideoURLEqualFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEqualFold(FieldVideoURL, v))
- }
- // VideoURLContainsFold applies the ContainsFold predicate on the "video_url" field.
- func VideoURLContainsFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContainsFold(FieldVideoURL, v))
- }
- // OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
- func OrganizationIDEQ(v uint64) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldOrganizationID, v))
- }
- // OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
- func OrganizationIDNEQ(v uint64) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldOrganizationID, v))
- }
- // OrganizationIDIn applies the In predicate on the "organization_id" field.
- func OrganizationIDIn(vs ...uint64) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldOrganizationID, vs...))
- }
- // OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
- func OrganizationIDNotIn(vs ...uint64) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldOrganizationID, vs...))
- }
- // OrganizationIDGT applies the GT predicate on the "organization_id" field.
- func OrganizationIDGT(v uint64) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldOrganizationID, v))
- }
- // OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
- func OrganizationIDGTE(v uint64) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldOrganizationID, v))
- }
- // OrganizationIDLT applies the LT predicate on the "organization_id" field.
- func OrganizationIDLT(v uint64) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldOrganizationID, v))
- }
- // OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
- func OrganizationIDLTE(v uint64) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldOrganizationID, v))
- }
- // CategoryIDEQ applies the EQ predicate on the "category_id" field.
- func CategoryIDEQ(v uint64) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldCategoryID, v))
- }
- // CategoryIDNEQ applies the NEQ predicate on the "category_id" field.
- func CategoryIDNEQ(v uint64) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldCategoryID, v))
- }
- // CategoryIDIn applies the In predicate on the "category_id" field.
- func CategoryIDIn(vs ...uint64) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldCategoryID, vs...))
- }
- // CategoryIDNotIn applies the NotIn predicate on the "category_id" field.
- func CategoryIDNotIn(vs ...uint64) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldCategoryID, vs...))
- }
- // CategoryIDGT applies the GT predicate on the "category_id" field.
- func CategoryIDGT(v uint64) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldCategoryID, v))
- }
- // CategoryIDGTE applies the GTE predicate on the "category_id" field.
- func CategoryIDGTE(v uint64) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldCategoryID, v))
- }
- // CategoryIDLT applies the LT predicate on the "category_id" field.
- func CategoryIDLT(v uint64) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldCategoryID, v))
- }
- // CategoryIDLTE applies the LTE predicate on the "category_id" field.
- func CategoryIDLTE(v uint64) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldCategoryID, v))
- }
- // APIBaseEQ applies the EQ predicate on the "api_base" field.
- func APIBaseEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldAPIBase, v))
- }
- // APIBaseNEQ applies the NEQ predicate on the "api_base" field.
- func APIBaseNEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldAPIBase, v))
- }
- // APIBaseIn applies the In predicate on the "api_base" field.
- func APIBaseIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldAPIBase, vs...))
- }
- // APIBaseNotIn applies the NotIn predicate on the "api_base" field.
- func APIBaseNotIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldAPIBase, vs...))
- }
- // APIBaseGT applies the GT predicate on the "api_base" field.
- func APIBaseGT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldAPIBase, v))
- }
- // APIBaseGTE applies the GTE predicate on the "api_base" field.
- func APIBaseGTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldAPIBase, v))
- }
- // APIBaseLT applies the LT predicate on the "api_base" field.
- func APIBaseLT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldAPIBase, v))
- }
- // APIBaseLTE applies the LTE predicate on the "api_base" field.
- func APIBaseLTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldAPIBase, v))
- }
- // APIBaseContains applies the Contains predicate on the "api_base" field.
- func APIBaseContains(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContains(FieldAPIBase, v))
- }
- // APIBaseHasPrefix applies the HasPrefix predicate on the "api_base" field.
- func APIBaseHasPrefix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasPrefix(FieldAPIBase, v))
- }
- // APIBaseHasSuffix applies the HasSuffix predicate on the "api_base" field.
- func APIBaseHasSuffix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasSuffix(FieldAPIBase, v))
- }
- // APIBaseEqualFold applies the EqualFold predicate on the "api_base" field.
- func APIBaseEqualFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEqualFold(FieldAPIBase, v))
- }
- // APIBaseContainsFold applies the ContainsFold predicate on the "api_base" field.
- func APIBaseContainsFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContainsFold(FieldAPIBase, v))
- }
- // APIKeyEQ applies the EQ predicate on the "api_key" field.
- func APIKeyEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldAPIKey, v))
- }
- // APIKeyNEQ applies the NEQ predicate on the "api_key" field.
- func APIKeyNEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldAPIKey, v))
- }
- // APIKeyIn applies the In predicate on the "api_key" field.
- func APIKeyIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldAPIKey, vs...))
- }
- // APIKeyNotIn applies the NotIn predicate on the "api_key" field.
- func APIKeyNotIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldAPIKey, vs...))
- }
- // APIKeyGT applies the GT predicate on the "api_key" field.
- func APIKeyGT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldAPIKey, v))
- }
- // APIKeyGTE applies the GTE predicate on the "api_key" field.
- func APIKeyGTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldAPIKey, v))
- }
- // APIKeyLT applies the LT predicate on the "api_key" field.
- func APIKeyLT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldAPIKey, v))
- }
- // APIKeyLTE applies the LTE predicate on the "api_key" field.
- func APIKeyLTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldAPIKey, v))
- }
- // APIKeyContains applies the Contains predicate on the "api_key" field.
- func APIKeyContains(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContains(FieldAPIKey, v))
- }
- // APIKeyHasPrefix applies the HasPrefix predicate on the "api_key" field.
- func APIKeyHasPrefix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasPrefix(FieldAPIKey, v))
- }
- // APIKeyHasSuffix applies the HasSuffix predicate on the "api_key" field.
- func APIKeyHasSuffix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasSuffix(FieldAPIKey, v))
- }
- // APIKeyEqualFold applies the EqualFold predicate on the "api_key" field.
- func APIKeyEqualFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEqualFold(FieldAPIKey, v))
- }
- // APIKeyContainsFold applies the ContainsFold predicate on the "api_key" field.
- func APIKeyContainsFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContainsFold(FieldAPIKey, v))
- }
- // AiInfoEQ applies the EQ predicate on the "ai_info" field.
- func AiInfoEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldAiInfo, v))
- }
- // AiInfoNEQ applies the NEQ predicate on the "ai_info" field.
- func AiInfoNEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldAiInfo, v))
- }
- // AiInfoIn applies the In predicate on the "ai_info" field.
- func AiInfoIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldAiInfo, vs...))
- }
- // AiInfoNotIn applies the NotIn predicate on the "ai_info" field.
- func AiInfoNotIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldAiInfo, vs...))
- }
- // AiInfoGT applies the GT predicate on the "ai_info" field.
- func AiInfoGT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldAiInfo, v))
- }
- // AiInfoGTE applies the GTE predicate on the "ai_info" field.
- func AiInfoGTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldAiInfo, v))
- }
- // AiInfoLT applies the LT predicate on the "ai_info" field.
- func AiInfoLT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldAiInfo, v))
- }
- // AiInfoLTE applies the LTE predicate on the "ai_info" field.
- func AiInfoLTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldAiInfo, v))
- }
- // AiInfoContains applies the Contains predicate on the "ai_info" field.
- func AiInfoContains(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContains(FieldAiInfo, v))
- }
- // AiInfoHasPrefix applies the HasPrefix predicate on the "ai_info" field.
- func AiInfoHasPrefix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasPrefix(FieldAiInfo, v))
- }
- // AiInfoHasSuffix applies the HasSuffix predicate on the "ai_info" field.
- func AiInfoHasSuffix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasSuffix(FieldAiInfo, v))
- }
- // AiInfoIsNil applies the IsNil predicate on the "ai_info" field.
- func AiInfoIsNil() predicate.Employee {
- return predicate.Employee(sql.FieldIsNull(FieldAiInfo))
- }
- // AiInfoNotNil applies the NotNil predicate on the "ai_info" field.
- func AiInfoNotNil() predicate.Employee {
- return predicate.Employee(sql.FieldNotNull(FieldAiInfo))
- }
- // AiInfoEqualFold applies the EqualFold predicate on the "ai_info" field.
- func AiInfoEqualFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEqualFold(FieldAiInfo, v))
- }
- // AiInfoContainsFold applies the ContainsFold predicate on the "ai_info" field.
- func AiInfoContainsFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContainsFold(FieldAiInfo, v))
- }
- // IsVipEQ applies the EQ predicate on the "is_vip" field.
- func IsVipEQ(v int) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldIsVip, v))
- }
- // IsVipNEQ applies the NEQ predicate on the "is_vip" field.
- func IsVipNEQ(v int) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldIsVip, v))
- }
- // IsVipIn applies the In predicate on the "is_vip" field.
- func IsVipIn(vs ...int) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldIsVip, vs...))
- }
- // IsVipNotIn applies the NotIn predicate on the "is_vip" field.
- func IsVipNotIn(vs ...int) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldIsVip, vs...))
- }
- // IsVipGT applies the GT predicate on the "is_vip" field.
- func IsVipGT(v int) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldIsVip, v))
- }
- // IsVipGTE applies the GTE predicate on the "is_vip" field.
- func IsVipGTE(v int) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldIsVip, v))
- }
- // IsVipLT applies the LT predicate on the "is_vip" field.
- func IsVipLT(v int) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldIsVip, v))
- }
- // IsVipLTE applies the LTE predicate on the "is_vip" field.
- func IsVipLTE(v int) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldIsVip, v))
- }
- // ChatURLEQ applies the EQ predicate on the "chat_url" field.
- func ChatURLEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEQ(FieldChatURL, v))
- }
- // ChatURLNEQ applies the NEQ predicate on the "chat_url" field.
- func ChatURLNEQ(v string) predicate.Employee {
- return predicate.Employee(sql.FieldNEQ(FieldChatURL, v))
- }
- // ChatURLIn applies the In predicate on the "chat_url" field.
- func ChatURLIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldIn(FieldChatURL, vs...))
- }
- // ChatURLNotIn applies the NotIn predicate on the "chat_url" field.
- func ChatURLNotIn(vs ...string) predicate.Employee {
- return predicate.Employee(sql.FieldNotIn(FieldChatURL, vs...))
- }
- // ChatURLGT applies the GT predicate on the "chat_url" field.
- func ChatURLGT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGT(FieldChatURL, v))
- }
- // ChatURLGTE applies the GTE predicate on the "chat_url" field.
- func ChatURLGTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldGTE(FieldChatURL, v))
- }
- // ChatURLLT applies the LT predicate on the "chat_url" field.
- func ChatURLLT(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLT(FieldChatURL, v))
- }
- // ChatURLLTE applies the LTE predicate on the "chat_url" field.
- func ChatURLLTE(v string) predicate.Employee {
- return predicate.Employee(sql.FieldLTE(FieldChatURL, v))
- }
- // ChatURLContains applies the Contains predicate on the "chat_url" field.
- func ChatURLContains(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContains(FieldChatURL, v))
- }
- // ChatURLHasPrefix applies the HasPrefix predicate on the "chat_url" field.
- func ChatURLHasPrefix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasPrefix(FieldChatURL, v))
- }
- // ChatURLHasSuffix applies the HasSuffix predicate on the "chat_url" field.
- func ChatURLHasSuffix(v string) predicate.Employee {
- return predicate.Employee(sql.FieldHasSuffix(FieldChatURL, v))
- }
- // ChatURLEqualFold applies the EqualFold predicate on the "chat_url" field.
- func ChatURLEqualFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldEqualFold(FieldChatURL, v))
- }
- // ChatURLContainsFold applies the ContainsFold predicate on the "chat_url" field.
- func ChatURLContainsFold(v string) predicate.Employee {
- return predicate.Employee(sql.FieldContainsFold(FieldChatURL, v))
- }
- // HasEmWorkExperiences applies the HasEdge predicate on the "em_work_experiences" edge.
- func HasEmWorkExperiences() predicate.Employee {
- return predicate.Employee(func(s *sql.Selector) {
- step := sqlgraph.NewStep(
- sqlgraph.From(Table, FieldID),
- sqlgraph.Edge(sqlgraph.O2M, false, EmWorkExperiencesTable, EmWorkExperiencesColumn),
- )
- sqlgraph.HasNeighbors(s, step)
- })
- }
- // HasEmWorkExperiencesWith applies the HasEdge predicate on the "em_work_experiences" edge with a given conditions (other predicates).
- func HasEmWorkExperiencesWith(preds ...predicate.WorkExperience) predicate.Employee {
- return predicate.Employee(func(s *sql.Selector) {
- step := newEmWorkExperiencesStep()
- sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
- for _, p := range preds {
- p(s)
- }
- })
- })
- }
- // HasEmTutorial applies the HasEdge predicate on the "em_tutorial" edge.
- func HasEmTutorial() predicate.Employee {
- return predicate.Employee(func(s *sql.Selector) {
- step := sqlgraph.NewStep(
- sqlgraph.From(Table, FieldID),
- sqlgraph.Edge(sqlgraph.O2M, false, EmTutorialTable, EmTutorialColumn),
- )
- sqlgraph.HasNeighbors(s, step)
- })
- }
- // HasEmTutorialWith applies the HasEdge predicate on the "em_tutorial" edge with a given conditions (other predicates).
- func HasEmTutorialWith(preds ...predicate.Tutorial) predicate.Employee {
- return predicate.Employee(func(s *sql.Selector) {
- step := newEmTutorialStep()
- sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
- for _, p := range preds {
- p(s)
- }
- })
- })
- }
- // And groups predicates with the AND operator between them.
- func And(predicates ...predicate.Employee) predicate.Employee {
- return predicate.Employee(sql.AndPredicates(predicates...))
- }
- // Or groups predicates with the OR operator between them.
- func Or(predicates ...predicate.Employee) predicate.Employee {
- return predicate.Employee(sql.OrPredicates(predicates...))
- }
- // Not applies the not operator on the given predicate.
- func Not(p predicate.Employee) predicate.Employee {
- return predicate.Employee(sql.NotPredicates(p))
- }
|