where.go 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187
  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. // CreatedAtEQ applies the EQ predicate on the "created_at" field.
  118. func CreatedAtEQ(v time.Time) predicate.Employee {
  119. return predicate.Employee(sql.FieldEQ(FieldCreatedAt, v))
  120. }
  121. // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
  122. func CreatedAtNEQ(v time.Time) predicate.Employee {
  123. return predicate.Employee(sql.FieldNEQ(FieldCreatedAt, v))
  124. }
  125. // CreatedAtIn applies the In predicate on the "created_at" field.
  126. func CreatedAtIn(vs ...time.Time) predicate.Employee {
  127. return predicate.Employee(sql.FieldIn(FieldCreatedAt, vs...))
  128. }
  129. // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
  130. func CreatedAtNotIn(vs ...time.Time) predicate.Employee {
  131. return predicate.Employee(sql.FieldNotIn(FieldCreatedAt, vs...))
  132. }
  133. // CreatedAtGT applies the GT predicate on the "created_at" field.
  134. func CreatedAtGT(v time.Time) predicate.Employee {
  135. return predicate.Employee(sql.FieldGT(FieldCreatedAt, v))
  136. }
  137. // CreatedAtGTE applies the GTE predicate on the "created_at" field.
  138. func CreatedAtGTE(v time.Time) predicate.Employee {
  139. return predicate.Employee(sql.FieldGTE(FieldCreatedAt, v))
  140. }
  141. // CreatedAtLT applies the LT predicate on the "created_at" field.
  142. func CreatedAtLT(v time.Time) predicate.Employee {
  143. return predicate.Employee(sql.FieldLT(FieldCreatedAt, v))
  144. }
  145. // CreatedAtLTE applies the LTE predicate on the "created_at" field.
  146. func CreatedAtLTE(v time.Time) predicate.Employee {
  147. return predicate.Employee(sql.FieldLTE(FieldCreatedAt, v))
  148. }
  149. // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
  150. func UpdatedAtEQ(v time.Time) predicate.Employee {
  151. return predicate.Employee(sql.FieldEQ(FieldUpdatedAt, v))
  152. }
  153. // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
  154. func UpdatedAtNEQ(v time.Time) predicate.Employee {
  155. return predicate.Employee(sql.FieldNEQ(FieldUpdatedAt, v))
  156. }
  157. // UpdatedAtIn applies the In predicate on the "updated_at" field.
  158. func UpdatedAtIn(vs ...time.Time) predicate.Employee {
  159. return predicate.Employee(sql.FieldIn(FieldUpdatedAt, vs...))
  160. }
  161. // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
  162. func UpdatedAtNotIn(vs ...time.Time) predicate.Employee {
  163. return predicate.Employee(sql.FieldNotIn(FieldUpdatedAt, vs...))
  164. }
  165. // UpdatedAtGT applies the GT predicate on the "updated_at" field.
  166. func UpdatedAtGT(v time.Time) predicate.Employee {
  167. return predicate.Employee(sql.FieldGT(FieldUpdatedAt, v))
  168. }
  169. // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
  170. func UpdatedAtGTE(v time.Time) predicate.Employee {
  171. return predicate.Employee(sql.FieldGTE(FieldUpdatedAt, v))
  172. }
  173. // UpdatedAtLT applies the LT predicate on the "updated_at" field.
  174. func UpdatedAtLT(v time.Time) predicate.Employee {
  175. return predicate.Employee(sql.FieldLT(FieldUpdatedAt, v))
  176. }
  177. // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
  178. func UpdatedAtLTE(v time.Time) predicate.Employee {
  179. return predicate.Employee(sql.FieldLTE(FieldUpdatedAt, v))
  180. }
  181. // DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
  182. func DeletedAtEQ(v time.Time) predicate.Employee {
  183. return predicate.Employee(sql.FieldEQ(FieldDeletedAt, v))
  184. }
  185. // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
  186. func DeletedAtNEQ(v time.Time) predicate.Employee {
  187. return predicate.Employee(sql.FieldNEQ(FieldDeletedAt, v))
  188. }
  189. // DeletedAtIn applies the In predicate on the "deleted_at" field.
  190. func DeletedAtIn(vs ...time.Time) predicate.Employee {
  191. return predicate.Employee(sql.FieldIn(FieldDeletedAt, vs...))
  192. }
  193. // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
  194. func DeletedAtNotIn(vs ...time.Time) predicate.Employee {
  195. return predicate.Employee(sql.FieldNotIn(FieldDeletedAt, vs...))
  196. }
  197. // DeletedAtGT applies the GT predicate on the "deleted_at" field.
  198. func DeletedAtGT(v time.Time) predicate.Employee {
  199. return predicate.Employee(sql.FieldGT(FieldDeletedAt, v))
  200. }
  201. // DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
  202. func DeletedAtGTE(v time.Time) predicate.Employee {
  203. return predicate.Employee(sql.FieldGTE(FieldDeletedAt, v))
  204. }
  205. // DeletedAtLT applies the LT predicate on the "deleted_at" field.
  206. func DeletedAtLT(v time.Time) predicate.Employee {
  207. return predicate.Employee(sql.FieldLT(FieldDeletedAt, v))
  208. }
  209. // DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
  210. func DeletedAtLTE(v time.Time) predicate.Employee {
  211. return predicate.Employee(sql.FieldLTE(FieldDeletedAt, v))
  212. }
  213. // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
  214. func DeletedAtIsNil() predicate.Employee {
  215. return predicate.Employee(sql.FieldIsNull(FieldDeletedAt))
  216. }
  217. // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
  218. func DeletedAtNotNil() predicate.Employee {
  219. return predicate.Employee(sql.FieldNotNull(FieldDeletedAt))
  220. }
  221. // TitleEQ applies the EQ predicate on the "title" field.
  222. func TitleEQ(v string) predicate.Employee {
  223. return predicate.Employee(sql.FieldEQ(FieldTitle, v))
  224. }
  225. // TitleNEQ applies the NEQ predicate on the "title" field.
  226. func TitleNEQ(v string) predicate.Employee {
  227. return predicate.Employee(sql.FieldNEQ(FieldTitle, v))
  228. }
  229. // TitleIn applies the In predicate on the "title" field.
  230. func TitleIn(vs ...string) predicate.Employee {
  231. return predicate.Employee(sql.FieldIn(FieldTitle, vs...))
  232. }
  233. // TitleNotIn applies the NotIn predicate on the "title" field.
  234. func TitleNotIn(vs ...string) predicate.Employee {
  235. return predicate.Employee(sql.FieldNotIn(FieldTitle, vs...))
  236. }
  237. // TitleGT applies the GT predicate on the "title" field.
  238. func TitleGT(v string) predicate.Employee {
  239. return predicate.Employee(sql.FieldGT(FieldTitle, v))
  240. }
  241. // TitleGTE applies the GTE predicate on the "title" field.
  242. func TitleGTE(v string) predicate.Employee {
  243. return predicate.Employee(sql.FieldGTE(FieldTitle, v))
  244. }
  245. // TitleLT applies the LT predicate on the "title" field.
  246. func TitleLT(v string) predicate.Employee {
  247. return predicate.Employee(sql.FieldLT(FieldTitle, v))
  248. }
  249. // TitleLTE applies the LTE predicate on the "title" field.
  250. func TitleLTE(v string) predicate.Employee {
  251. return predicate.Employee(sql.FieldLTE(FieldTitle, v))
  252. }
  253. // TitleContains applies the Contains predicate on the "title" field.
  254. func TitleContains(v string) predicate.Employee {
  255. return predicate.Employee(sql.FieldContains(FieldTitle, v))
  256. }
  257. // TitleHasPrefix applies the HasPrefix predicate on the "title" field.
  258. func TitleHasPrefix(v string) predicate.Employee {
  259. return predicate.Employee(sql.FieldHasPrefix(FieldTitle, v))
  260. }
  261. // TitleHasSuffix applies the HasSuffix predicate on the "title" field.
  262. func TitleHasSuffix(v string) predicate.Employee {
  263. return predicate.Employee(sql.FieldHasSuffix(FieldTitle, v))
  264. }
  265. // TitleEqualFold applies the EqualFold predicate on the "title" field.
  266. func TitleEqualFold(v string) predicate.Employee {
  267. return predicate.Employee(sql.FieldEqualFold(FieldTitle, v))
  268. }
  269. // TitleContainsFold applies the ContainsFold predicate on the "title" field.
  270. func TitleContainsFold(v string) predicate.Employee {
  271. return predicate.Employee(sql.FieldContainsFold(FieldTitle, v))
  272. }
  273. // AvatarEQ applies the EQ predicate on the "avatar" field.
  274. func AvatarEQ(v string) predicate.Employee {
  275. return predicate.Employee(sql.FieldEQ(FieldAvatar, v))
  276. }
  277. // AvatarNEQ applies the NEQ predicate on the "avatar" field.
  278. func AvatarNEQ(v string) predicate.Employee {
  279. return predicate.Employee(sql.FieldNEQ(FieldAvatar, v))
  280. }
  281. // AvatarIn applies the In predicate on the "avatar" field.
  282. func AvatarIn(vs ...string) predicate.Employee {
  283. return predicate.Employee(sql.FieldIn(FieldAvatar, vs...))
  284. }
  285. // AvatarNotIn applies the NotIn predicate on the "avatar" field.
  286. func AvatarNotIn(vs ...string) predicate.Employee {
  287. return predicate.Employee(sql.FieldNotIn(FieldAvatar, vs...))
  288. }
  289. // AvatarGT applies the GT predicate on the "avatar" field.
  290. func AvatarGT(v string) predicate.Employee {
  291. return predicate.Employee(sql.FieldGT(FieldAvatar, v))
  292. }
  293. // AvatarGTE applies the GTE predicate on the "avatar" field.
  294. func AvatarGTE(v string) predicate.Employee {
  295. return predicate.Employee(sql.FieldGTE(FieldAvatar, v))
  296. }
  297. // AvatarLT applies the LT predicate on the "avatar" field.
  298. func AvatarLT(v string) predicate.Employee {
  299. return predicate.Employee(sql.FieldLT(FieldAvatar, v))
  300. }
  301. // AvatarLTE applies the LTE predicate on the "avatar" field.
  302. func AvatarLTE(v string) predicate.Employee {
  303. return predicate.Employee(sql.FieldLTE(FieldAvatar, v))
  304. }
  305. // AvatarContains applies the Contains predicate on the "avatar" field.
  306. func AvatarContains(v string) predicate.Employee {
  307. return predicate.Employee(sql.FieldContains(FieldAvatar, v))
  308. }
  309. // AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field.
  310. func AvatarHasPrefix(v string) predicate.Employee {
  311. return predicate.Employee(sql.FieldHasPrefix(FieldAvatar, v))
  312. }
  313. // AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field.
  314. func AvatarHasSuffix(v string) predicate.Employee {
  315. return predicate.Employee(sql.FieldHasSuffix(FieldAvatar, v))
  316. }
  317. // AvatarEqualFold applies the EqualFold predicate on the "avatar" field.
  318. func AvatarEqualFold(v string) predicate.Employee {
  319. return predicate.Employee(sql.FieldEqualFold(FieldAvatar, v))
  320. }
  321. // AvatarContainsFold applies the ContainsFold predicate on the "avatar" field.
  322. func AvatarContainsFold(v string) predicate.Employee {
  323. return predicate.Employee(sql.FieldContainsFold(FieldAvatar, v))
  324. }
  325. // TagsEQ applies the EQ predicate on the "tags" field.
  326. func TagsEQ(v string) predicate.Employee {
  327. return predicate.Employee(sql.FieldEQ(FieldTags, v))
  328. }
  329. // TagsNEQ applies the NEQ predicate on the "tags" field.
  330. func TagsNEQ(v string) predicate.Employee {
  331. return predicate.Employee(sql.FieldNEQ(FieldTags, v))
  332. }
  333. // TagsIn applies the In predicate on the "tags" field.
  334. func TagsIn(vs ...string) predicate.Employee {
  335. return predicate.Employee(sql.FieldIn(FieldTags, vs...))
  336. }
  337. // TagsNotIn applies the NotIn predicate on the "tags" field.
  338. func TagsNotIn(vs ...string) predicate.Employee {
  339. return predicate.Employee(sql.FieldNotIn(FieldTags, vs...))
  340. }
  341. // TagsGT applies the GT predicate on the "tags" field.
  342. func TagsGT(v string) predicate.Employee {
  343. return predicate.Employee(sql.FieldGT(FieldTags, v))
  344. }
  345. // TagsGTE applies the GTE predicate on the "tags" field.
  346. func TagsGTE(v string) predicate.Employee {
  347. return predicate.Employee(sql.FieldGTE(FieldTags, v))
  348. }
  349. // TagsLT applies the LT predicate on the "tags" field.
  350. func TagsLT(v string) predicate.Employee {
  351. return predicate.Employee(sql.FieldLT(FieldTags, v))
  352. }
  353. // TagsLTE applies the LTE predicate on the "tags" field.
  354. func TagsLTE(v string) predicate.Employee {
  355. return predicate.Employee(sql.FieldLTE(FieldTags, v))
  356. }
  357. // TagsContains applies the Contains predicate on the "tags" field.
  358. func TagsContains(v string) predicate.Employee {
  359. return predicate.Employee(sql.FieldContains(FieldTags, v))
  360. }
  361. // TagsHasPrefix applies the HasPrefix predicate on the "tags" field.
  362. func TagsHasPrefix(v string) predicate.Employee {
  363. return predicate.Employee(sql.FieldHasPrefix(FieldTags, v))
  364. }
  365. // TagsHasSuffix applies the HasSuffix predicate on the "tags" field.
  366. func TagsHasSuffix(v string) predicate.Employee {
  367. return predicate.Employee(sql.FieldHasSuffix(FieldTags, v))
  368. }
  369. // TagsEqualFold applies the EqualFold predicate on the "tags" field.
  370. func TagsEqualFold(v string) predicate.Employee {
  371. return predicate.Employee(sql.FieldEqualFold(FieldTags, v))
  372. }
  373. // TagsContainsFold applies the ContainsFold predicate on the "tags" field.
  374. func TagsContainsFold(v string) predicate.Employee {
  375. return predicate.Employee(sql.FieldContainsFold(FieldTags, v))
  376. }
  377. // HireCountEQ applies the EQ predicate on the "hire_count" field.
  378. func HireCountEQ(v int) predicate.Employee {
  379. return predicate.Employee(sql.FieldEQ(FieldHireCount, v))
  380. }
  381. // HireCountNEQ applies the NEQ predicate on the "hire_count" field.
  382. func HireCountNEQ(v int) predicate.Employee {
  383. return predicate.Employee(sql.FieldNEQ(FieldHireCount, v))
  384. }
  385. // HireCountIn applies the In predicate on the "hire_count" field.
  386. func HireCountIn(vs ...int) predicate.Employee {
  387. return predicate.Employee(sql.FieldIn(FieldHireCount, vs...))
  388. }
  389. // HireCountNotIn applies the NotIn predicate on the "hire_count" field.
  390. func HireCountNotIn(vs ...int) predicate.Employee {
  391. return predicate.Employee(sql.FieldNotIn(FieldHireCount, vs...))
  392. }
  393. // HireCountGT applies the GT predicate on the "hire_count" field.
  394. func HireCountGT(v int) predicate.Employee {
  395. return predicate.Employee(sql.FieldGT(FieldHireCount, v))
  396. }
  397. // HireCountGTE applies the GTE predicate on the "hire_count" field.
  398. func HireCountGTE(v int) predicate.Employee {
  399. return predicate.Employee(sql.FieldGTE(FieldHireCount, v))
  400. }
  401. // HireCountLT applies the LT predicate on the "hire_count" field.
  402. func HireCountLT(v int) predicate.Employee {
  403. return predicate.Employee(sql.FieldLT(FieldHireCount, v))
  404. }
  405. // HireCountLTE applies the LTE predicate on the "hire_count" field.
  406. func HireCountLTE(v int) predicate.Employee {
  407. return predicate.Employee(sql.FieldLTE(FieldHireCount, v))
  408. }
  409. // ServiceCountEQ applies the EQ predicate on the "service_count" field.
  410. func ServiceCountEQ(v int) predicate.Employee {
  411. return predicate.Employee(sql.FieldEQ(FieldServiceCount, v))
  412. }
  413. // ServiceCountNEQ applies the NEQ predicate on the "service_count" field.
  414. func ServiceCountNEQ(v int) predicate.Employee {
  415. return predicate.Employee(sql.FieldNEQ(FieldServiceCount, v))
  416. }
  417. // ServiceCountIn applies the In predicate on the "service_count" field.
  418. func ServiceCountIn(vs ...int) predicate.Employee {
  419. return predicate.Employee(sql.FieldIn(FieldServiceCount, vs...))
  420. }
  421. // ServiceCountNotIn applies the NotIn predicate on the "service_count" field.
  422. func ServiceCountNotIn(vs ...int) predicate.Employee {
  423. return predicate.Employee(sql.FieldNotIn(FieldServiceCount, vs...))
  424. }
  425. // ServiceCountGT applies the GT predicate on the "service_count" field.
  426. func ServiceCountGT(v int) predicate.Employee {
  427. return predicate.Employee(sql.FieldGT(FieldServiceCount, v))
  428. }
  429. // ServiceCountGTE applies the GTE predicate on the "service_count" field.
  430. func ServiceCountGTE(v int) predicate.Employee {
  431. return predicate.Employee(sql.FieldGTE(FieldServiceCount, v))
  432. }
  433. // ServiceCountLT applies the LT predicate on the "service_count" field.
  434. func ServiceCountLT(v int) predicate.Employee {
  435. return predicate.Employee(sql.FieldLT(FieldServiceCount, v))
  436. }
  437. // ServiceCountLTE applies the LTE predicate on the "service_count" field.
  438. func ServiceCountLTE(v int) predicate.Employee {
  439. return predicate.Employee(sql.FieldLTE(FieldServiceCount, v))
  440. }
  441. // AchievementCountEQ applies the EQ predicate on the "achievement_count" field.
  442. func AchievementCountEQ(v int) predicate.Employee {
  443. return predicate.Employee(sql.FieldEQ(FieldAchievementCount, v))
  444. }
  445. // AchievementCountNEQ applies the NEQ predicate on the "achievement_count" field.
  446. func AchievementCountNEQ(v int) predicate.Employee {
  447. return predicate.Employee(sql.FieldNEQ(FieldAchievementCount, v))
  448. }
  449. // AchievementCountIn applies the In predicate on the "achievement_count" field.
  450. func AchievementCountIn(vs ...int) predicate.Employee {
  451. return predicate.Employee(sql.FieldIn(FieldAchievementCount, vs...))
  452. }
  453. // AchievementCountNotIn applies the NotIn predicate on the "achievement_count" field.
  454. func AchievementCountNotIn(vs ...int) predicate.Employee {
  455. return predicate.Employee(sql.FieldNotIn(FieldAchievementCount, vs...))
  456. }
  457. // AchievementCountGT applies the GT predicate on the "achievement_count" field.
  458. func AchievementCountGT(v int) predicate.Employee {
  459. return predicate.Employee(sql.FieldGT(FieldAchievementCount, v))
  460. }
  461. // AchievementCountGTE applies the GTE predicate on the "achievement_count" field.
  462. func AchievementCountGTE(v int) predicate.Employee {
  463. return predicate.Employee(sql.FieldGTE(FieldAchievementCount, v))
  464. }
  465. // AchievementCountLT applies the LT predicate on the "achievement_count" field.
  466. func AchievementCountLT(v int) predicate.Employee {
  467. return predicate.Employee(sql.FieldLT(FieldAchievementCount, v))
  468. }
  469. // AchievementCountLTE applies the LTE predicate on the "achievement_count" field.
  470. func AchievementCountLTE(v int) predicate.Employee {
  471. return predicate.Employee(sql.FieldLTE(FieldAchievementCount, v))
  472. }
  473. // IntroEQ applies the EQ predicate on the "intro" field.
  474. func IntroEQ(v string) predicate.Employee {
  475. return predicate.Employee(sql.FieldEQ(FieldIntro, v))
  476. }
  477. // IntroNEQ applies the NEQ predicate on the "intro" field.
  478. func IntroNEQ(v string) predicate.Employee {
  479. return predicate.Employee(sql.FieldNEQ(FieldIntro, v))
  480. }
  481. // IntroIn applies the In predicate on the "intro" field.
  482. func IntroIn(vs ...string) predicate.Employee {
  483. return predicate.Employee(sql.FieldIn(FieldIntro, vs...))
  484. }
  485. // IntroNotIn applies the NotIn predicate on the "intro" field.
  486. func IntroNotIn(vs ...string) predicate.Employee {
  487. return predicate.Employee(sql.FieldNotIn(FieldIntro, vs...))
  488. }
  489. // IntroGT applies the GT predicate on the "intro" field.
  490. func IntroGT(v string) predicate.Employee {
  491. return predicate.Employee(sql.FieldGT(FieldIntro, v))
  492. }
  493. // IntroGTE applies the GTE predicate on the "intro" field.
  494. func IntroGTE(v string) predicate.Employee {
  495. return predicate.Employee(sql.FieldGTE(FieldIntro, v))
  496. }
  497. // IntroLT applies the LT predicate on the "intro" field.
  498. func IntroLT(v string) predicate.Employee {
  499. return predicate.Employee(sql.FieldLT(FieldIntro, v))
  500. }
  501. // IntroLTE applies the LTE predicate on the "intro" field.
  502. func IntroLTE(v string) predicate.Employee {
  503. return predicate.Employee(sql.FieldLTE(FieldIntro, v))
  504. }
  505. // IntroContains applies the Contains predicate on the "intro" field.
  506. func IntroContains(v string) predicate.Employee {
  507. return predicate.Employee(sql.FieldContains(FieldIntro, v))
  508. }
  509. // IntroHasPrefix applies the HasPrefix predicate on the "intro" field.
  510. func IntroHasPrefix(v string) predicate.Employee {
  511. return predicate.Employee(sql.FieldHasPrefix(FieldIntro, v))
  512. }
  513. // IntroHasSuffix applies the HasSuffix predicate on the "intro" field.
  514. func IntroHasSuffix(v string) predicate.Employee {
  515. return predicate.Employee(sql.FieldHasSuffix(FieldIntro, v))
  516. }
  517. // IntroEqualFold applies the EqualFold predicate on the "intro" field.
  518. func IntroEqualFold(v string) predicate.Employee {
  519. return predicate.Employee(sql.FieldEqualFold(FieldIntro, v))
  520. }
  521. // IntroContainsFold applies the ContainsFold predicate on the "intro" field.
  522. func IntroContainsFold(v string) predicate.Employee {
  523. return predicate.Employee(sql.FieldContainsFold(FieldIntro, v))
  524. }
  525. // EstimateEQ applies the EQ predicate on the "estimate" field.
  526. func EstimateEQ(v string) predicate.Employee {
  527. return predicate.Employee(sql.FieldEQ(FieldEstimate, v))
  528. }
  529. // EstimateNEQ applies the NEQ predicate on the "estimate" field.
  530. func EstimateNEQ(v string) predicate.Employee {
  531. return predicate.Employee(sql.FieldNEQ(FieldEstimate, v))
  532. }
  533. // EstimateIn applies the In predicate on the "estimate" field.
  534. func EstimateIn(vs ...string) predicate.Employee {
  535. return predicate.Employee(sql.FieldIn(FieldEstimate, vs...))
  536. }
  537. // EstimateNotIn applies the NotIn predicate on the "estimate" field.
  538. func EstimateNotIn(vs ...string) predicate.Employee {
  539. return predicate.Employee(sql.FieldNotIn(FieldEstimate, vs...))
  540. }
  541. // EstimateGT applies the GT predicate on the "estimate" field.
  542. func EstimateGT(v string) predicate.Employee {
  543. return predicate.Employee(sql.FieldGT(FieldEstimate, v))
  544. }
  545. // EstimateGTE applies the GTE predicate on the "estimate" field.
  546. func EstimateGTE(v string) predicate.Employee {
  547. return predicate.Employee(sql.FieldGTE(FieldEstimate, v))
  548. }
  549. // EstimateLT applies the LT predicate on the "estimate" field.
  550. func EstimateLT(v string) predicate.Employee {
  551. return predicate.Employee(sql.FieldLT(FieldEstimate, v))
  552. }
  553. // EstimateLTE applies the LTE predicate on the "estimate" field.
  554. func EstimateLTE(v string) predicate.Employee {
  555. return predicate.Employee(sql.FieldLTE(FieldEstimate, v))
  556. }
  557. // EstimateContains applies the Contains predicate on the "estimate" field.
  558. func EstimateContains(v string) predicate.Employee {
  559. return predicate.Employee(sql.FieldContains(FieldEstimate, v))
  560. }
  561. // EstimateHasPrefix applies the HasPrefix predicate on the "estimate" field.
  562. func EstimateHasPrefix(v string) predicate.Employee {
  563. return predicate.Employee(sql.FieldHasPrefix(FieldEstimate, v))
  564. }
  565. // EstimateHasSuffix applies the HasSuffix predicate on the "estimate" field.
  566. func EstimateHasSuffix(v string) predicate.Employee {
  567. return predicate.Employee(sql.FieldHasSuffix(FieldEstimate, v))
  568. }
  569. // EstimateEqualFold applies the EqualFold predicate on the "estimate" field.
  570. func EstimateEqualFold(v string) predicate.Employee {
  571. return predicate.Employee(sql.FieldEqualFold(FieldEstimate, v))
  572. }
  573. // EstimateContainsFold applies the ContainsFold predicate on the "estimate" field.
  574. func EstimateContainsFold(v string) predicate.Employee {
  575. return predicate.Employee(sql.FieldContainsFold(FieldEstimate, v))
  576. }
  577. // SkillEQ applies the EQ predicate on the "skill" field.
  578. func SkillEQ(v string) predicate.Employee {
  579. return predicate.Employee(sql.FieldEQ(FieldSkill, v))
  580. }
  581. // SkillNEQ applies the NEQ predicate on the "skill" field.
  582. func SkillNEQ(v string) predicate.Employee {
  583. return predicate.Employee(sql.FieldNEQ(FieldSkill, v))
  584. }
  585. // SkillIn applies the In predicate on the "skill" field.
  586. func SkillIn(vs ...string) predicate.Employee {
  587. return predicate.Employee(sql.FieldIn(FieldSkill, vs...))
  588. }
  589. // SkillNotIn applies the NotIn predicate on the "skill" field.
  590. func SkillNotIn(vs ...string) predicate.Employee {
  591. return predicate.Employee(sql.FieldNotIn(FieldSkill, vs...))
  592. }
  593. // SkillGT applies the GT predicate on the "skill" field.
  594. func SkillGT(v string) predicate.Employee {
  595. return predicate.Employee(sql.FieldGT(FieldSkill, v))
  596. }
  597. // SkillGTE applies the GTE predicate on the "skill" field.
  598. func SkillGTE(v string) predicate.Employee {
  599. return predicate.Employee(sql.FieldGTE(FieldSkill, v))
  600. }
  601. // SkillLT applies the LT predicate on the "skill" field.
  602. func SkillLT(v string) predicate.Employee {
  603. return predicate.Employee(sql.FieldLT(FieldSkill, v))
  604. }
  605. // SkillLTE applies the LTE predicate on the "skill" field.
  606. func SkillLTE(v string) predicate.Employee {
  607. return predicate.Employee(sql.FieldLTE(FieldSkill, v))
  608. }
  609. // SkillContains applies the Contains predicate on the "skill" field.
  610. func SkillContains(v string) predicate.Employee {
  611. return predicate.Employee(sql.FieldContains(FieldSkill, v))
  612. }
  613. // SkillHasPrefix applies the HasPrefix predicate on the "skill" field.
  614. func SkillHasPrefix(v string) predicate.Employee {
  615. return predicate.Employee(sql.FieldHasPrefix(FieldSkill, v))
  616. }
  617. // SkillHasSuffix applies the HasSuffix predicate on the "skill" field.
  618. func SkillHasSuffix(v string) predicate.Employee {
  619. return predicate.Employee(sql.FieldHasSuffix(FieldSkill, v))
  620. }
  621. // SkillEqualFold applies the EqualFold predicate on the "skill" field.
  622. func SkillEqualFold(v string) predicate.Employee {
  623. return predicate.Employee(sql.FieldEqualFold(FieldSkill, v))
  624. }
  625. // SkillContainsFold applies the ContainsFold predicate on the "skill" field.
  626. func SkillContainsFold(v string) predicate.Employee {
  627. return predicate.Employee(sql.FieldContainsFold(FieldSkill, v))
  628. }
  629. // AbilityTypeEQ applies the EQ predicate on the "ability_type" field.
  630. func AbilityTypeEQ(v string) predicate.Employee {
  631. return predicate.Employee(sql.FieldEQ(FieldAbilityType, v))
  632. }
  633. // AbilityTypeNEQ applies the NEQ predicate on the "ability_type" field.
  634. func AbilityTypeNEQ(v string) predicate.Employee {
  635. return predicate.Employee(sql.FieldNEQ(FieldAbilityType, v))
  636. }
  637. // AbilityTypeIn applies the In predicate on the "ability_type" field.
  638. func AbilityTypeIn(vs ...string) predicate.Employee {
  639. return predicate.Employee(sql.FieldIn(FieldAbilityType, vs...))
  640. }
  641. // AbilityTypeNotIn applies the NotIn predicate on the "ability_type" field.
  642. func AbilityTypeNotIn(vs ...string) predicate.Employee {
  643. return predicate.Employee(sql.FieldNotIn(FieldAbilityType, vs...))
  644. }
  645. // AbilityTypeGT applies the GT predicate on the "ability_type" field.
  646. func AbilityTypeGT(v string) predicate.Employee {
  647. return predicate.Employee(sql.FieldGT(FieldAbilityType, v))
  648. }
  649. // AbilityTypeGTE applies the GTE predicate on the "ability_type" field.
  650. func AbilityTypeGTE(v string) predicate.Employee {
  651. return predicate.Employee(sql.FieldGTE(FieldAbilityType, v))
  652. }
  653. // AbilityTypeLT applies the LT predicate on the "ability_type" field.
  654. func AbilityTypeLT(v string) predicate.Employee {
  655. return predicate.Employee(sql.FieldLT(FieldAbilityType, v))
  656. }
  657. // AbilityTypeLTE applies the LTE predicate on the "ability_type" field.
  658. func AbilityTypeLTE(v string) predicate.Employee {
  659. return predicate.Employee(sql.FieldLTE(FieldAbilityType, v))
  660. }
  661. // AbilityTypeContains applies the Contains predicate on the "ability_type" field.
  662. func AbilityTypeContains(v string) predicate.Employee {
  663. return predicate.Employee(sql.FieldContains(FieldAbilityType, v))
  664. }
  665. // AbilityTypeHasPrefix applies the HasPrefix predicate on the "ability_type" field.
  666. func AbilityTypeHasPrefix(v string) predicate.Employee {
  667. return predicate.Employee(sql.FieldHasPrefix(FieldAbilityType, v))
  668. }
  669. // AbilityTypeHasSuffix applies the HasSuffix predicate on the "ability_type" field.
  670. func AbilityTypeHasSuffix(v string) predicate.Employee {
  671. return predicate.Employee(sql.FieldHasSuffix(FieldAbilityType, v))
  672. }
  673. // AbilityTypeEqualFold applies the EqualFold predicate on the "ability_type" field.
  674. func AbilityTypeEqualFold(v string) predicate.Employee {
  675. return predicate.Employee(sql.FieldEqualFold(FieldAbilityType, v))
  676. }
  677. // AbilityTypeContainsFold applies the ContainsFold predicate on the "ability_type" field.
  678. func AbilityTypeContainsFold(v string) predicate.Employee {
  679. return predicate.Employee(sql.FieldContainsFold(FieldAbilityType, v))
  680. }
  681. // SceneEQ applies the EQ predicate on the "scene" field.
  682. func SceneEQ(v string) predicate.Employee {
  683. return predicate.Employee(sql.FieldEQ(FieldScene, v))
  684. }
  685. // SceneNEQ applies the NEQ predicate on the "scene" field.
  686. func SceneNEQ(v string) predicate.Employee {
  687. return predicate.Employee(sql.FieldNEQ(FieldScene, v))
  688. }
  689. // SceneIn applies the In predicate on the "scene" field.
  690. func SceneIn(vs ...string) predicate.Employee {
  691. return predicate.Employee(sql.FieldIn(FieldScene, vs...))
  692. }
  693. // SceneNotIn applies the NotIn predicate on the "scene" field.
  694. func SceneNotIn(vs ...string) predicate.Employee {
  695. return predicate.Employee(sql.FieldNotIn(FieldScene, vs...))
  696. }
  697. // SceneGT applies the GT predicate on the "scene" field.
  698. func SceneGT(v string) predicate.Employee {
  699. return predicate.Employee(sql.FieldGT(FieldScene, v))
  700. }
  701. // SceneGTE applies the GTE predicate on the "scene" field.
  702. func SceneGTE(v string) predicate.Employee {
  703. return predicate.Employee(sql.FieldGTE(FieldScene, v))
  704. }
  705. // SceneLT applies the LT predicate on the "scene" field.
  706. func SceneLT(v string) predicate.Employee {
  707. return predicate.Employee(sql.FieldLT(FieldScene, v))
  708. }
  709. // SceneLTE applies the LTE predicate on the "scene" field.
  710. func SceneLTE(v string) predicate.Employee {
  711. return predicate.Employee(sql.FieldLTE(FieldScene, v))
  712. }
  713. // SceneContains applies the Contains predicate on the "scene" field.
  714. func SceneContains(v string) predicate.Employee {
  715. return predicate.Employee(sql.FieldContains(FieldScene, v))
  716. }
  717. // SceneHasPrefix applies the HasPrefix predicate on the "scene" field.
  718. func SceneHasPrefix(v string) predicate.Employee {
  719. return predicate.Employee(sql.FieldHasPrefix(FieldScene, v))
  720. }
  721. // SceneHasSuffix applies the HasSuffix predicate on the "scene" field.
  722. func SceneHasSuffix(v string) predicate.Employee {
  723. return predicate.Employee(sql.FieldHasSuffix(FieldScene, v))
  724. }
  725. // SceneEqualFold applies the EqualFold predicate on the "scene" field.
  726. func SceneEqualFold(v string) predicate.Employee {
  727. return predicate.Employee(sql.FieldEqualFold(FieldScene, v))
  728. }
  729. // SceneContainsFold applies the ContainsFold predicate on the "scene" field.
  730. func SceneContainsFold(v string) predicate.Employee {
  731. return predicate.Employee(sql.FieldContainsFold(FieldScene, v))
  732. }
  733. // SwitchInEQ applies the EQ predicate on the "switch_in" field.
  734. func SwitchInEQ(v string) predicate.Employee {
  735. return predicate.Employee(sql.FieldEQ(FieldSwitchIn, v))
  736. }
  737. // SwitchInNEQ applies the NEQ predicate on the "switch_in" field.
  738. func SwitchInNEQ(v string) predicate.Employee {
  739. return predicate.Employee(sql.FieldNEQ(FieldSwitchIn, v))
  740. }
  741. // SwitchInIn applies the In predicate on the "switch_in" field.
  742. func SwitchInIn(vs ...string) predicate.Employee {
  743. return predicate.Employee(sql.FieldIn(FieldSwitchIn, vs...))
  744. }
  745. // SwitchInNotIn applies the NotIn predicate on the "switch_in" field.
  746. func SwitchInNotIn(vs ...string) predicate.Employee {
  747. return predicate.Employee(sql.FieldNotIn(FieldSwitchIn, vs...))
  748. }
  749. // SwitchInGT applies the GT predicate on the "switch_in" field.
  750. func SwitchInGT(v string) predicate.Employee {
  751. return predicate.Employee(sql.FieldGT(FieldSwitchIn, v))
  752. }
  753. // SwitchInGTE applies the GTE predicate on the "switch_in" field.
  754. func SwitchInGTE(v string) predicate.Employee {
  755. return predicate.Employee(sql.FieldGTE(FieldSwitchIn, v))
  756. }
  757. // SwitchInLT applies the LT predicate on the "switch_in" field.
  758. func SwitchInLT(v string) predicate.Employee {
  759. return predicate.Employee(sql.FieldLT(FieldSwitchIn, v))
  760. }
  761. // SwitchInLTE applies the LTE predicate on the "switch_in" field.
  762. func SwitchInLTE(v string) predicate.Employee {
  763. return predicate.Employee(sql.FieldLTE(FieldSwitchIn, v))
  764. }
  765. // SwitchInContains applies the Contains predicate on the "switch_in" field.
  766. func SwitchInContains(v string) predicate.Employee {
  767. return predicate.Employee(sql.FieldContains(FieldSwitchIn, v))
  768. }
  769. // SwitchInHasPrefix applies the HasPrefix predicate on the "switch_in" field.
  770. func SwitchInHasPrefix(v string) predicate.Employee {
  771. return predicate.Employee(sql.FieldHasPrefix(FieldSwitchIn, v))
  772. }
  773. // SwitchInHasSuffix applies the HasSuffix predicate on the "switch_in" field.
  774. func SwitchInHasSuffix(v string) predicate.Employee {
  775. return predicate.Employee(sql.FieldHasSuffix(FieldSwitchIn, v))
  776. }
  777. // SwitchInEqualFold applies the EqualFold predicate on the "switch_in" field.
  778. func SwitchInEqualFold(v string) predicate.Employee {
  779. return predicate.Employee(sql.FieldEqualFold(FieldSwitchIn, v))
  780. }
  781. // SwitchInContainsFold applies the ContainsFold predicate on the "switch_in" field.
  782. func SwitchInContainsFold(v string) predicate.Employee {
  783. return predicate.Employee(sql.FieldContainsFold(FieldSwitchIn, v))
  784. }
  785. // VideoURLEQ applies the EQ predicate on the "video_url" field.
  786. func VideoURLEQ(v string) predicate.Employee {
  787. return predicate.Employee(sql.FieldEQ(FieldVideoURL, v))
  788. }
  789. // VideoURLNEQ applies the NEQ predicate on the "video_url" field.
  790. func VideoURLNEQ(v string) predicate.Employee {
  791. return predicate.Employee(sql.FieldNEQ(FieldVideoURL, v))
  792. }
  793. // VideoURLIn applies the In predicate on the "video_url" field.
  794. func VideoURLIn(vs ...string) predicate.Employee {
  795. return predicate.Employee(sql.FieldIn(FieldVideoURL, vs...))
  796. }
  797. // VideoURLNotIn applies the NotIn predicate on the "video_url" field.
  798. func VideoURLNotIn(vs ...string) predicate.Employee {
  799. return predicate.Employee(sql.FieldNotIn(FieldVideoURL, vs...))
  800. }
  801. // VideoURLGT applies the GT predicate on the "video_url" field.
  802. func VideoURLGT(v string) predicate.Employee {
  803. return predicate.Employee(sql.FieldGT(FieldVideoURL, v))
  804. }
  805. // VideoURLGTE applies the GTE predicate on the "video_url" field.
  806. func VideoURLGTE(v string) predicate.Employee {
  807. return predicate.Employee(sql.FieldGTE(FieldVideoURL, v))
  808. }
  809. // VideoURLLT applies the LT predicate on the "video_url" field.
  810. func VideoURLLT(v string) predicate.Employee {
  811. return predicate.Employee(sql.FieldLT(FieldVideoURL, v))
  812. }
  813. // VideoURLLTE applies the LTE predicate on the "video_url" field.
  814. func VideoURLLTE(v string) predicate.Employee {
  815. return predicate.Employee(sql.FieldLTE(FieldVideoURL, v))
  816. }
  817. // VideoURLContains applies the Contains predicate on the "video_url" field.
  818. func VideoURLContains(v string) predicate.Employee {
  819. return predicate.Employee(sql.FieldContains(FieldVideoURL, v))
  820. }
  821. // VideoURLHasPrefix applies the HasPrefix predicate on the "video_url" field.
  822. func VideoURLHasPrefix(v string) predicate.Employee {
  823. return predicate.Employee(sql.FieldHasPrefix(FieldVideoURL, v))
  824. }
  825. // VideoURLHasSuffix applies the HasSuffix predicate on the "video_url" field.
  826. func VideoURLHasSuffix(v string) predicate.Employee {
  827. return predicate.Employee(sql.FieldHasSuffix(FieldVideoURL, v))
  828. }
  829. // VideoURLEqualFold applies the EqualFold predicate on the "video_url" field.
  830. func VideoURLEqualFold(v string) predicate.Employee {
  831. return predicate.Employee(sql.FieldEqualFold(FieldVideoURL, v))
  832. }
  833. // VideoURLContainsFold applies the ContainsFold predicate on the "video_url" field.
  834. func VideoURLContainsFold(v string) predicate.Employee {
  835. return predicate.Employee(sql.FieldContainsFold(FieldVideoURL, v))
  836. }
  837. // OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
  838. func OrganizationIDEQ(v uint64) predicate.Employee {
  839. return predicate.Employee(sql.FieldEQ(FieldOrganizationID, v))
  840. }
  841. // OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
  842. func OrganizationIDNEQ(v uint64) predicate.Employee {
  843. return predicate.Employee(sql.FieldNEQ(FieldOrganizationID, v))
  844. }
  845. // OrganizationIDIn applies the In predicate on the "organization_id" field.
  846. func OrganizationIDIn(vs ...uint64) predicate.Employee {
  847. return predicate.Employee(sql.FieldIn(FieldOrganizationID, vs...))
  848. }
  849. // OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
  850. func OrganizationIDNotIn(vs ...uint64) predicate.Employee {
  851. return predicate.Employee(sql.FieldNotIn(FieldOrganizationID, vs...))
  852. }
  853. // OrganizationIDGT applies the GT predicate on the "organization_id" field.
  854. func OrganizationIDGT(v uint64) predicate.Employee {
  855. return predicate.Employee(sql.FieldGT(FieldOrganizationID, v))
  856. }
  857. // OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
  858. func OrganizationIDGTE(v uint64) predicate.Employee {
  859. return predicate.Employee(sql.FieldGTE(FieldOrganizationID, v))
  860. }
  861. // OrganizationIDLT applies the LT predicate on the "organization_id" field.
  862. func OrganizationIDLT(v uint64) predicate.Employee {
  863. return predicate.Employee(sql.FieldLT(FieldOrganizationID, v))
  864. }
  865. // OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
  866. func OrganizationIDLTE(v uint64) predicate.Employee {
  867. return predicate.Employee(sql.FieldLTE(FieldOrganizationID, v))
  868. }
  869. // CategoryIDEQ applies the EQ predicate on the "category_id" field.
  870. func CategoryIDEQ(v uint64) predicate.Employee {
  871. return predicate.Employee(sql.FieldEQ(FieldCategoryID, v))
  872. }
  873. // CategoryIDNEQ applies the NEQ predicate on the "category_id" field.
  874. func CategoryIDNEQ(v uint64) predicate.Employee {
  875. return predicate.Employee(sql.FieldNEQ(FieldCategoryID, v))
  876. }
  877. // CategoryIDIn applies the In predicate on the "category_id" field.
  878. func CategoryIDIn(vs ...uint64) predicate.Employee {
  879. return predicate.Employee(sql.FieldIn(FieldCategoryID, vs...))
  880. }
  881. // CategoryIDNotIn applies the NotIn predicate on the "category_id" field.
  882. func CategoryIDNotIn(vs ...uint64) predicate.Employee {
  883. return predicate.Employee(sql.FieldNotIn(FieldCategoryID, vs...))
  884. }
  885. // CategoryIDGT applies the GT predicate on the "category_id" field.
  886. func CategoryIDGT(v uint64) predicate.Employee {
  887. return predicate.Employee(sql.FieldGT(FieldCategoryID, v))
  888. }
  889. // CategoryIDGTE applies the GTE predicate on the "category_id" field.
  890. func CategoryIDGTE(v uint64) predicate.Employee {
  891. return predicate.Employee(sql.FieldGTE(FieldCategoryID, v))
  892. }
  893. // CategoryIDLT applies the LT predicate on the "category_id" field.
  894. func CategoryIDLT(v uint64) predicate.Employee {
  895. return predicate.Employee(sql.FieldLT(FieldCategoryID, v))
  896. }
  897. // CategoryIDLTE applies the LTE predicate on the "category_id" field.
  898. func CategoryIDLTE(v uint64) predicate.Employee {
  899. return predicate.Employee(sql.FieldLTE(FieldCategoryID, v))
  900. }
  901. // HasEmWorkExperiences applies the HasEdge predicate on the "em_work_experiences" edge.
  902. func HasEmWorkExperiences() predicate.Employee {
  903. return predicate.Employee(func(s *sql.Selector) {
  904. step := sqlgraph.NewStep(
  905. sqlgraph.From(Table, FieldID),
  906. sqlgraph.Edge(sqlgraph.O2M, false, EmWorkExperiencesTable, EmWorkExperiencesColumn),
  907. )
  908. sqlgraph.HasNeighbors(s, step)
  909. })
  910. }
  911. // HasEmWorkExperiencesWith applies the HasEdge predicate on the "em_work_experiences" edge with a given conditions (other predicates).
  912. func HasEmWorkExperiencesWith(preds ...predicate.WorkExperience) predicate.Employee {
  913. return predicate.Employee(func(s *sql.Selector) {
  914. step := newEmWorkExperiencesStep()
  915. sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
  916. for _, p := range preds {
  917. p(s)
  918. }
  919. })
  920. })
  921. }
  922. // HasEmTutorial applies the HasEdge predicate on the "em_tutorial" edge.
  923. func HasEmTutorial() predicate.Employee {
  924. return predicate.Employee(func(s *sql.Selector) {
  925. step := sqlgraph.NewStep(
  926. sqlgraph.From(Table, FieldID),
  927. sqlgraph.Edge(sqlgraph.O2M, false, EmTutorialTable, EmTutorialColumn),
  928. )
  929. sqlgraph.HasNeighbors(s, step)
  930. })
  931. }
  932. // HasEmTutorialWith applies the HasEdge predicate on the "em_tutorial" edge with a given conditions (other predicates).
  933. func HasEmTutorialWith(preds ...predicate.Tutorial) predicate.Employee {
  934. return predicate.Employee(func(s *sql.Selector) {
  935. step := newEmTutorialStep()
  936. sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
  937. for _, p := range preds {
  938. p(s)
  939. }
  940. })
  941. })
  942. }
  943. // And groups predicates with the AND operator between them.
  944. func And(predicates ...predicate.Employee) predicate.Employee {
  945. return predicate.Employee(sql.AndPredicates(predicates...))
  946. }
  947. // Or groups predicates with the OR operator between them.
  948. func Or(predicates ...predicate.Employee) predicate.Employee {
  949. return predicate.Employee(sql.OrPredicates(predicates...))
  950. }
  951. // Not applies the not operator on the given predicate.
  952. func Not(p predicate.Employee) predicate.Employee {
  953. return predicate.Employee(sql.NotPredicates(p))
  954. }