where.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480
  1. // Code generated by ent, DO NOT EDIT.
  2. package employeeconfig
  3. import (
  4. "time"
  5. "wechat-api/ent/predicate"
  6. "entgo.io/ent/dialect/sql"
  7. )
  8. // ID filters vertices based on their ID field.
  9. func ID(id uint64) predicate.EmployeeConfig {
  10. return predicate.EmployeeConfig(sql.FieldEQ(FieldID, id))
  11. }
  12. // IDEQ applies the EQ predicate on the ID field.
  13. func IDEQ(id uint64) predicate.EmployeeConfig {
  14. return predicate.EmployeeConfig(sql.FieldEQ(FieldID, id))
  15. }
  16. // IDNEQ applies the NEQ predicate on the ID field.
  17. func IDNEQ(id uint64) predicate.EmployeeConfig {
  18. return predicate.EmployeeConfig(sql.FieldNEQ(FieldID, id))
  19. }
  20. // IDIn applies the In predicate on the ID field.
  21. func IDIn(ids ...uint64) predicate.EmployeeConfig {
  22. return predicate.EmployeeConfig(sql.FieldIn(FieldID, ids...))
  23. }
  24. // IDNotIn applies the NotIn predicate on the ID field.
  25. func IDNotIn(ids ...uint64) predicate.EmployeeConfig {
  26. return predicate.EmployeeConfig(sql.FieldNotIn(FieldID, ids...))
  27. }
  28. // IDGT applies the GT predicate on the ID field.
  29. func IDGT(id uint64) predicate.EmployeeConfig {
  30. return predicate.EmployeeConfig(sql.FieldGT(FieldID, id))
  31. }
  32. // IDGTE applies the GTE predicate on the ID field.
  33. func IDGTE(id uint64) predicate.EmployeeConfig {
  34. return predicate.EmployeeConfig(sql.FieldGTE(FieldID, id))
  35. }
  36. // IDLT applies the LT predicate on the ID field.
  37. func IDLT(id uint64) predicate.EmployeeConfig {
  38. return predicate.EmployeeConfig(sql.FieldLT(FieldID, id))
  39. }
  40. // IDLTE applies the LTE predicate on the ID field.
  41. func IDLTE(id uint64) predicate.EmployeeConfig {
  42. return predicate.EmployeeConfig(sql.FieldLTE(FieldID, id))
  43. }
  44. // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
  45. func CreatedAt(v time.Time) predicate.EmployeeConfig {
  46. return predicate.EmployeeConfig(sql.FieldEQ(FieldCreatedAt, v))
  47. }
  48. // UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
  49. func UpdatedAt(v time.Time) predicate.EmployeeConfig {
  50. return predicate.EmployeeConfig(sql.FieldEQ(FieldUpdatedAt, v))
  51. }
  52. // DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
  53. func DeletedAt(v time.Time) predicate.EmployeeConfig {
  54. return predicate.EmployeeConfig(sql.FieldEQ(FieldDeletedAt, v))
  55. }
  56. // Stype applies equality check predicate on the "stype" field. It's identical to StypeEQ.
  57. func Stype(v string) predicate.EmployeeConfig {
  58. return predicate.EmployeeConfig(sql.FieldEQ(FieldStype, v))
  59. }
  60. // Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
  61. func Title(v string) predicate.EmployeeConfig {
  62. return predicate.EmployeeConfig(sql.FieldEQ(FieldTitle, v))
  63. }
  64. // Photo applies equality check predicate on the "photo" field. It's identical to PhotoEQ.
  65. func Photo(v string) predicate.EmployeeConfig {
  66. return predicate.EmployeeConfig(sql.FieldEQ(FieldPhoto, v))
  67. }
  68. // OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
  69. func OrganizationID(v uint64) predicate.EmployeeConfig {
  70. return predicate.EmployeeConfig(sql.FieldEQ(FieldOrganizationID, v))
  71. }
  72. // CreatedAtEQ applies the EQ predicate on the "created_at" field.
  73. func CreatedAtEQ(v time.Time) predicate.EmployeeConfig {
  74. return predicate.EmployeeConfig(sql.FieldEQ(FieldCreatedAt, v))
  75. }
  76. // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
  77. func CreatedAtNEQ(v time.Time) predicate.EmployeeConfig {
  78. return predicate.EmployeeConfig(sql.FieldNEQ(FieldCreatedAt, v))
  79. }
  80. // CreatedAtIn applies the In predicate on the "created_at" field.
  81. func CreatedAtIn(vs ...time.Time) predicate.EmployeeConfig {
  82. return predicate.EmployeeConfig(sql.FieldIn(FieldCreatedAt, vs...))
  83. }
  84. // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
  85. func CreatedAtNotIn(vs ...time.Time) predicate.EmployeeConfig {
  86. return predicate.EmployeeConfig(sql.FieldNotIn(FieldCreatedAt, vs...))
  87. }
  88. // CreatedAtGT applies the GT predicate on the "created_at" field.
  89. func CreatedAtGT(v time.Time) predicate.EmployeeConfig {
  90. return predicate.EmployeeConfig(sql.FieldGT(FieldCreatedAt, v))
  91. }
  92. // CreatedAtGTE applies the GTE predicate on the "created_at" field.
  93. func CreatedAtGTE(v time.Time) predicate.EmployeeConfig {
  94. return predicate.EmployeeConfig(sql.FieldGTE(FieldCreatedAt, v))
  95. }
  96. // CreatedAtLT applies the LT predicate on the "created_at" field.
  97. func CreatedAtLT(v time.Time) predicate.EmployeeConfig {
  98. return predicate.EmployeeConfig(sql.FieldLT(FieldCreatedAt, v))
  99. }
  100. // CreatedAtLTE applies the LTE predicate on the "created_at" field.
  101. func CreatedAtLTE(v time.Time) predicate.EmployeeConfig {
  102. return predicate.EmployeeConfig(sql.FieldLTE(FieldCreatedAt, v))
  103. }
  104. // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
  105. func UpdatedAtEQ(v time.Time) predicate.EmployeeConfig {
  106. return predicate.EmployeeConfig(sql.FieldEQ(FieldUpdatedAt, v))
  107. }
  108. // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
  109. func UpdatedAtNEQ(v time.Time) predicate.EmployeeConfig {
  110. return predicate.EmployeeConfig(sql.FieldNEQ(FieldUpdatedAt, v))
  111. }
  112. // UpdatedAtIn applies the In predicate on the "updated_at" field.
  113. func UpdatedAtIn(vs ...time.Time) predicate.EmployeeConfig {
  114. return predicate.EmployeeConfig(sql.FieldIn(FieldUpdatedAt, vs...))
  115. }
  116. // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
  117. func UpdatedAtNotIn(vs ...time.Time) predicate.EmployeeConfig {
  118. return predicate.EmployeeConfig(sql.FieldNotIn(FieldUpdatedAt, vs...))
  119. }
  120. // UpdatedAtGT applies the GT predicate on the "updated_at" field.
  121. func UpdatedAtGT(v time.Time) predicate.EmployeeConfig {
  122. return predicate.EmployeeConfig(sql.FieldGT(FieldUpdatedAt, v))
  123. }
  124. // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
  125. func UpdatedAtGTE(v time.Time) predicate.EmployeeConfig {
  126. return predicate.EmployeeConfig(sql.FieldGTE(FieldUpdatedAt, v))
  127. }
  128. // UpdatedAtLT applies the LT predicate on the "updated_at" field.
  129. func UpdatedAtLT(v time.Time) predicate.EmployeeConfig {
  130. return predicate.EmployeeConfig(sql.FieldLT(FieldUpdatedAt, v))
  131. }
  132. // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
  133. func UpdatedAtLTE(v time.Time) predicate.EmployeeConfig {
  134. return predicate.EmployeeConfig(sql.FieldLTE(FieldUpdatedAt, v))
  135. }
  136. // DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
  137. func DeletedAtEQ(v time.Time) predicate.EmployeeConfig {
  138. return predicate.EmployeeConfig(sql.FieldEQ(FieldDeletedAt, v))
  139. }
  140. // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
  141. func DeletedAtNEQ(v time.Time) predicate.EmployeeConfig {
  142. return predicate.EmployeeConfig(sql.FieldNEQ(FieldDeletedAt, v))
  143. }
  144. // DeletedAtIn applies the In predicate on the "deleted_at" field.
  145. func DeletedAtIn(vs ...time.Time) predicate.EmployeeConfig {
  146. return predicate.EmployeeConfig(sql.FieldIn(FieldDeletedAt, vs...))
  147. }
  148. // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
  149. func DeletedAtNotIn(vs ...time.Time) predicate.EmployeeConfig {
  150. return predicate.EmployeeConfig(sql.FieldNotIn(FieldDeletedAt, vs...))
  151. }
  152. // DeletedAtGT applies the GT predicate on the "deleted_at" field.
  153. func DeletedAtGT(v time.Time) predicate.EmployeeConfig {
  154. return predicate.EmployeeConfig(sql.FieldGT(FieldDeletedAt, v))
  155. }
  156. // DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
  157. func DeletedAtGTE(v time.Time) predicate.EmployeeConfig {
  158. return predicate.EmployeeConfig(sql.FieldGTE(FieldDeletedAt, v))
  159. }
  160. // DeletedAtLT applies the LT predicate on the "deleted_at" field.
  161. func DeletedAtLT(v time.Time) predicate.EmployeeConfig {
  162. return predicate.EmployeeConfig(sql.FieldLT(FieldDeletedAt, v))
  163. }
  164. // DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
  165. func DeletedAtLTE(v time.Time) predicate.EmployeeConfig {
  166. return predicate.EmployeeConfig(sql.FieldLTE(FieldDeletedAt, v))
  167. }
  168. // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
  169. func DeletedAtIsNil() predicate.EmployeeConfig {
  170. return predicate.EmployeeConfig(sql.FieldIsNull(FieldDeletedAt))
  171. }
  172. // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
  173. func DeletedAtNotNil() predicate.EmployeeConfig {
  174. return predicate.EmployeeConfig(sql.FieldNotNull(FieldDeletedAt))
  175. }
  176. // StypeEQ applies the EQ predicate on the "stype" field.
  177. func StypeEQ(v string) predicate.EmployeeConfig {
  178. return predicate.EmployeeConfig(sql.FieldEQ(FieldStype, v))
  179. }
  180. // StypeNEQ applies the NEQ predicate on the "stype" field.
  181. func StypeNEQ(v string) predicate.EmployeeConfig {
  182. return predicate.EmployeeConfig(sql.FieldNEQ(FieldStype, v))
  183. }
  184. // StypeIn applies the In predicate on the "stype" field.
  185. func StypeIn(vs ...string) predicate.EmployeeConfig {
  186. return predicate.EmployeeConfig(sql.FieldIn(FieldStype, vs...))
  187. }
  188. // StypeNotIn applies the NotIn predicate on the "stype" field.
  189. func StypeNotIn(vs ...string) predicate.EmployeeConfig {
  190. return predicate.EmployeeConfig(sql.FieldNotIn(FieldStype, vs...))
  191. }
  192. // StypeGT applies the GT predicate on the "stype" field.
  193. func StypeGT(v string) predicate.EmployeeConfig {
  194. return predicate.EmployeeConfig(sql.FieldGT(FieldStype, v))
  195. }
  196. // StypeGTE applies the GTE predicate on the "stype" field.
  197. func StypeGTE(v string) predicate.EmployeeConfig {
  198. return predicate.EmployeeConfig(sql.FieldGTE(FieldStype, v))
  199. }
  200. // StypeLT applies the LT predicate on the "stype" field.
  201. func StypeLT(v string) predicate.EmployeeConfig {
  202. return predicate.EmployeeConfig(sql.FieldLT(FieldStype, v))
  203. }
  204. // StypeLTE applies the LTE predicate on the "stype" field.
  205. func StypeLTE(v string) predicate.EmployeeConfig {
  206. return predicate.EmployeeConfig(sql.FieldLTE(FieldStype, v))
  207. }
  208. // StypeContains applies the Contains predicate on the "stype" field.
  209. func StypeContains(v string) predicate.EmployeeConfig {
  210. return predicate.EmployeeConfig(sql.FieldContains(FieldStype, v))
  211. }
  212. // StypeHasPrefix applies the HasPrefix predicate on the "stype" field.
  213. func StypeHasPrefix(v string) predicate.EmployeeConfig {
  214. return predicate.EmployeeConfig(sql.FieldHasPrefix(FieldStype, v))
  215. }
  216. // StypeHasSuffix applies the HasSuffix predicate on the "stype" field.
  217. func StypeHasSuffix(v string) predicate.EmployeeConfig {
  218. return predicate.EmployeeConfig(sql.FieldHasSuffix(FieldStype, v))
  219. }
  220. // StypeEqualFold applies the EqualFold predicate on the "stype" field.
  221. func StypeEqualFold(v string) predicate.EmployeeConfig {
  222. return predicate.EmployeeConfig(sql.FieldEqualFold(FieldStype, v))
  223. }
  224. // StypeContainsFold applies the ContainsFold predicate on the "stype" field.
  225. func StypeContainsFold(v string) predicate.EmployeeConfig {
  226. return predicate.EmployeeConfig(sql.FieldContainsFold(FieldStype, v))
  227. }
  228. // TitleEQ applies the EQ predicate on the "title" field.
  229. func TitleEQ(v string) predicate.EmployeeConfig {
  230. return predicate.EmployeeConfig(sql.FieldEQ(FieldTitle, v))
  231. }
  232. // TitleNEQ applies the NEQ predicate on the "title" field.
  233. func TitleNEQ(v string) predicate.EmployeeConfig {
  234. return predicate.EmployeeConfig(sql.FieldNEQ(FieldTitle, v))
  235. }
  236. // TitleIn applies the In predicate on the "title" field.
  237. func TitleIn(vs ...string) predicate.EmployeeConfig {
  238. return predicate.EmployeeConfig(sql.FieldIn(FieldTitle, vs...))
  239. }
  240. // TitleNotIn applies the NotIn predicate on the "title" field.
  241. func TitleNotIn(vs ...string) predicate.EmployeeConfig {
  242. return predicate.EmployeeConfig(sql.FieldNotIn(FieldTitle, vs...))
  243. }
  244. // TitleGT applies the GT predicate on the "title" field.
  245. func TitleGT(v string) predicate.EmployeeConfig {
  246. return predicate.EmployeeConfig(sql.FieldGT(FieldTitle, v))
  247. }
  248. // TitleGTE applies the GTE predicate on the "title" field.
  249. func TitleGTE(v string) predicate.EmployeeConfig {
  250. return predicate.EmployeeConfig(sql.FieldGTE(FieldTitle, v))
  251. }
  252. // TitleLT applies the LT predicate on the "title" field.
  253. func TitleLT(v string) predicate.EmployeeConfig {
  254. return predicate.EmployeeConfig(sql.FieldLT(FieldTitle, v))
  255. }
  256. // TitleLTE applies the LTE predicate on the "title" field.
  257. func TitleLTE(v string) predicate.EmployeeConfig {
  258. return predicate.EmployeeConfig(sql.FieldLTE(FieldTitle, v))
  259. }
  260. // TitleContains applies the Contains predicate on the "title" field.
  261. func TitleContains(v string) predicate.EmployeeConfig {
  262. return predicate.EmployeeConfig(sql.FieldContains(FieldTitle, v))
  263. }
  264. // TitleHasPrefix applies the HasPrefix predicate on the "title" field.
  265. func TitleHasPrefix(v string) predicate.EmployeeConfig {
  266. return predicate.EmployeeConfig(sql.FieldHasPrefix(FieldTitle, v))
  267. }
  268. // TitleHasSuffix applies the HasSuffix predicate on the "title" field.
  269. func TitleHasSuffix(v string) predicate.EmployeeConfig {
  270. return predicate.EmployeeConfig(sql.FieldHasSuffix(FieldTitle, v))
  271. }
  272. // TitleEqualFold applies the EqualFold predicate on the "title" field.
  273. func TitleEqualFold(v string) predicate.EmployeeConfig {
  274. return predicate.EmployeeConfig(sql.FieldEqualFold(FieldTitle, v))
  275. }
  276. // TitleContainsFold applies the ContainsFold predicate on the "title" field.
  277. func TitleContainsFold(v string) predicate.EmployeeConfig {
  278. return predicate.EmployeeConfig(sql.FieldContainsFold(FieldTitle, v))
  279. }
  280. // PhotoEQ applies the EQ predicate on the "photo" field.
  281. func PhotoEQ(v string) predicate.EmployeeConfig {
  282. return predicate.EmployeeConfig(sql.FieldEQ(FieldPhoto, v))
  283. }
  284. // PhotoNEQ applies the NEQ predicate on the "photo" field.
  285. func PhotoNEQ(v string) predicate.EmployeeConfig {
  286. return predicate.EmployeeConfig(sql.FieldNEQ(FieldPhoto, v))
  287. }
  288. // PhotoIn applies the In predicate on the "photo" field.
  289. func PhotoIn(vs ...string) predicate.EmployeeConfig {
  290. return predicate.EmployeeConfig(sql.FieldIn(FieldPhoto, vs...))
  291. }
  292. // PhotoNotIn applies the NotIn predicate on the "photo" field.
  293. func PhotoNotIn(vs ...string) predicate.EmployeeConfig {
  294. return predicate.EmployeeConfig(sql.FieldNotIn(FieldPhoto, vs...))
  295. }
  296. // PhotoGT applies the GT predicate on the "photo" field.
  297. func PhotoGT(v string) predicate.EmployeeConfig {
  298. return predicate.EmployeeConfig(sql.FieldGT(FieldPhoto, v))
  299. }
  300. // PhotoGTE applies the GTE predicate on the "photo" field.
  301. func PhotoGTE(v string) predicate.EmployeeConfig {
  302. return predicate.EmployeeConfig(sql.FieldGTE(FieldPhoto, v))
  303. }
  304. // PhotoLT applies the LT predicate on the "photo" field.
  305. func PhotoLT(v string) predicate.EmployeeConfig {
  306. return predicate.EmployeeConfig(sql.FieldLT(FieldPhoto, v))
  307. }
  308. // PhotoLTE applies the LTE predicate on the "photo" field.
  309. func PhotoLTE(v string) predicate.EmployeeConfig {
  310. return predicate.EmployeeConfig(sql.FieldLTE(FieldPhoto, v))
  311. }
  312. // PhotoContains applies the Contains predicate on the "photo" field.
  313. func PhotoContains(v string) predicate.EmployeeConfig {
  314. return predicate.EmployeeConfig(sql.FieldContains(FieldPhoto, v))
  315. }
  316. // PhotoHasPrefix applies the HasPrefix predicate on the "photo" field.
  317. func PhotoHasPrefix(v string) predicate.EmployeeConfig {
  318. return predicate.EmployeeConfig(sql.FieldHasPrefix(FieldPhoto, v))
  319. }
  320. // PhotoHasSuffix applies the HasSuffix predicate on the "photo" field.
  321. func PhotoHasSuffix(v string) predicate.EmployeeConfig {
  322. return predicate.EmployeeConfig(sql.FieldHasSuffix(FieldPhoto, v))
  323. }
  324. // PhotoEqualFold applies the EqualFold predicate on the "photo" field.
  325. func PhotoEqualFold(v string) predicate.EmployeeConfig {
  326. return predicate.EmployeeConfig(sql.FieldEqualFold(FieldPhoto, v))
  327. }
  328. // PhotoContainsFold applies the ContainsFold predicate on the "photo" field.
  329. func PhotoContainsFold(v string) predicate.EmployeeConfig {
  330. return predicate.EmployeeConfig(sql.FieldContainsFold(FieldPhoto, v))
  331. }
  332. // OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
  333. func OrganizationIDEQ(v uint64) predicate.EmployeeConfig {
  334. return predicate.EmployeeConfig(sql.FieldEQ(FieldOrganizationID, v))
  335. }
  336. // OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
  337. func OrganizationIDNEQ(v uint64) predicate.EmployeeConfig {
  338. return predicate.EmployeeConfig(sql.FieldNEQ(FieldOrganizationID, v))
  339. }
  340. // OrganizationIDIn applies the In predicate on the "organization_id" field.
  341. func OrganizationIDIn(vs ...uint64) predicate.EmployeeConfig {
  342. return predicate.EmployeeConfig(sql.FieldIn(FieldOrganizationID, vs...))
  343. }
  344. // OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
  345. func OrganizationIDNotIn(vs ...uint64) predicate.EmployeeConfig {
  346. return predicate.EmployeeConfig(sql.FieldNotIn(FieldOrganizationID, vs...))
  347. }
  348. // OrganizationIDGT applies the GT predicate on the "organization_id" field.
  349. func OrganizationIDGT(v uint64) predicate.EmployeeConfig {
  350. return predicate.EmployeeConfig(sql.FieldGT(FieldOrganizationID, v))
  351. }
  352. // OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
  353. func OrganizationIDGTE(v uint64) predicate.EmployeeConfig {
  354. return predicate.EmployeeConfig(sql.FieldGTE(FieldOrganizationID, v))
  355. }
  356. // OrganizationIDLT applies the LT predicate on the "organization_id" field.
  357. func OrganizationIDLT(v uint64) predicate.EmployeeConfig {
  358. return predicate.EmployeeConfig(sql.FieldLT(FieldOrganizationID, v))
  359. }
  360. // OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
  361. func OrganizationIDLTE(v uint64) predicate.EmployeeConfig {
  362. return predicate.EmployeeConfig(sql.FieldLTE(FieldOrganizationID, v))
  363. }
  364. // OrganizationIDIsNil applies the IsNil predicate on the "organization_id" field.
  365. func OrganizationIDIsNil() predicate.EmployeeConfig {
  366. return predicate.EmployeeConfig(sql.FieldIsNull(FieldOrganizationID))
  367. }
  368. // OrganizationIDNotNil applies the NotNil predicate on the "organization_id" field.
  369. func OrganizationIDNotNil() predicate.EmployeeConfig {
  370. return predicate.EmployeeConfig(sql.FieldNotNull(FieldOrganizationID))
  371. }
  372. // And groups predicates with the AND operator between them.
  373. func And(predicates ...predicate.EmployeeConfig) predicate.EmployeeConfig {
  374. return predicate.EmployeeConfig(sql.AndPredicates(predicates...))
  375. }
  376. // Or groups predicates with the OR operator between them.
  377. func Or(predicates ...predicate.EmployeeConfig) predicate.EmployeeConfig {
  378. return predicate.EmployeeConfig(sql.OrPredicates(predicates...))
  379. }
  380. // Not applies the not operator on the given predicate.
  381. func Not(p predicate.EmployeeConfig) predicate.EmployeeConfig {
  382. return predicate.EmployeeConfig(sql.NotPredicates(p))
  383. }