where.go 54 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522
  1. // Code generated by ent, DO NOT EDIT.
  2. package employee
  3. import (
  4. "time"
  5. "wechat-api/ent/predicate"
  6. "entgo.io/ent/dialect/sql"
  7. "entgo.io/ent/dialect/sql/sqlgraph"
  8. )
  9. // ID filters vertices based on their ID field.
  10. func ID(id uint64) predicate.Employee {
  11. return predicate.Employee(sql.FieldEQ(FieldID, id))
  12. }
  13. // IDEQ applies the EQ predicate on the ID field.
  14. func IDEQ(id uint64) predicate.Employee {
  15. return predicate.Employee(sql.FieldEQ(FieldID, id))
  16. }
  17. // IDNEQ applies the NEQ predicate on the ID field.
  18. func IDNEQ(id uint64) predicate.Employee {
  19. return predicate.Employee(sql.FieldNEQ(FieldID, id))
  20. }
  21. // IDIn applies the In predicate on the ID field.
  22. func IDIn(ids ...uint64) predicate.Employee {
  23. return predicate.Employee(sql.FieldIn(FieldID, ids...))
  24. }
  25. // IDNotIn applies the NotIn predicate on the ID field.
  26. func IDNotIn(ids ...uint64) predicate.Employee {
  27. return predicate.Employee(sql.FieldNotIn(FieldID, ids...))
  28. }
  29. // IDGT applies the GT predicate on the ID field.
  30. func IDGT(id uint64) predicate.Employee {
  31. return predicate.Employee(sql.FieldGT(FieldID, id))
  32. }
  33. // IDGTE applies the GTE predicate on the ID field.
  34. func IDGTE(id uint64) predicate.Employee {
  35. return predicate.Employee(sql.FieldGTE(FieldID, id))
  36. }
  37. // IDLT applies the LT predicate on the ID field.
  38. func IDLT(id uint64) predicate.Employee {
  39. return predicate.Employee(sql.FieldLT(FieldID, id))
  40. }
  41. // IDLTE applies the LTE predicate on the ID field.
  42. func IDLTE(id uint64) predicate.Employee {
  43. return predicate.Employee(sql.FieldLTE(FieldID, id))
  44. }
  45. // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
  46. func CreatedAt(v time.Time) predicate.Employee {
  47. return predicate.Employee(sql.FieldEQ(FieldCreatedAt, v))
  48. }
  49. // UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
  50. func UpdatedAt(v time.Time) predicate.Employee {
  51. return predicate.Employee(sql.FieldEQ(FieldUpdatedAt, v))
  52. }
  53. // DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
  54. func DeletedAt(v time.Time) predicate.Employee {
  55. return predicate.Employee(sql.FieldEQ(FieldDeletedAt, v))
  56. }
  57. // Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
  58. func Title(v string) predicate.Employee {
  59. return predicate.Employee(sql.FieldEQ(FieldTitle, v))
  60. }
  61. // Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ.
  62. func Avatar(v string) predicate.Employee {
  63. return predicate.Employee(sql.FieldEQ(FieldAvatar, v))
  64. }
  65. // Tags applies equality check predicate on the "tags" field. It's identical to TagsEQ.
  66. func Tags(v string) predicate.Employee {
  67. return predicate.Employee(sql.FieldEQ(FieldTags, v))
  68. }
  69. // HireCount applies equality check predicate on the "hire_count" field. It's identical to HireCountEQ.
  70. func HireCount(v int) predicate.Employee {
  71. return predicate.Employee(sql.FieldEQ(FieldHireCount, v))
  72. }
  73. // ServiceCount applies equality check predicate on the "service_count" field. It's identical to ServiceCountEQ.
  74. func ServiceCount(v int) predicate.Employee {
  75. return predicate.Employee(sql.FieldEQ(FieldServiceCount, v))
  76. }
  77. // AchievementCount applies equality check predicate on the "achievement_count" field. It's identical to AchievementCountEQ.
  78. func AchievementCount(v int) predicate.Employee {
  79. return predicate.Employee(sql.FieldEQ(FieldAchievementCount, v))
  80. }
  81. // Intro applies equality check predicate on the "intro" field. It's identical to IntroEQ.
  82. func Intro(v string) predicate.Employee {
  83. return predicate.Employee(sql.FieldEQ(FieldIntro, v))
  84. }
  85. // Estimate applies equality check predicate on the "estimate" field. It's identical to EstimateEQ.
  86. func Estimate(v string) predicate.Employee {
  87. return predicate.Employee(sql.FieldEQ(FieldEstimate, v))
  88. }
  89. // Skill applies equality check predicate on the "skill" field. It's identical to SkillEQ.
  90. func Skill(v string) predicate.Employee {
  91. return predicate.Employee(sql.FieldEQ(FieldSkill, v))
  92. }
  93. // AbilityType applies equality check predicate on the "ability_type" field. It's identical to AbilityTypeEQ.
  94. func AbilityType(v string) predicate.Employee {
  95. return predicate.Employee(sql.FieldEQ(FieldAbilityType, v))
  96. }
  97. // Scene applies equality check predicate on the "scene" field. It's identical to SceneEQ.
  98. func Scene(v string) predicate.Employee {
  99. return predicate.Employee(sql.FieldEQ(FieldScene, v))
  100. }
  101. // SwitchIn applies equality check predicate on the "switch_in" field. It's identical to SwitchInEQ.
  102. func SwitchIn(v string) predicate.Employee {
  103. return predicate.Employee(sql.FieldEQ(FieldSwitchIn, v))
  104. }
  105. // VideoURL applies equality check predicate on the "video_url" field. It's identical to VideoURLEQ.
  106. func VideoURL(v string) predicate.Employee {
  107. return predicate.Employee(sql.FieldEQ(FieldVideoURL, v))
  108. }
  109. // OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
  110. func OrganizationID(v uint64) predicate.Employee {
  111. return predicate.Employee(sql.FieldEQ(FieldOrganizationID, v))
  112. }
  113. // CategoryID applies equality check predicate on the "category_id" field. It's identical to CategoryIDEQ.
  114. func CategoryID(v uint64) predicate.Employee {
  115. return predicate.Employee(sql.FieldEQ(FieldCategoryID, v))
  116. }
  117. // APIBase applies equality check predicate on the "api_base" field. It's identical to APIBaseEQ.
  118. func APIBase(v string) predicate.Employee {
  119. return predicate.Employee(sql.FieldEQ(FieldAPIBase, v))
  120. }
  121. // APIKey applies equality check predicate on the "api_key" field. It's identical to APIKeyEQ.
  122. func APIKey(v string) predicate.Employee {
  123. return predicate.Employee(sql.FieldEQ(FieldAPIKey, v))
  124. }
  125. // AiInfo applies equality check predicate on the "ai_info" field. It's identical to AiInfoEQ.
  126. func AiInfo(v string) predicate.Employee {
  127. return predicate.Employee(sql.FieldEQ(FieldAiInfo, v))
  128. }
  129. // IsVip applies equality check predicate on the "is_vip" field. It's identical to IsVipEQ.
  130. func IsVip(v int) predicate.Employee {
  131. return predicate.Employee(sql.FieldEQ(FieldIsVip, v))
  132. }
  133. // ChatURL applies equality check predicate on the "chat_url" field. It's identical to ChatURLEQ.
  134. func ChatURL(v string) predicate.Employee {
  135. return predicate.Employee(sql.FieldEQ(FieldChatURL, v))
  136. }
  137. // CreatedAtEQ applies the EQ predicate on the "created_at" field.
  138. func CreatedAtEQ(v time.Time) predicate.Employee {
  139. return predicate.Employee(sql.FieldEQ(FieldCreatedAt, v))
  140. }
  141. // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
  142. func CreatedAtNEQ(v time.Time) predicate.Employee {
  143. return predicate.Employee(sql.FieldNEQ(FieldCreatedAt, v))
  144. }
  145. // CreatedAtIn applies the In predicate on the "created_at" field.
  146. func CreatedAtIn(vs ...time.Time) predicate.Employee {
  147. return predicate.Employee(sql.FieldIn(FieldCreatedAt, vs...))
  148. }
  149. // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
  150. func CreatedAtNotIn(vs ...time.Time) predicate.Employee {
  151. return predicate.Employee(sql.FieldNotIn(FieldCreatedAt, vs...))
  152. }
  153. // CreatedAtGT applies the GT predicate on the "created_at" field.
  154. func CreatedAtGT(v time.Time) predicate.Employee {
  155. return predicate.Employee(sql.FieldGT(FieldCreatedAt, v))
  156. }
  157. // CreatedAtGTE applies the GTE predicate on the "created_at" field.
  158. func CreatedAtGTE(v time.Time) predicate.Employee {
  159. return predicate.Employee(sql.FieldGTE(FieldCreatedAt, v))
  160. }
  161. // CreatedAtLT applies the LT predicate on the "created_at" field.
  162. func CreatedAtLT(v time.Time) predicate.Employee {
  163. return predicate.Employee(sql.FieldLT(FieldCreatedAt, v))
  164. }
  165. // CreatedAtLTE applies the LTE predicate on the "created_at" field.
  166. func CreatedAtLTE(v time.Time) predicate.Employee {
  167. return predicate.Employee(sql.FieldLTE(FieldCreatedAt, v))
  168. }
  169. // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
  170. func UpdatedAtEQ(v time.Time) predicate.Employee {
  171. return predicate.Employee(sql.FieldEQ(FieldUpdatedAt, v))
  172. }
  173. // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
  174. func UpdatedAtNEQ(v time.Time) predicate.Employee {
  175. return predicate.Employee(sql.FieldNEQ(FieldUpdatedAt, v))
  176. }
  177. // UpdatedAtIn applies the In predicate on the "updated_at" field.
  178. func UpdatedAtIn(vs ...time.Time) predicate.Employee {
  179. return predicate.Employee(sql.FieldIn(FieldUpdatedAt, vs...))
  180. }
  181. // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
  182. func UpdatedAtNotIn(vs ...time.Time) predicate.Employee {
  183. return predicate.Employee(sql.FieldNotIn(FieldUpdatedAt, vs...))
  184. }
  185. // UpdatedAtGT applies the GT predicate on the "updated_at" field.
  186. func UpdatedAtGT(v time.Time) predicate.Employee {
  187. return predicate.Employee(sql.FieldGT(FieldUpdatedAt, v))
  188. }
  189. // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
  190. func UpdatedAtGTE(v time.Time) predicate.Employee {
  191. return predicate.Employee(sql.FieldGTE(FieldUpdatedAt, v))
  192. }
  193. // UpdatedAtLT applies the LT predicate on the "updated_at" field.
  194. func UpdatedAtLT(v time.Time) predicate.Employee {
  195. return predicate.Employee(sql.FieldLT(FieldUpdatedAt, v))
  196. }
  197. // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
  198. func UpdatedAtLTE(v time.Time) predicate.Employee {
  199. return predicate.Employee(sql.FieldLTE(FieldUpdatedAt, v))
  200. }
  201. // DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
  202. func DeletedAtEQ(v time.Time) predicate.Employee {
  203. return predicate.Employee(sql.FieldEQ(FieldDeletedAt, v))
  204. }
  205. // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
  206. func DeletedAtNEQ(v time.Time) predicate.Employee {
  207. return predicate.Employee(sql.FieldNEQ(FieldDeletedAt, v))
  208. }
  209. // DeletedAtIn applies the In predicate on the "deleted_at" field.
  210. func DeletedAtIn(vs ...time.Time) predicate.Employee {
  211. return predicate.Employee(sql.FieldIn(FieldDeletedAt, vs...))
  212. }
  213. // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
  214. func DeletedAtNotIn(vs ...time.Time) predicate.Employee {
  215. return predicate.Employee(sql.FieldNotIn(FieldDeletedAt, vs...))
  216. }
  217. // DeletedAtGT applies the GT predicate on the "deleted_at" field.
  218. func DeletedAtGT(v time.Time) predicate.Employee {
  219. return predicate.Employee(sql.FieldGT(FieldDeletedAt, v))
  220. }
  221. // DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
  222. func DeletedAtGTE(v time.Time) predicate.Employee {
  223. return predicate.Employee(sql.FieldGTE(FieldDeletedAt, v))
  224. }
  225. // DeletedAtLT applies the LT predicate on the "deleted_at" field.
  226. func DeletedAtLT(v time.Time) predicate.Employee {
  227. return predicate.Employee(sql.FieldLT(FieldDeletedAt, v))
  228. }
  229. // DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
  230. func DeletedAtLTE(v time.Time) predicate.Employee {
  231. return predicate.Employee(sql.FieldLTE(FieldDeletedAt, v))
  232. }
  233. // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
  234. func DeletedAtIsNil() predicate.Employee {
  235. return predicate.Employee(sql.FieldIsNull(FieldDeletedAt))
  236. }
  237. // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
  238. func DeletedAtNotNil() predicate.Employee {
  239. return predicate.Employee(sql.FieldNotNull(FieldDeletedAt))
  240. }
  241. // TitleEQ applies the EQ predicate on the "title" field.
  242. func TitleEQ(v string) predicate.Employee {
  243. return predicate.Employee(sql.FieldEQ(FieldTitle, v))
  244. }
  245. // TitleNEQ applies the NEQ predicate on the "title" field.
  246. func TitleNEQ(v string) predicate.Employee {
  247. return predicate.Employee(sql.FieldNEQ(FieldTitle, v))
  248. }
  249. // TitleIn applies the In predicate on the "title" field.
  250. func TitleIn(vs ...string) predicate.Employee {
  251. return predicate.Employee(sql.FieldIn(FieldTitle, vs...))
  252. }
  253. // TitleNotIn applies the NotIn predicate on the "title" field.
  254. func TitleNotIn(vs ...string) predicate.Employee {
  255. return predicate.Employee(sql.FieldNotIn(FieldTitle, vs...))
  256. }
  257. // TitleGT applies the GT predicate on the "title" field.
  258. func TitleGT(v string) predicate.Employee {
  259. return predicate.Employee(sql.FieldGT(FieldTitle, v))
  260. }
  261. // TitleGTE applies the GTE predicate on the "title" field.
  262. func TitleGTE(v string) predicate.Employee {
  263. return predicate.Employee(sql.FieldGTE(FieldTitle, v))
  264. }
  265. // TitleLT applies the LT predicate on the "title" field.
  266. func TitleLT(v string) predicate.Employee {
  267. return predicate.Employee(sql.FieldLT(FieldTitle, v))
  268. }
  269. // TitleLTE applies the LTE predicate on the "title" field.
  270. func TitleLTE(v string) predicate.Employee {
  271. return predicate.Employee(sql.FieldLTE(FieldTitle, v))
  272. }
  273. // TitleContains applies the Contains predicate on the "title" field.
  274. func TitleContains(v string) predicate.Employee {
  275. return predicate.Employee(sql.FieldContains(FieldTitle, v))
  276. }
  277. // TitleHasPrefix applies the HasPrefix predicate on the "title" field.
  278. func TitleHasPrefix(v string) predicate.Employee {
  279. return predicate.Employee(sql.FieldHasPrefix(FieldTitle, v))
  280. }
  281. // TitleHasSuffix applies the HasSuffix predicate on the "title" field.
  282. func TitleHasSuffix(v string) predicate.Employee {
  283. return predicate.Employee(sql.FieldHasSuffix(FieldTitle, v))
  284. }
  285. // TitleEqualFold applies the EqualFold predicate on the "title" field.
  286. func TitleEqualFold(v string) predicate.Employee {
  287. return predicate.Employee(sql.FieldEqualFold(FieldTitle, v))
  288. }
  289. // TitleContainsFold applies the ContainsFold predicate on the "title" field.
  290. func TitleContainsFold(v string) predicate.Employee {
  291. return predicate.Employee(sql.FieldContainsFold(FieldTitle, v))
  292. }
  293. // AvatarEQ applies the EQ predicate on the "avatar" field.
  294. func AvatarEQ(v string) predicate.Employee {
  295. return predicate.Employee(sql.FieldEQ(FieldAvatar, v))
  296. }
  297. // AvatarNEQ applies the NEQ predicate on the "avatar" field.
  298. func AvatarNEQ(v string) predicate.Employee {
  299. return predicate.Employee(sql.FieldNEQ(FieldAvatar, v))
  300. }
  301. // AvatarIn applies the In predicate on the "avatar" field.
  302. func AvatarIn(vs ...string) predicate.Employee {
  303. return predicate.Employee(sql.FieldIn(FieldAvatar, vs...))
  304. }
  305. // AvatarNotIn applies the NotIn predicate on the "avatar" field.
  306. func AvatarNotIn(vs ...string) predicate.Employee {
  307. return predicate.Employee(sql.FieldNotIn(FieldAvatar, vs...))
  308. }
  309. // AvatarGT applies the GT predicate on the "avatar" field.
  310. func AvatarGT(v string) predicate.Employee {
  311. return predicate.Employee(sql.FieldGT(FieldAvatar, v))
  312. }
  313. // AvatarGTE applies the GTE predicate on the "avatar" field.
  314. func AvatarGTE(v string) predicate.Employee {
  315. return predicate.Employee(sql.FieldGTE(FieldAvatar, v))
  316. }
  317. // AvatarLT applies the LT predicate on the "avatar" field.
  318. func AvatarLT(v string) predicate.Employee {
  319. return predicate.Employee(sql.FieldLT(FieldAvatar, v))
  320. }
  321. // AvatarLTE applies the LTE predicate on the "avatar" field.
  322. func AvatarLTE(v string) predicate.Employee {
  323. return predicate.Employee(sql.FieldLTE(FieldAvatar, v))
  324. }
  325. // AvatarContains applies the Contains predicate on the "avatar" field.
  326. func AvatarContains(v string) predicate.Employee {
  327. return predicate.Employee(sql.FieldContains(FieldAvatar, v))
  328. }
  329. // AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field.
  330. func AvatarHasPrefix(v string) predicate.Employee {
  331. return predicate.Employee(sql.FieldHasPrefix(FieldAvatar, v))
  332. }
  333. // AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field.
  334. func AvatarHasSuffix(v string) predicate.Employee {
  335. return predicate.Employee(sql.FieldHasSuffix(FieldAvatar, v))
  336. }
  337. // AvatarEqualFold applies the EqualFold predicate on the "avatar" field.
  338. func AvatarEqualFold(v string) predicate.Employee {
  339. return predicate.Employee(sql.FieldEqualFold(FieldAvatar, v))
  340. }
  341. // AvatarContainsFold applies the ContainsFold predicate on the "avatar" field.
  342. func AvatarContainsFold(v string) predicate.Employee {
  343. return predicate.Employee(sql.FieldContainsFold(FieldAvatar, v))
  344. }
  345. // TagsEQ applies the EQ predicate on the "tags" field.
  346. func TagsEQ(v string) predicate.Employee {
  347. return predicate.Employee(sql.FieldEQ(FieldTags, v))
  348. }
  349. // TagsNEQ applies the NEQ predicate on the "tags" field.
  350. func TagsNEQ(v string) predicate.Employee {
  351. return predicate.Employee(sql.FieldNEQ(FieldTags, v))
  352. }
  353. // TagsIn applies the In predicate on the "tags" field.
  354. func TagsIn(vs ...string) predicate.Employee {
  355. return predicate.Employee(sql.FieldIn(FieldTags, vs...))
  356. }
  357. // TagsNotIn applies the NotIn predicate on the "tags" field.
  358. func TagsNotIn(vs ...string) predicate.Employee {
  359. return predicate.Employee(sql.FieldNotIn(FieldTags, vs...))
  360. }
  361. // TagsGT applies the GT predicate on the "tags" field.
  362. func TagsGT(v string) predicate.Employee {
  363. return predicate.Employee(sql.FieldGT(FieldTags, v))
  364. }
  365. // TagsGTE applies the GTE predicate on the "tags" field.
  366. func TagsGTE(v string) predicate.Employee {
  367. return predicate.Employee(sql.FieldGTE(FieldTags, v))
  368. }
  369. // TagsLT applies the LT predicate on the "tags" field.
  370. func TagsLT(v string) predicate.Employee {
  371. return predicate.Employee(sql.FieldLT(FieldTags, v))
  372. }
  373. // TagsLTE applies the LTE predicate on the "tags" field.
  374. func TagsLTE(v string) predicate.Employee {
  375. return predicate.Employee(sql.FieldLTE(FieldTags, v))
  376. }
  377. // TagsContains applies the Contains predicate on the "tags" field.
  378. func TagsContains(v string) predicate.Employee {
  379. return predicate.Employee(sql.FieldContains(FieldTags, v))
  380. }
  381. // TagsHasPrefix applies the HasPrefix predicate on the "tags" field.
  382. func TagsHasPrefix(v string) predicate.Employee {
  383. return predicate.Employee(sql.FieldHasPrefix(FieldTags, v))
  384. }
  385. // TagsHasSuffix applies the HasSuffix predicate on the "tags" field.
  386. func TagsHasSuffix(v string) predicate.Employee {
  387. return predicate.Employee(sql.FieldHasSuffix(FieldTags, v))
  388. }
  389. // TagsEqualFold applies the EqualFold predicate on the "tags" field.
  390. func TagsEqualFold(v string) predicate.Employee {
  391. return predicate.Employee(sql.FieldEqualFold(FieldTags, v))
  392. }
  393. // TagsContainsFold applies the ContainsFold predicate on the "tags" field.
  394. func TagsContainsFold(v string) predicate.Employee {
  395. return predicate.Employee(sql.FieldContainsFold(FieldTags, v))
  396. }
  397. // HireCountEQ applies the EQ predicate on the "hire_count" field.
  398. func HireCountEQ(v int) predicate.Employee {
  399. return predicate.Employee(sql.FieldEQ(FieldHireCount, v))
  400. }
  401. // HireCountNEQ applies the NEQ predicate on the "hire_count" field.
  402. func HireCountNEQ(v int) predicate.Employee {
  403. return predicate.Employee(sql.FieldNEQ(FieldHireCount, v))
  404. }
  405. // HireCountIn applies the In predicate on the "hire_count" field.
  406. func HireCountIn(vs ...int) predicate.Employee {
  407. return predicate.Employee(sql.FieldIn(FieldHireCount, vs...))
  408. }
  409. // HireCountNotIn applies the NotIn predicate on the "hire_count" field.
  410. func HireCountNotIn(vs ...int) predicate.Employee {
  411. return predicate.Employee(sql.FieldNotIn(FieldHireCount, vs...))
  412. }
  413. // HireCountGT applies the GT predicate on the "hire_count" field.
  414. func HireCountGT(v int) predicate.Employee {
  415. return predicate.Employee(sql.FieldGT(FieldHireCount, v))
  416. }
  417. // HireCountGTE applies the GTE predicate on the "hire_count" field.
  418. func HireCountGTE(v int) predicate.Employee {
  419. return predicate.Employee(sql.FieldGTE(FieldHireCount, v))
  420. }
  421. // HireCountLT applies the LT predicate on the "hire_count" field.
  422. func HireCountLT(v int) predicate.Employee {
  423. return predicate.Employee(sql.FieldLT(FieldHireCount, v))
  424. }
  425. // HireCountLTE applies the LTE predicate on the "hire_count" field.
  426. func HireCountLTE(v int) predicate.Employee {
  427. return predicate.Employee(sql.FieldLTE(FieldHireCount, v))
  428. }
  429. // ServiceCountEQ applies the EQ predicate on the "service_count" field.
  430. func ServiceCountEQ(v int) predicate.Employee {
  431. return predicate.Employee(sql.FieldEQ(FieldServiceCount, v))
  432. }
  433. // ServiceCountNEQ applies the NEQ predicate on the "service_count" field.
  434. func ServiceCountNEQ(v int) predicate.Employee {
  435. return predicate.Employee(sql.FieldNEQ(FieldServiceCount, v))
  436. }
  437. // ServiceCountIn applies the In predicate on the "service_count" field.
  438. func ServiceCountIn(vs ...int) predicate.Employee {
  439. return predicate.Employee(sql.FieldIn(FieldServiceCount, vs...))
  440. }
  441. // ServiceCountNotIn applies the NotIn predicate on the "service_count" field.
  442. func ServiceCountNotIn(vs ...int) predicate.Employee {
  443. return predicate.Employee(sql.FieldNotIn(FieldServiceCount, vs...))
  444. }
  445. // ServiceCountGT applies the GT predicate on the "service_count" field.
  446. func ServiceCountGT(v int) predicate.Employee {
  447. return predicate.Employee(sql.FieldGT(FieldServiceCount, v))
  448. }
  449. // ServiceCountGTE applies the GTE predicate on the "service_count" field.
  450. func ServiceCountGTE(v int) predicate.Employee {
  451. return predicate.Employee(sql.FieldGTE(FieldServiceCount, v))
  452. }
  453. // ServiceCountLT applies the LT predicate on the "service_count" field.
  454. func ServiceCountLT(v int) predicate.Employee {
  455. return predicate.Employee(sql.FieldLT(FieldServiceCount, v))
  456. }
  457. // ServiceCountLTE applies the LTE predicate on the "service_count" field.
  458. func ServiceCountLTE(v int) predicate.Employee {
  459. return predicate.Employee(sql.FieldLTE(FieldServiceCount, v))
  460. }
  461. // AchievementCountEQ applies the EQ predicate on the "achievement_count" field.
  462. func AchievementCountEQ(v int) predicate.Employee {
  463. return predicate.Employee(sql.FieldEQ(FieldAchievementCount, v))
  464. }
  465. // AchievementCountNEQ applies the NEQ predicate on the "achievement_count" field.
  466. func AchievementCountNEQ(v int) predicate.Employee {
  467. return predicate.Employee(sql.FieldNEQ(FieldAchievementCount, v))
  468. }
  469. // AchievementCountIn applies the In predicate on the "achievement_count" field.
  470. func AchievementCountIn(vs ...int) predicate.Employee {
  471. return predicate.Employee(sql.FieldIn(FieldAchievementCount, vs...))
  472. }
  473. // AchievementCountNotIn applies the NotIn predicate on the "achievement_count" field.
  474. func AchievementCountNotIn(vs ...int) predicate.Employee {
  475. return predicate.Employee(sql.FieldNotIn(FieldAchievementCount, vs...))
  476. }
  477. // AchievementCountGT applies the GT predicate on the "achievement_count" field.
  478. func AchievementCountGT(v int) predicate.Employee {
  479. return predicate.Employee(sql.FieldGT(FieldAchievementCount, v))
  480. }
  481. // AchievementCountGTE applies the GTE predicate on the "achievement_count" field.
  482. func AchievementCountGTE(v int) predicate.Employee {
  483. return predicate.Employee(sql.FieldGTE(FieldAchievementCount, v))
  484. }
  485. // AchievementCountLT applies the LT predicate on the "achievement_count" field.
  486. func AchievementCountLT(v int) predicate.Employee {
  487. return predicate.Employee(sql.FieldLT(FieldAchievementCount, v))
  488. }
  489. // AchievementCountLTE applies the LTE predicate on the "achievement_count" field.
  490. func AchievementCountLTE(v int) predicate.Employee {
  491. return predicate.Employee(sql.FieldLTE(FieldAchievementCount, v))
  492. }
  493. // IntroEQ applies the EQ predicate on the "intro" field.
  494. func IntroEQ(v string) predicate.Employee {
  495. return predicate.Employee(sql.FieldEQ(FieldIntro, v))
  496. }
  497. // IntroNEQ applies the NEQ predicate on the "intro" field.
  498. func IntroNEQ(v string) predicate.Employee {
  499. return predicate.Employee(sql.FieldNEQ(FieldIntro, v))
  500. }
  501. // IntroIn applies the In predicate on the "intro" field.
  502. func IntroIn(vs ...string) predicate.Employee {
  503. return predicate.Employee(sql.FieldIn(FieldIntro, vs...))
  504. }
  505. // IntroNotIn applies the NotIn predicate on the "intro" field.
  506. func IntroNotIn(vs ...string) predicate.Employee {
  507. return predicate.Employee(sql.FieldNotIn(FieldIntro, vs...))
  508. }
  509. // IntroGT applies the GT predicate on the "intro" field.
  510. func IntroGT(v string) predicate.Employee {
  511. return predicate.Employee(sql.FieldGT(FieldIntro, v))
  512. }
  513. // IntroGTE applies the GTE predicate on the "intro" field.
  514. func IntroGTE(v string) predicate.Employee {
  515. return predicate.Employee(sql.FieldGTE(FieldIntro, v))
  516. }
  517. // IntroLT applies the LT predicate on the "intro" field.
  518. func IntroLT(v string) predicate.Employee {
  519. return predicate.Employee(sql.FieldLT(FieldIntro, v))
  520. }
  521. // IntroLTE applies the LTE predicate on the "intro" field.
  522. func IntroLTE(v string) predicate.Employee {
  523. return predicate.Employee(sql.FieldLTE(FieldIntro, v))
  524. }
  525. // IntroContains applies the Contains predicate on the "intro" field.
  526. func IntroContains(v string) predicate.Employee {
  527. return predicate.Employee(sql.FieldContains(FieldIntro, v))
  528. }
  529. // IntroHasPrefix applies the HasPrefix predicate on the "intro" field.
  530. func IntroHasPrefix(v string) predicate.Employee {
  531. return predicate.Employee(sql.FieldHasPrefix(FieldIntro, v))
  532. }
  533. // IntroHasSuffix applies the HasSuffix predicate on the "intro" field.
  534. func IntroHasSuffix(v string) predicate.Employee {
  535. return predicate.Employee(sql.FieldHasSuffix(FieldIntro, v))
  536. }
  537. // IntroEqualFold applies the EqualFold predicate on the "intro" field.
  538. func IntroEqualFold(v string) predicate.Employee {
  539. return predicate.Employee(sql.FieldEqualFold(FieldIntro, v))
  540. }
  541. // IntroContainsFold applies the ContainsFold predicate on the "intro" field.
  542. func IntroContainsFold(v string) predicate.Employee {
  543. return predicate.Employee(sql.FieldContainsFold(FieldIntro, v))
  544. }
  545. // EstimateEQ applies the EQ predicate on the "estimate" field.
  546. func EstimateEQ(v string) predicate.Employee {
  547. return predicate.Employee(sql.FieldEQ(FieldEstimate, v))
  548. }
  549. // EstimateNEQ applies the NEQ predicate on the "estimate" field.
  550. func EstimateNEQ(v string) predicate.Employee {
  551. return predicate.Employee(sql.FieldNEQ(FieldEstimate, v))
  552. }
  553. // EstimateIn applies the In predicate on the "estimate" field.
  554. func EstimateIn(vs ...string) predicate.Employee {
  555. return predicate.Employee(sql.FieldIn(FieldEstimate, vs...))
  556. }
  557. // EstimateNotIn applies the NotIn predicate on the "estimate" field.
  558. func EstimateNotIn(vs ...string) predicate.Employee {
  559. return predicate.Employee(sql.FieldNotIn(FieldEstimate, vs...))
  560. }
  561. // EstimateGT applies the GT predicate on the "estimate" field.
  562. func EstimateGT(v string) predicate.Employee {
  563. return predicate.Employee(sql.FieldGT(FieldEstimate, v))
  564. }
  565. // EstimateGTE applies the GTE predicate on the "estimate" field.
  566. func EstimateGTE(v string) predicate.Employee {
  567. return predicate.Employee(sql.FieldGTE(FieldEstimate, v))
  568. }
  569. // EstimateLT applies the LT predicate on the "estimate" field.
  570. func EstimateLT(v string) predicate.Employee {
  571. return predicate.Employee(sql.FieldLT(FieldEstimate, v))
  572. }
  573. // EstimateLTE applies the LTE predicate on the "estimate" field.
  574. func EstimateLTE(v string) predicate.Employee {
  575. return predicate.Employee(sql.FieldLTE(FieldEstimate, v))
  576. }
  577. // EstimateContains applies the Contains predicate on the "estimate" field.
  578. func EstimateContains(v string) predicate.Employee {
  579. return predicate.Employee(sql.FieldContains(FieldEstimate, v))
  580. }
  581. // EstimateHasPrefix applies the HasPrefix predicate on the "estimate" field.
  582. func EstimateHasPrefix(v string) predicate.Employee {
  583. return predicate.Employee(sql.FieldHasPrefix(FieldEstimate, v))
  584. }
  585. // EstimateHasSuffix applies the HasSuffix predicate on the "estimate" field.
  586. func EstimateHasSuffix(v string) predicate.Employee {
  587. return predicate.Employee(sql.FieldHasSuffix(FieldEstimate, v))
  588. }
  589. // EstimateEqualFold applies the EqualFold predicate on the "estimate" field.
  590. func EstimateEqualFold(v string) predicate.Employee {
  591. return predicate.Employee(sql.FieldEqualFold(FieldEstimate, v))
  592. }
  593. // EstimateContainsFold applies the ContainsFold predicate on the "estimate" field.
  594. func EstimateContainsFold(v string) predicate.Employee {
  595. return predicate.Employee(sql.FieldContainsFold(FieldEstimate, v))
  596. }
  597. // SkillEQ applies the EQ predicate on the "skill" field.
  598. func SkillEQ(v string) predicate.Employee {
  599. return predicate.Employee(sql.FieldEQ(FieldSkill, v))
  600. }
  601. // SkillNEQ applies the NEQ predicate on the "skill" field.
  602. func SkillNEQ(v string) predicate.Employee {
  603. return predicate.Employee(sql.FieldNEQ(FieldSkill, v))
  604. }
  605. // SkillIn applies the In predicate on the "skill" field.
  606. func SkillIn(vs ...string) predicate.Employee {
  607. return predicate.Employee(sql.FieldIn(FieldSkill, vs...))
  608. }
  609. // SkillNotIn applies the NotIn predicate on the "skill" field.
  610. func SkillNotIn(vs ...string) predicate.Employee {
  611. return predicate.Employee(sql.FieldNotIn(FieldSkill, vs...))
  612. }
  613. // SkillGT applies the GT predicate on the "skill" field.
  614. func SkillGT(v string) predicate.Employee {
  615. return predicate.Employee(sql.FieldGT(FieldSkill, v))
  616. }
  617. // SkillGTE applies the GTE predicate on the "skill" field.
  618. func SkillGTE(v string) predicate.Employee {
  619. return predicate.Employee(sql.FieldGTE(FieldSkill, v))
  620. }
  621. // SkillLT applies the LT predicate on the "skill" field.
  622. func SkillLT(v string) predicate.Employee {
  623. return predicate.Employee(sql.FieldLT(FieldSkill, v))
  624. }
  625. // SkillLTE applies the LTE predicate on the "skill" field.
  626. func SkillLTE(v string) predicate.Employee {
  627. return predicate.Employee(sql.FieldLTE(FieldSkill, v))
  628. }
  629. // SkillContains applies the Contains predicate on the "skill" field.
  630. func SkillContains(v string) predicate.Employee {
  631. return predicate.Employee(sql.FieldContains(FieldSkill, v))
  632. }
  633. // SkillHasPrefix applies the HasPrefix predicate on the "skill" field.
  634. func SkillHasPrefix(v string) predicate.Employee {
  635. return predicate.Employee(sql.FieldHasPrefix(FieldSkill, v))
  636. }
  637. // SkillHasSuffix applies the HasSuffix predicate on the "skill" field.
  638. func SkillHasSuffix(v string) predicate.Employee {
  639. return predicate.Employee(sql.FieldHasSuffix(FieldSkill, v))
  640. }
  641. // SkillEqualFold applies the EqualFold predicate on the "skill" field.
  642. func SkillEqualFold(v string) predicate.Employee {
  643. return predicate.Employee(sql.FieldEqualFold(FieldSkill, v))
  644. }
  645. // SkillContainsFold applies the ContainsFold predicate on the "skill" field.
  646. func SkillContainsFold(v string) predicate.Employee {
  647. return predicate.Employee(sql.FieldContainsFold(FieldSkill, v))
  648. }
  649. // AbilityTypeEQ applies the EQ predicate on the "ability_type" field.
  650. func AbilityTypeEQ(v string) predicate.Employee {
  651. return predicate.Employee(sql.FieldEQ(FieldAbilityType, v))
  652. }
  653. // AbilityTypeNEQ applies the NEQ predicate on the "ability_type" field.
  654. func AbilityTypeNEQ(v string) predicate.Employee {
  655. return predicate.Employee(sql.FieldNEQ(FieldAbilityType, v))
  656. }
  657. // AbilityTypeIn applies the In predicate on the "ability_type" field.
  658. func AbilityTypeIn(vs ...string) predicate.Employee {
  659. return predicate.Employee(sql.FieldIn(FieldAbilityType, vs...))
  660. }
  661. // AbilityTypeNotIn applies the NotIn predicate on the "ability_type" field.
  662. func AbilityTypeNotIn(vs ...string) predicate.Employee {
  663. return predicate.Employee(sql.FieldNotIn(FieldAbilityType, vs...))
  664. }
  665. // AbilityTypeGT applies the GT predicate on the "ability_type" field.
  666. func AbilityTypeGT(v string) predicate.Employee {
  667. return predicate.Employee(sql.FieldGT(FieldAbilityType, v))
  668. }
  669. // AbilityTypeGTE applies the GTE predicate on the "ability_type" field.
  670. func AbilityTypeGTE(v string) predicate.Employee {
  671. return predicate.Employee(sql.FieldGTE(FieldAbilityType, v))
  672. }
  673. // AbilityTypeLT applies the LT predicate on the "ability_type" field.
  674. func AbilityTypeLT(v string) predicate.Employee {
  675. return predicate.Employee(sql.FieldLT(FieldAbilityType, v))
  676. }
  677. // AbilityTypeLTE applies the LTE predicate on the "ability_type" field.
  678. func AbilityTypeLTE(v string) predicate.Employee {
  679. return predicate.Employee(sql.FieldLTE(FieldAbilityType, v))
  680. }
  681. // AbilityTypeContains applies the Contains predicate on the "ability_type" field.
  682. func AbilityTypeContains(v string) predicate.Employee {
  683. return predicate.Employee(sql.FieldContains(FieldAbilityType, v))
  684. }
  685. // AbilityTypeHasPrefix applies the HasPrefix predicate on the "ability_type" field.
  686. func AbilityTypeHasPrefix(v string) predicate.Employee {
  687. return predicate.Employee(sql.FieldHasPrefix(FieldAbilityType, v))
  688. }
  689. // AbilityTypeHasSuffix applies the HasSuffix predicate on the "ability_type" field.
  690. func AbilityTypeHasSuffix(v string) predicate.Employee {
  691. return predicate.Employee(sql.FieldHasSuffix(FieldAbilityType, v))
  692. }
  693. // AbilityTypeEqualFold applies the EqualFold predicate on the "ability_type" field.
  694. func AbilityTypeEqualFold(v string) predicate.Employee {
  695. return predicate.Employee(sql.FieldEqualFold(FieldAbilityType, v))
  696. }
  697. // AbilityTypeContainsFold applies the ContainsFold predicate on the "ability_type" field.
  698. func AbilityTypeContainsFold(v string) predicate.Employee {
  699. return predicate.Employee(sql.FieldContainsFold(FieldAbilityType, v))
  700. }
  701. // SceneEQ applies the EQ predicate on the "scene" field.
  702. func SceneEQ(v string) predicate.Employee {
  703. return predicate.Employee(sql.FieldEQ(FieldScene, v))
  704. }
  705. // SceneNEQ applies the NEQ predicate on the "scene" field.
  706. func SceneNEQ(v string) predicate.Employee {
  707. return predicate.Employee(sql.FieldNEQ(FieldScene, v))
  708. }
  709. // SceneIn applies the In predicate on the "scene" field.
  710. func SceneIn(vs ...string) predicate.Employee {
  711. return predicate.Employee(sql.FieldIn(FieldScene, vs...))
  712. }
  713. // SceneNotIn applies the NotIn predicate on the "scene" field.
  714. func SceneNotIn(vs ...string) predicate.Employee {
  715. return predicate.Employee(sql.FieldNotIn(FieldScene, vs...))
  716. }
  717. // SceneGT applies the GT predicate on the "scene" field.
  718. func SceneGT(v string) predicate.Employee {
  719. return predicate.Employee(sql.FieldGT(FieldScene, v))
  720. }
  721. // SceneGTE applies the GTE predicate on the "scene" field.
  722. func SceneGTE(v string) predicate.Employee {
  723. return predicate.Employee(sql.FieldGTE(FieldScene, v))
  724. }
  725. // SceneLT applies the LT predicate on the "scene" field.
  726. func SceneLT(v string) predicate.Employee {
  727. return predicate.Employee(sql.FieldLT(FieldScene, v))
  728. }
  729. // SceneLTE applies the LTE predicate on the "scene" field.
  730. func SceneLTE(v string) predicate.Employee {
  731. return predicate.Employee(sql.FieldLTE(FieldScene, v))
  732. }
  733. // SceneContains applies the Contains predicate on the "scene" field.
  734. func SceneContains(v string) predicate.Employee {
  735. return predicate.Employee(sql.FieldContains(FieldScene, v))
  736. }
  737. // SceneHasPrefix applies the HasPrefix predicate on the "scene" field.
  738. func SceneHasPrefix(v string) predicate.Employee {
  739. return predicate.Employee(sql.FieldHasPrefix(FieldScene, v))
  740. }
  741. // SceneHasSuffix applies the HasSuffix predicate on the "scene" field.
  742. func SceneHasSuffix(v string) predicate.Employee {
  743. return predicate.Employee(sql.FieldHasSuffix(FieldScene, v))
  744. }
  745. // SceneEqualFold applies the EqualFold predicate on the "scene" field.
  746. func SceneEqualFold(v string) predicate.Employee {
  747. return predicate.Employee(sql.FieldEqualFold(FieldScene, v))
  748. }
  749. // SceneContainsFold applies the ContainsFold predicate on the "scene" field.
  750. func SceneContainsFold(v string) predicate.Employee {
  751. return predicate.Employee(sql.FieldContainsFold(FieldScene, v))
  752. }
  753. // SwitchInEQ applies the EQ predicate on the "switch_in" field.
  754. func SwitchInEQ(v string) predicate.Employee {
  755. return predicate.Employee(sql.FieldEQ(FieldSwitchIn, v))
  756. }
  757. // SwitchInNEQ applies the NEQ predicate on the "switch_in" field.
  758. func SwitchInNEQ(v string) predicate.Employee {
  759. return predicate.Employee(sql.FieldNEQ(FieldSwitchIn, v))
  760. }
  761. // SwitchInIn applies the In predicate on the "switch_in" field.
  762. func SwitchInIn(vs ...string) predicate.Employee {
  763. return predicate.Employee(sql.FieldIn(FieldSwitchIn, vs...))
  764. }
  765. // SwitchInNotIn applies the NotIn predicate on the "switch_in" field.
  766. func SwitchInNotIn(vs ...string) predicate.Employee {
  767. return predicate.Employee(sql.FieldNotIn(FieldSwitchIn, vs...))
  768. }
  769. // SwitchInGT applies the GT predicate on the "switch_in" field.
  770. func SwitchInGT(v string) predicate.Employee {
  771. return predicate.Employee(sql.FieldGT(FieldSwitchIn, v))
  772. }
  773. // SwitchInGTE applies the GTE predicate on the "switch_in" field.
  774. func SwitchInGTE(v string) predicate.Employee {
  775. return predicate.Employee(sql.FieldGTE(FieldSwitchIn, v))
  776. }
  777. // SwitchInLT applies the LT predicate on the "switch_in" field.
  778. func SwitchInLT(v string) predicate.Employee {
  779. return predicate.Employee(sql.FieldLT(FieldSwitchIn, v))
  780. }
  781. // SwitchInLTE applies the LTE predicate on the "switch_in" field.
  782. func SwitchInLTE(v string) predicate.Employee {
  783. return predicate.Employee(sql.FieldLTE(FieldSwitchIn, v))
  784. }
  785. // SwitchInContains applies the Contains predicate on the "switch_in" field.
  786. func SwitchInContains(v string) predicate.Employee {
  787. return predicate.Employee(sql.FieldContains(FieldSwitchIn, v))
  788. }
  789. // SwitchInHasPrefix applies the HasPrefix predicate on the "switch_in" field.
  790. func SwitchInHasPrefix(v string) predicate.Employee {
  791. return predicate.Employee(sql.FieldHasPrefix(FieldSwitchIn, v))
  792. }
  793. // SwitchInHasSuffix applies the HasSuffix predicate on the "switch_in" field.
  794. func SwitchInHasSuffix(v string) predicate.Employee {
  795. return predicate.Employee(sql.FieldHasSuffix(FieldSwitchIn, v))
  796. }
  797. // SwitchInEqualFold applies the EqualFold predicate on the "switch_in" field.
  798. func SwitchInEqualFold(v string) predicate.Employee {
  799. return predicate.Employee(sql.FieldEqualFold(FieldSwitchIn, v))
  800. }
  801. // SwitchInContainsFold applies the ContainsFold predicate on the "switch_in" field.
  802. func SwitchInContainsFold(v string) predicate.Employee {
  803. return predicate.Employee(sql.FieldContainsFold(FieldSwitchIn, v))
  804. }
  805. // VideoURLEQ applies the EQ predicate on the "video_url" field.
  806. func VideoURLEQ(v string) predicate.Employee {
  807. return predicate.Employee(sql.FieldEQ(FieldVideoURL, v))
  808. }
  809. // VideoURLNEQ applies the NEQ predicate on the "video_url" field.
  810. func VideoURLNEQ(v string) predicate.Employee {
  811. return predicate.Employee(sql.FieldNEQ(FieldVideoURL, v))
  812. }
  813. // VideoURLIn applies the In predicate on the "video_url" field.
  814. func VideoURLIn(vs ...string) predicate.Employee {
  815. return predicate.Employee(sql.FieldIn(FieldVideoURL, vs...))
  816. }
  817. // VideoURLNotIn applies the NotIn predicate on the "video_url" field.
  818. func VideoURLNotIn(vs ...string) predicate.Employee {
  819. return predicate.Employee(sql.FieldNotIn(FieldVideoURL, vs...))
  820. }
  821. // VideoURLGT applies the GT predicate on the "video_url" field.
  822. func VideoURLGT(v string) predicate.Employee {
  823. return predicate.Employee(sql.FieldGT(FieldVideoURL, v))
  824. }
  825. // VideoURLGTE applies the GTE predicate on the "video_url" field.
  826. func VideoURLGTE(v string) predicate.Employee {
  827. return predicate.Employee(sql.FieldGTE(FieldVideoURL, v))
  828. }
  829. // VideoURLLT applies the LT predicate on the "video_url" field.
  830. func VideoURLLT(v string) predicate.Employee {
  831. return predicate.Employee(sql.FieldLT(FieldVideoURL, v))
  832. }
  833. // VideoURLLTE applies the LTE predicate on the "video_url" field.
  834. func VideoURLLTE(v string) predicate.Employee {
  835. return predicate.Employee(sql.FieldLTE(FieldVideoURL, v))
  836. }
  837. // VideoURLContains applies the Contains predicate on the "video_url" field.
  838. func VideoURLContains(v string) predicate.Employee {
  839. return predicate.Employee(sql.FieldContains(FieldVideoURL, v))
  840. }
  841. // VideoURLHasPrefix applies the HasPrefix predicate on the "video_url" field.
  842. func VideoURLHasPrefix(v string) predicate.Employee {
  843. return predicate.Employee(sql.FieldHasPrefix(FieldVideoURL, v))
  844. }
  845. // VideoURLHasSuffix applies the HasSuffix predicate on the "video_url" field.
  846. func VideoURLHasSuffix(v string) predicate.Employee {
  847. return predicate.Employee(sql.FieldHasSuffix(FieldVideoURL, v))
  848. }
  849. // VideoURLEqualFold applies the EqualFold predicate on the "video_url" field.
  850. func VideoURLEqualFold(v string) predicate.Employee {
  851. return predicate.Employee(sql.FieldEqualFold(FieldVideoURL, v))
  852. }
  853. // VideoURLContainsFold applies the ContainsFold predicate on the "video_url" field.
  854. func VideoURLContainsFold(v string) predicate.Employee {
  855. return predicate.Employee(sql.FieldContainsFold(FieldVideoURL, v))
  856. }
  857. // OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
  858. func OrganizationIDEQ(v uint64) predicate.Employee {
  859. return predicate.Employee(sql.FieldEQ(FieldOrganizationID, v))
  860. }
  861. // OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
  862. func OrganizationIDNEQ(v uint64) predicate.Employee {
  863. return predicate.Employee(sql.FieldNEQ(FieldOrganizationID, v))
  864. }
  865. // OrganizationIDIn applies the In predicate on the "organization_id" field.
  866. func OrganizationIDIn(vs ...uint64) predicate.Employee {
  867. return predicate.Employee(sql.FieldIn(FieldOrganizationID, vs...))
  868. }
  869. // OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
  870. func OrganizationIDNotIn(vs ...uint64) predicate.Employee {
  871. return predicate.Employee(sql.FieldNotIn(FieldOrganizationID, vs...))
  872. }
  873. // OrganizationIDGT applies the GT predicate on the "organization_id" field.
  874. func OrganizationIDGT(v uint64) predicate.Employee {
  875. return predicate.Employee(sql.FieldGT(FieldOrganizationID, v))
  876. }
  877. // OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
  878. func OrganizationIDGTE(v uint64) predicate.Employee {
  879. return predicate.Employee(sql.FieldGTE(FieldOrganizationID, v))
  880. }
  881. // OrganizationIDLT applies the LT predicate on the "organization_id" field.
  882. func OrganizationIDLT(v uint64) predicate.Employee {
  883. return predicate.Employee(sql.FieldLT(FieldOrganizationID, v))
  884. }
  885. // OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
  886. func OrganizationIDLTE(v uint64) predicate.Employee {
  887. return predicate.Employee(sql.FieldLTE(FieldOrganizationID, v))
  888. }
  889. // CategoryIDEQ applies the EQ predicate on the "category_id" field.
  890. func CategoryIDEQ(v uint64) predicate.Employee {
  891. return predicate.Employee(sql.FieldEQ(FieldCategoryID, v))
  892. }
  893. // CategoryIDNEQ applies the NEQ predicate on the "category_id" field.
  894. func CategoryIDNEQ(v uint64) predicate.Employee {
  895. return predicate.Employee(sql.FieldNEQ(FieldCategoryID, v))
  896. }
  897. // CategoryIDIn applies the In predicate on the "category_id" field.
  898. func CategoryIDIn(vs ...uint64) predicate.Employee {
  899. return predicate.Employee(sql.FieldIn(FieldCategoryID, vs...))
  900. }
  901. // CategoryIDNotIn applies the NotIn predicate on the "category_id" field.
  902. func CategoryIDNotIn(vs ...uint64) predicate.Employee {
  903. return predicate.Employee(sql.FieldNotIn(FieldCategoryID, vs...))
  904. }
  905. // CategoryIDGT applies the GT predicate on the "category_id" field.
  906. func CategoryIDGT(v uint64) predicate.Employee {
  907. return predicate.Employee(sql.FieldGT(FieldCategoryID, v))
  908. }
  909. // CategoryIDGTE applies the GTE predicate on the "category_id" field.
  910. func CategoryIDGTE(v uint64) predicate.Employee {
  911. return predicate.Employee(sql.FieldGTE(FieldCategoryID, v))
  912. }
  913. // CategoryIDLT applies the LT predicate on the "category_id" field.
  914. func CategoryIDLT(v uint64) predicate.Employee {
  915. return predicate.Employee(sql.FieldLT(FieldCategoryID, v))
  916. }
  917. // CategoryIDLTE applies the LTE predicate on the "category_id" field.
  918. func CategoryIDLTE(v uint64) predicate.Employee {
  919. return predicate.Employee(sql.FieldLTE(FieldCategoryID, v))
  920. }
  921. // APIBaseEQ applies the EQ predicate on the "api_base" field.
  922. func APIBaseEQ(v string) predicate.Employee {
  923. return predicate.Employee(sql.FieldEQ(FieldAPIBase, v))
  924. }
  925. // APIBaseNEQ applies the NEQ predicate on the "api_base" field.
  926. func APIBaseNEQ(v string) predicate.Employee {
  927. return predicate.Employee(sql.FieldNEQ(FieldAPIBase, v))
  928. }
  929. // APIBaseIn applies the In predicate on the "api_base" field.
  930. func APIBaseIn(vs ...string) predicate.Employee {
  931. return predicate.Employee(sql.FieldIn(FieldAPIBase, vs...))
  932. }
  933. // APIBaseNotIn applies the NotIn predicate on the "api_base" field.
  934. func APIBaseNotIn(vs ...string) predicate.Employee {
  935. return predicate.Employee(sql.FieldNotIn(FieldAPIBase, vs...))
  936. }
  937. // APIBaseGT applies the GT predicate on the "api_base" field.
  938. func APIBaseGT(v string) predicate.Employee {
  939. return predicate.Employee(sql.FieldGT(FieldAPIBase, v))
  940. }
  941. // APIBaseGTE applies the GTE predicate on the "api_base" field.
  942. func APIBaseGTE(v string) predicate.Employee {
  943. return predicate.Employee(sql.FieldGTE(FieldAPIBase, v))
  944. }
  945. // APIBaseLT applies the LT predicate on the "api_base" field.
  946. func APIBaseLT(v string) predicate.Employee {
  947. return predicate.Employee(sql.FieldLT(FieldAPIBase, v))
  948. }
  949. // APIBaseLTE applies the LTE predicate on the "api_base" field.
  950. func APIBaseLTE(v string) predicate.Employee {
  951. return predicate.Employee(sql.FieldLTE(FieldAPIBase, v))
  952. }
  953. // APIBaseContains applies the Contains predicate on the "api_base" field.
  954. func APIBaseContains(v string) predicate.Employee {
  955. return predicate.Employee(sql.FieldContains(FieldAPIBase, v))
  956. }
  957. // APIBaseHasPrefix applies the HasPrefix predicate on the "api_base" field.
  958. func APIBaseHasPrefix(v string) predicate.Employee {
  959. return predicate.Employee(sql.FieldHasPrefix(FieldAPIBase, v))
  960. }
  961. // APIBaseHasSuffix applies the HasSuffix predicate on the "api_base" field.
  962. func APIBaseHasSuffix(v string) predicate.Employee {
  963. return predicate.Employee(sql.FieldHasSuffix(FieldAPIBase, v))
  964. }
  965. // APIBaseEqualFold applies the EqualFold predicate on the "api_base" field.
  966. func APIBaseEqualFold(v string) predicate.Employee {
  967. return predicate.Employee(sql.FieldEqualFold(FieldAPIBase, v))
  968. }
  969. // APIBaseContainsFold applies the ContainsFold predicate on the "api_base" field.
  970. func APIBaseContainsFold(v string) predicate.Employee {
  971. return predicate.Employee(sql.FieldContainsFold(FieldAPIBase, v))
  972. }
  973. // APIKeyEQ applies the EQ predicate on the "api_key" field.
  974. func APIKeyEQ(v string) predicate.Employee {
  975. return predicate.Employee(sql.FieldEQ(FieldAPIKey, v))
  976. }
  977. // APIKeyNEQ applies the NEQ predicate on the "api_key" field.
  978. func APIKeyNEQ(v string) predicate.Employee {
  979. return predicate.Employee(sql.FieldNEQ(FieldAPIKey, v))
  980. }
  981. // APIKeyIn applies the In predicate on the "api_key" field.
  982. func APIKeyIn(vs ...string) predicate.Employee {
  983. return predicate.Employee(sql.FieldIn(FieldAPIKey, vs...))
  984. }
  985. // APIKeyNotIn applies the NotIn predicate on the "api_key" field.
  986. func APIKeyNotIn(vs ...string) predicate.Employee {
  987. return predicate.Employee(sql.FieldNotIn(FieldAPIKey, vs...))
  988. }
  989. // APIKeyGT applies the GT predicate on the "api_key" field.
  990. func APIKeyGT(v string) predicate.Employee {
  991. return predicate.Employee(sql.FieldGT(FieldAPIKey, v))
  992. }
  993. // APIKeyGTE applies the GTE predicate on the "api_key" field.
  994. func APIKeyGTE(v string) predicate.Employee {
  995. return predicate.Employee(sql.FieldGTE(FieldAPIKey, v))
  996. }
  997. // APIKeyLT applies the LT predicate on the "api_key" field.
  998. func APIKeyLT(v string) predicate.Employee {
  999. return predicate.Employee(sql.FieldLT(FieldAPIKey, v))
  1000. }
  1001. // APIKeyLTE applies the LTE predicate on the "api_key" field.
  1002. func APIKeyLTE(v string) predicate.Employee {
  1003. return predicate.Employee(sql.FieldLTE(FieldAPIKey, v))
  1004. }
  1005. // APIKeyContains applies the Contains predicate on the "api_key" field.
  1006. func APIKeyContains(v string) predicate.Employee {
  1007. return predicate.Employee(sql.FieldContains(FieldAPIKey, v))
  1008. }
  1009. // APIKeyHasPrefix applies the HasPrefix predicate on the "api_key" field.
  1010. func APIKeyHasPrefix(v string) predicate.Employee {
  1011. return predicate.Employee(sql.FieldHasPrefix(FieldAPIKey, v))
  1012. }
  1013. // APIKeyHasSuffix applies the HasSuffix predicate on the "api_key" field.
  1014. func APIKeyHasSuffix(v string) predicate.Employee {
  1015. return predicate.Employee(sql.FieldHasSuffix(FieldAPIKey, v))
  1016. }
  1017. // APIKeyEqualFold applies the EqualFold predicate on the "api_key" field.
  1018. func APIKeyEqualFold(v string) predicate.Employee {
  1019. return predicate.Employee(sql.FieldEqualFold(FieldAPIKey, v))
  1020. }
  1021. // APIKeyContainsFold applies the ContainsFold predicate on the "api_key" field.
  1022. func APIKeyContainsFold(v string) predicate.Employee {
  1023. return predicate.Employee(sql.FieldContainsFold(FieldAPIKey, v))
  1024. }
  1025. // AiInfoEQ applies the EQ predicate on the "ai_info" field.
  1026. func AiInfoEQ(v string) predicate.Employee {
  1027. return predicate.Employee(sql.FieldEQ(FieldAiInfo, v))
  1028. }
  1029. // AiInfoNEQ applies the NEQ predicate on the "ai_info" field.
  1030. func AiInfoNEQ(v string) predicate.Employee {
  1031. return predicate.Employee(sql.FieldNEQ(FieldAiInfo, v))
  1032. }
  1033. // AiInfoIn applies the In predicate on the "ai_info" field.
  1034. func AiInfoIn(vs ...string) predicate.Employee {
  1035. return predicate.Employee(sql.FieldIn(FieldAiInfo, vs...))
  1036. }
  1037. // AiInfoNotIn applies the NotIn predicate on the "ai_info" field.
  1038. func AiInfoNotIn(vs ...string) predicate.Employee {
  1039. return predicate.Employee(sql.FieldNotIn(FieldAiInfo, vs...))
  1040. }
  1041. // AiInfoGT applies the GT predicate on the "ai_info" field.
  1042. func AiInfoGT(v string) predicate.Employee {
  1043. return predicate.Employee(sql.FieldGT(FieldAiInfo, v))
  1044. }
  1045. // AiInfoGTE applies the GTE predicate on the "ai_info" field.
  1046. func AiInfoGTE(v string) predicate.Employee {
  1047. return predicate.Employee(sql.FieldGTE(FieldAiInfo, v))
  1048. }
  1049. // AiInfoLT applies the LT predicate on the "ai_info" field.
  1050. func AiInfoLT(v string) predicate.Employee {
  1051. return predicate.Employee(sql.FieldLT(FieldAiInfo, v))
  1052. }
  1053. // AiInfoLTE applies the LTE predicate on the "ai_info" field.
  1054. func AiInfoLTE(v string) predicate.Employee {
  1055. return predicate.Employee(sql.FieldLTE(FieldAiInfo, v))
  1056. }
  1057. // AiInfoContains applies the Contains predicate on the "ai_info" field.
  1058. func AiInfoContains(v string) predicate.Employee {
  1059. return predicate.Employee(sql.FieldContains(FieldAiInfo, v))
  1060. }
  1061. // AiInfoHasPrefix applies the HasPrefix predicate on the "ai_info" field.
  1062. func AiInfoHasPrefix(v string) predicate.Employee {
  1063. return predicate.Employee(sql.FieldHasPrefix(FieldAiInfo, v))
  1064. }
  1065. // AiInfoHasSuffix applies the HasSuffix predicate on the "ai_info" field.
  1066. func AiInfoHasSuffix(v string) predicate.Employee {
  1067. return predicate.Employee(sql.FieldHasSuffix(FieldAiInfo, v))
  1068. }
  1069. // AiInfoIsNil applies the IsNil predicate on the "ai_info" field.
  1070. func AiInfoIsNil() predicate.Employee {
  1071. return predicate.Employee(sql.FieldIsNull(FieldAiInfo))
  1072. }
  1073. // AiInfoNotNil applies the NotNil predicate on the "ai_info" field.
  1074. func AiInfoNotNil() predicate.Employee {
  1075. return predicate.Employee(sql.FieldNotNull(FieldAiInfo))
  1076. }
  1077. // AiInfoEqualFold applies the EqualFold predicate on the "ai_info" field.
  1078. func AiInfoEqualFold(v string) predicate.Employee {
  1079. return predicate.Employee(sql.FieldEqualFold(FieldAiInfo, v))
  1080. }
  1081. // AiInfoContainsFold applies the ContainsFold predicate on the "ai_info" field.
  1082. func AiInfoContainsFold(v string) predicate.Employee {
  1083. return predicate.Employee(sql.FieldContainsFold(FieldAiInfo, v))
  1084. }
  1085. // IsVipEQ applies the EQ predicate on the "is_vip" field.
  1086. func IsVipEQ(v int) predicate.Employee {
  1087. return predicate.Employee(sql.FieldEQ(FieldIsVip, v))
  1088. }
  1089. // IsVipNEQ applies the NEQ predicate on the "is_vip" field.
  1090. func IsVipNEQ(v int) predicate.Employee {
  1091. return predicate.Employee(sql.FieldNEQ(FieldIsVip, v))
  1092. }
  1093. // IsVipIn applies the In predicate on the "is_vip" field.
  1094. func IsVipIn(vs ...int) predicate.Employee {
  1095. return predicate.Employee(sql.FieldIn(FieldIsVip, vs...))
  1096. }
  1097. // IsVipNotIn applies the NotIn predicate on the "is_vip" field.
  1098. func IsVipNotIn(vs ...int) predicate.Employee {
  1099. return predicate.Employee(sql.FieldNotIn(FieldIsVip, vs...))
  1100. }
  1101. // IsVipGT applies the GT predicate on the "is_vip" field.
  1102. func IsVipGT(v int) predicate.Employee {
  1103. return predicate.Employee(sql.FieldGT(FieldIsVip, v))
  1104. }
  1105. // IsVipGTE applies the GTE predicate on the "is_vip" field.
  1106. func IsVipGTE(v int) predicate.Employee {
  1107. return predicate.Employee(sql.FieldGTE(FieldIsVip, v))
  1108. }
  1109. // IsVipLT applies the LT predicate on the "is_vip" field.
  1110. func IsVipLT(v int) predicate.Employee {
  1111. return predicate.Employee(sql.FieldLT(FieldIsVip, v))
  1112. }
  1113. // IsVipLTE applies the LTE predicate on the "is_vip" field.
  1114. func IsVipLTE(v int) predicate.Employee {
  1115. return predicate.Employee(sql.FieldLTE(FieldIsVip, v))
  1116. }
  1117. // ChatURLEQ applies the EQ predicate on the "chat_url" field.
  1118. func ChatURLEQ(v string) predicate.Employee {
  1119. return predicate.Employee(sql.FieldEQ(FieldChatURL, v))
  1120. }
  1121. // ChatURLNEQ applies the NEQ predicate on the "chat_url" field.
  1122. func ChatURLNEQ(v string) predicate.Employee {
  1123. return predicate.Employee(sql.FieldNEQ(FieldChatURL, v))
  1124. }
  1125. // ChatURLIn applies the In predicate on the "chat_url" field.
  1126. func ChatURLIn(vs ...string) predicate.Employee {
  1127. return predicate.Employee(sql.FieldIn(FieldChatURL, vs...))
  1128. }
  1129. // ChatURLNotIn applies the NotIn predicate on the "chat_url" field.
  1130. func ChatURLNotIn(vs ...string) predicate.Employee {
  1131. return predicate.Employee(sql.FieldNotIn(FieldChatURL, vs...))
  1132. }
  1133. // ChatURLGT applies the GT predicate on the "chat_url" field.
  1134. func ChatURLGT(v string) predicate.Employee {
  1135. return predicate.Employee(sql.FieldGT(FieldChatURL, v))
  1136. }
  1137. // ChatURLGTE applies the GTE predicate on the "chat_url" field.
  1138. func ChatURLGTE(v string) predicate.Employee {
  1139. return predicate.Employee(sql.FieldGTE(FieldChatURL, v))
  1140. }
  1141. // ChatURLLT applies the LT predicate on the "chat_url" field.
  1142. func ChatURLLT(v string) predicate.Employee {
  1143. return predicate.Employee(sql.FieldLT(FieldChatURL, v))
  1144. }
  1145. // ChatURLLTE applies the LTE predicate on the "chat_url" field.
  1146. func ChatURLLTE(v string) predicate.Employee {
  1147. return predicate.Employee(sql.FieldLTE(FieldChatURL, v))
  1148. }
  1149. // ChatURLContains applies the Contains predicate on the "chat_url" field.
  1150. func ChatURLContains(v string) predicate.Employee {
  1151. return predicate.Employee(sql.FieldContains(FieldChatURL, v))
  1152. }
  1153. // ChatURLHasPrefix applies the HasPrefix predicate on the "chat_url" field.
  1154. func ChatURLHasPrefix(v string) predicate.Employee {
  1155. return predicate.Employee(sql.FieldHasPrefix(FieldChatURL, v))
  1156. }
  1157. // ChatURLHasSuffix applies the HasSuffix predicate on the "chat_url" field.
  1158. func ChatURLHasSuffix(v string) predicate.Employee {
  1159. return predicate.Employee(sql.FieldHasSuffix(FieldChatURL, v))
  1160. }
  1161. // ChatURLEqualFold applies the EqualFold predicate on the "chat_url" field.
  1162. func ChatURLEqualFold(v string) predicate.Employee {
  1163. return predicate.Employee(sql.FieldEqualFold(FieldChatURL, v))
  1164. }
  1165. // ChatURLContainsFold applies the ContainsFold predicate on the "chat_url" field.
  1166. func ChatURLContainsFold(v string) predicate.Employee {
  1167. return predicate.Employee(sql.FieldContainsFold(FieldChatURL, v))
  1168. }
  1169. // HasEmWorkExperiences applies the HasEdge predicate on the "em_work_experiences" edge.
  1170. func HasEmWorkExperiences() predicate.Employee {
  1171. return predicate.Employee(func(s *sql.Selector) {
  1172. step := sqlgraph.NewStep(
  1173. sqlgraph.From(Table, FieldID),
  1174. sqlgraph.Edge(sqlgraph.O2M, false, EmWorkExperiencesTable, EmWorkExperiencesColumn),
  1175. )
  1176. sqlgraph.HasNeighbors(s, step)
  1177. })
  1178. }
  1179. // HasEmWorkExperiencesWith applies the HasEdge predicate on the "em_work_experiences" edge with a given conditions (other predicates).
  1180. func HasEmWorkExperiencesWith(preds ...predicate.WorkExperience) predicate.Employee {
  1181. return predicate.Employee(func(s *sql.Selector) {
  1182. step := newEmWorkExperiencesStep()
  1183. sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
  1184. for _, p := range preds {
  1185. p(s)
  1186. }
  1187. })
  1188. })
  1189. }
  1190. // HasEmTutorial applies the HasEdge predicate on the "em_tutorial" edge.
  1191. func HasEmTutorial() predicate.Employee {
  1192. return predicate.Employee(func(s *sql.Selector) {
  1193. step := sqlgraph.NewStep(
  1194. sqlgraph.From(Table, FieldID),
  1195. sqlgraph.Edge(sqlgraph.O2M, false, EmTutorialTable, EmTutorialColumn),
  1196. )
  1197. sqlgraph.HasNeighbors(s, step)
  1198. })
  1199. }
  1200. // HasEmTutorialWith applies the HasEdge predicate on the "em_tutorial" edge with a given conditions (other predicates).
  1201. func HasEmTutorialWith(preds ...predicate.Tutorial) predicate.Employee {
  1202. return predicate.Employee(func(s *sql.Selector) {
  1203. step := newEmTutorialStep()
  1204. sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
  1205. for _, p := range preds {
  1206. p(s)
  1207. }
  1208. })
  1209. })
  1210. }
  1211. // And groups predicates with the AND operator between them.
  1212. func And(predicates ...predicate.Employee) predicate.Employee {
  1213. return predicate.Employee(sql.AndPredicates(predicates...))
  1214. }
  1215. // Or groups predicates with the OR operator between them.
  1216. func Or(predicates ...predicate.Employee) predicate.Employee {
  1217. return predicate.Employee(sql.OrPredicates(predicates...))
  1218. }
  1219. // Not applies the not operator on the given predicate.
  1220. func Not(p predicate.Employee) predicate.Employee {
  1221. return predicate.Employee(sql.NotPredicates(p))
  1222. }