12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187 |
- // 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))
- }
- // 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))
- }
- // 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))
- }
|