where.go 52 KB

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