where.go 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805
  1. // Code generated by ent, DO NOT EDIT.
  2. package aliyunavatar
  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.AliyunAvatar {
  10. return predicate.AliyunAvatar(sql.FieldEQ(FieldID, id))
  11. }
  12. // IDEQ applies the EQ predicate on the ID field.
  13. func IDEQ(id uint64) predicate.AliyunAvatar {
  14. return predicate.AliyunAvatar(sql.FieldEQ(FieldID, id))
  15. }
  16. // IDNEQ applies the NEQ predicate on the ID field.
  17. func IDNEQ(id uint64) predicate.AliyunAvatar {
  18. return predicate.AliyunAvatar(sql.FieldNEQ(FieldID, id))
  19. }
  20. // IDIn applies the In predicate on the ID field.
  21. func IDIn(ids ...uint64) predicate.AliyunAvatar {
  22. return predicate.AliyunAvatar(sql.FieldIn(FieldID, ids...))
  23. }
  24. // IDNotIn applies the NotIn predicate on the ID field.
  25. func IDNotIn(ids ...uint64) predicate.AliyunAvatar {
  26. return predicate.AliyunAvatar(sql.FieldNotIn(FieldID, ids...))
  27. }
  28. // IDGT applies the GT predicate on the ID field.
  29. func IDGT(id uint64) predicate.AliyunAvatar {
  30. return predicate.AliyunAvatar(sql.FieldGT(FieldID, id))
  31. }
  32. // IDGTE applies the GTE predicate on the ID field.
  33. func IDGTE(id uint64) predicate.AliyunAvatar {
  34. return predicate.AliyunAvatar(sql.FieldGTE(FieldID, id))
  35. }
  36. // IDLT applies the LT predicate on the ID field.
  37. func IDLT(id uint64) predicate.AliyunAvatar {
  38. return predicate.AliyunAvatar(sql.FieldLT(FieldID, id))
  39. }
  40. // IDLTE applies the LTE predicate on the ID field.
  41. func IDLTE(id uint64) predicate.AliyunAvatar {
  42. return predicate.AliyunAvatar(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.AliyunAvatar {
  46. return predicate.AliyunAvatar(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.AliyunAvatar {
  50. return predicate.AliyunAvatar(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.AliyunAvatar {
  54. return predicate.AliyunAvatar(sql.FieldEQ(FieldDeletedAt, v))
  55. }
  56. // UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
  57. func UserID(v uint64) predicate.AliyunAvatar {
  58. return predicate.AliyunAvatar(sql.FieldEQ(FieldUserID, v))
  59. }
  60. // BizID applies equality check predicate on the "biz_id" field. It's identical to BizIDEQ.
  61. func BizID(v string) predicate.AliyunAvatar {
  62. return predicate.AliyunAvatar(sql.FieldEQ(FieldBizID, v))
  63. }
  64. // AccessKeyID applies equality check predicate on the "access_key_id" field. It's identical to AccessKeyIDEQ.
  65. func AccessKeyID(v string) predicate.AliyunAvatar {
  66. return predicate.AliyunAvatar(sql.FieldEQ(FieldAccessKeyID, v))
  67. }
  68. // AccessKeySecret applies equality check predicate on the "access_key_secret" field. It's identical to AccessKeySecretEQ.
  69. func AccessKeySecret(v string) predicate.AliyunAvatar {
  70. return predicate.AliyunAvatar(sql.FieldEQ(FieldAccessKeySecret, v))
  71. }
  72. // AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.
  73. func AppID(v string) predicate.AliyunAvatar {
  74. return predicate.AliyunAvatar(sql.FieldEQ(FieldAppID, v))
  75. }
  76. // TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
  77. func TenantID(v uint64) predicate.AliyunAvatar {
  78. return predicate.AliyunAvatar(sql.FieldEQ(FieldTenantID, v))
  79. }
  80. // Response applies equality check predicate on the "response" field. It's identical to ResponseEQ.
  81. func Response(v string) predicate.AliyunAvatar {
  82. return predicate.AliyunAvatar(sql.FieldEQ(FieldResponse, v))
  83. }
  84. // Token applies equality check predicate on the "token" field. It's identical to TokenEQ.
  85. func Token(v string) predicate.AliyunAvatar {
  86. return predicate.AliyunAvatar(sql.FieldEQ(FieldToken, v))
  87. }
  88. // SessionID applies equality check predicate on the "session_id" field. It's identical to SessionIDEQ.
  89. func SessionID(v string) predicate.AliyunAvatar {
  90. return predicate.AliyunAvatar(sql.FieldEQ(FieldSessionID, v))
  91. }
  92. // CreatedAtEQ applies the EQ predicate on the "created_at" field.
  93. func CreatedAtEQ(v time.Time) predicate.AliyunAvatar {
  94. return predicate.AliyunAvatar(sql.FieldEQ(FieldCreatedAt, v))
  95. }
  96. // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
  97. func CreatedAtNEQ(v time.Time) predicate.AliyunAvatar {
  98. return predicate.AliyunAvatar(sql.FieldNEQ(FieldCreatedAt, v))
  99. }
  100. // CreatedAtIn applies the In predicate on the "created_at" field.
  101. func CreatedAtIn(vs ...time.Time) predicate.AliyunAvatar {
  102. return predicate.AliyunAvatar(sql.FieldIn(FieldCreatedAt, vs...))
  103. }
  104. // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
  105. func CreatedAtNotIn(vs ...time.Time) predicate.AliyunAvatar {
  106. return predicate.AliyunAvatar(sql.FieldNotIn(FieldCreatedAt, vs...))
  107. }
  108. // CreatedAtGT applies the GT predicate on the "created_at" field.
  109. func CreatedAtGT(v time.Time) predicate.AliyunAvatar {
  110. return predicate.AliyunAvatar(sql.FieldGT(FieldCreatedAt, v))
  111. }
  112. // CreatedAtGTE applies the GTE predicate on the "created_at" field.
  113. func CreatedAtGTE(v time.Time) predicate.AliyunAvatar {
  114. return predicate.AliyunAvatar(sql.FieldGTE(FieldCreatedAt, v))
  115. }
  116. // CreatedAtLT applies the LT predicate on the "created_at" field.
  117. func CreatedAtLT(v time.Time) predicate.AliyunAvatar {
  118. return predicate.AliyunAvatar(sql.FieldLT(FieldCreatedAt, v))
  119. }
  120. // CreatedAtLTE applies the LTE predicate on the "created_at" field.
  121. func CreatedAtLTE(v time.Time) predicate.AliyunAvatar {
  122. return predicate.AliyunAvatar(sql.FieldLTE(FieldCreatedAt, v))
  123. }
  124. // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
  125. func UpdatedAtEQ(v time.Time) predicate.AliyunAvatar {
  126. return predicate.AliyunAvatar(sql.FieldEQ(FieldUpdatedAt, v))
  127. }
  128. // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
  129. func UpdatedAtNEQ(v time.Time) predicate.AliyunAvatar {
  130. return predicate.AliyunAvatar(sql.FieldNEQ(FieldUpdatedAt, v))
  131. }
  132. // UpdatedAtIn applies the In predicate on the "updated_at" field.
  133. func UpdatedAtIn(vs ...time.Time) predicate.AliyunAvatar {
  134. return predicate.AliyunAvatar(sql.FieldIn(FieldUpdatedAt, vs...))
  135. }
  136. // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
  137. func UpdatedAtNotIn(vs ...time.Time) predicate.AliyunAvatar {
  138. return predicate.AliyunAvatar(sql.FieldNotIn(FieldUpdatedAt, vs...))
  139. }
  140. // UpdatedAtGT applies the GT predicate on the "updated_at" field.
  141. func UpdatedAtGT(v time.Time) predicate.AliyunAvatar {
  142. return predicate.AliyunAvatar(sql.FieldGT(FieldUpdatedAt, v))
  143. }
  144. // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
  145. func UpdatedAtGTE(v time.Time) predicate.AliyunAvatar {
  146. return predicate.AliyunAvatar(sql.FieldGTE(FieldUpdatedAt, v))
  147. }
  148. // UpdatedAtLT applies the LT predicate on the "updated_at" field.
  149. func UpdatedAtLT(v time.Time) predicate.AliyunAvatar {
  150. return predicate.AliyunAvatar(sql.FieldLT(FieldUpdatedAt, v))
  151. }
  152. // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
  153. func UpdatedAtLTE(v time.Time) predicate.AliyunAvatar {
  154. return predicate.AliyunAvatar(sql.FieldLTE(FieldUpdatedAt, v))
  155. }
  156. // DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
  157. func DeletedAtEQ(v time.Time) predicate.AliyunAvatar {
  158. return predicate.AliyunAvatar(sql.FieldEQ(FieldDeletedAt, v))
  159. }
  160. // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
  161. func DeletedAtNEQ(v time.Time) predicate.AliyunAvatar {
  162. return predicate.AliyunAvatar(sql.FieldNEQ(FieldDeletedAt, v))
  163. }
  164. // DeletedAtIn applies the In predicate on the "deleted_at" field.
  165. func DeletedAtIn(vs ...time.Time) predicate.AliyunAvatar {
  166. return predicate.AliyunAvatar(sql.FieldIn(FieldDeletedAt, vs...))
  167. }
  168. // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
  169. func DeletedAtNotIn(vs ...time.Time) predicate.AliyunAvatar {
  170. return predicate.AliyunAvatar(sql.FieldNotIn(FieldDeletedAt, vs...))
  171. }
  172. // DeletedAtGT applies the GT predicate on the "deleted_at" field.
  173. func DeletedAtGT(v time.Time) predicate.AliyunAvatar {
  174. return predicate.AliyunAvatar(sql.FieldGT(FieldDeletedAt, v))
  175. }
  176. // DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
  177. func DeletedAtGTE(v time.Time) predicate.AliyunAvatar {
  178. return predicate.AliyunAvatar(sql.FieldGTE(FieldDeletedAt, v))
  179. }
  180. // DeletedAtLT applies the LT predicate on the "deleted_at" field.
  181. func DeletedAtLT(v time.Time) predicate.AliyunAvatar {
  182. return predicate.AliyunAvatar(sql.FieldLT(FieldDeletedAt, v))
  183. }
  184. // DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
  185. func DeletedAtLTE(v time.Time) predicate.AliyunAvatar {
  186. return predicate.AliyunAvatar(sql.FieldLTE(FieldDeletedAt, v))
  187. }
  188. // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
  189. func DeletedAtIsNil() predicate.AliyunAvatar {
  190. return predicate.AliyunAvatar(sql.FieldIsNull(FieldDeletedAt))
  191. }
  192. // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
  193. func DeletedAtNotNil() predicate.AliyunAvatar {
  194. return predicate.AliyunAvatar(sql.FieldNotNull(FieldDeletedAt))
  195. }
  196. // UserIDEQ applies the EQ predicate on the "user_id" field.
  197. func UserIDEQ(v uint64) predicate.AliyunAvatar {
  198. return predicate.AliyunAvatar(sql.FieldEQ(FieldUserID, v))
  199. }
  200. // UserIDNEQ applies the NEQ predicate on the "user_id" field.
  201. func UserIDNEQ(v uint64) predicate.AliyunAvatar {
  202. return predicate.AliyunAvatar(sql.FieldNEQ(FieldUserID, v))
  203. }
  204. // UserIDIn applies the In predicate on the "user_id" field.
  205. func UserIDIn(vs ...uint64) predicate.AliyunAvatar {
  206. return predicate.AliyunAvatar(sql.FieldIn(FieldUserID, vs...))
  207. }
  208. // UserIDNotIn applies the NotIn predicate on the "user_id" field.
  209. func UserIDNotIn(vs ...uint64) predicate.AliyunAvatar {
  210. return predicate.AliyunAvatar(sql.FieldNotIn(FieldUserID, vs...))
  211. }
  212. // UserIDGT applies the GT predicate on the "user_id" field.
  213. func UserIDGT(v uint64) predicate.AliyunAvatar {
  214. return predicate.AliyunAvatar(sql.FieldGT(FieldUserID, v))
  215. }
  216. // UserIDGTE applies the GTE predicate on the "user_id" field.
  217. func UserIDGTE(v uint64) predicate.AliyunAvatar {
  218. return predicate.AliyunAvatar(sql.FieldGTE(FieldUserID, v))
  219. }
  220. // UserIDLT applies the LT predicate on the "user_id" field.
  221. func UserIDLT(v uint64) predicate.AliyunAvatar {
  222. return predicate.AliyunAvatar(sql.FieldLT(FieldUserID, v))
  223. }
  224. // UserIDLTE applies the LTE predicate on the "user_id" field.
  225. func UserIDLTE(v uint64) predicate.AliyunAvatar {
  226. return predicate.AliyunAvatar(sql.FieldLTE(FieldUserID, v))
  227. }
  228. // BizIDEQ applies the EQ predicate on the "biz_id" field.
  229. func BizIDEQ(v string) predicate.AliyunAvatar {
  230. return predicate.AliyunAvatar(sql.FieldEQ(FieldBizID, v))
  231. }
  232. // BizIDNEQ applies the NEQ predicate on the "biz_id" field.
  233. func BizIDNEQ(v string) predicate.AliyunAvatar {
  234. return predicate.AliyunAvatar(sql.FieldNEQ(FieldBizID, v))
  235. }
  236. // BizIDIn applies the In predicate on the "biz_id" field.
  237. func BizIDIn(vs ...string) predicate.AliyunAvatar {
  238. return predicate.AliyunAvatar(sql.FieldIn(FieldBizID, vs...))
  239. }
  240. // BizIDNotIn applies the NotIn predicate on the "biz_id" field.
  241. func BizIDNotIn(vs ...string) predicate.AliyunAvatar {
  242. return predicate.AliyunAvatar(sql.FieldNotIn(FieldBizID, vs...))
  243. }
  244. // BizIDGT applies the GT predicate on the "biz_id" field.
  245. func BizIDGT(v string) predicate.AliyunAvatar {
  246. return predicate.AliyunAvatar(sql.FieldGT(FieldBizID, v))
  247. }
  248. // BizIDGTE applies the GTE predicate on the "biz_id" field.
  249. func BizIDGTE(v string) predicate.AliyunAvatar {
  250. return predicate.AliyunAvatar(sql.FieldGTE(FieldBizID, v))
  251. }
  252. // BizIDLT applies the LT predicate on the "biz_id" field.
  253. func BizIDLT(v string) predicate.AliyunAvatar {
  254. return predicate.AliyunAvatar(sql.FieldLT(FieldBizID, v))
  255. }
  256. // BizIDLTE applies the LTE predicate on the "biz_id" field.
  257. func BizIDLTE(v string) predicate.AliyunAvatar {
  258. return predicate.AliyunAvatar(sql.FieldLTE(FieldBizID, v))
  259. }
  260. // BizIDContains applies the Contains predicate on the "biz_id" field.
  261. func BizIDContains(v string) predicate.AliyunAvatar {
  262. return predicate.AliyunAvatar(sql.FieldContains(FieldBizID, v))
  263. }
  264. // BizIDHasPrefix applies the HasPrefix predicate on the "biz_id" field.
  265. func BizIDHasPrefix(v string) predicate.AliyunAvatar {
  266. return predicate.AliyunAvatar(sql.FieldHasPrefix(FieldBizID, v))
  267. }
  268. // BizIDHasSuffix applies the HasSuffix predicate on the "biz_id" field.
  269. func BizIDHasSuffix(v string) predicate.AliyunAvatar {
  270. return predicate.AliyunAvatar(sql.FieldHasSuffix(FieldBizID, v))
  271. }
  272. // BizIDEqualFold applies the EqualFold predicate on the "biz_id" field.
  273. func BizIDEqualFold(v string) predicate.AliyunAvatar {
  274. return predicate.AliyunAvatar(sql.FieldEqualFold(FieldBizID, v))
  275. }
  276. // BizIDContainsFold applies the ContainsFold predicate on the "biz_id" field.
  277. func BizIDContainsFold(v string) predicate.AliyunAvatar {
  278. return predicate.AliyunAvatar(sql.FieldContainsFold(FieldBizID, v))
  279. }
  280. // AccessKeyIDEQ applies the EQ predicate on the "access_key_id" field.
  281. func AccessKeyIDEQ(v string) predicate.AliyunAvatar {
  282. return predicate.AliyunAvatar(sql.FieldEQ(FieldAccessKeyID, v))
  283. }
  284. // AccessKeyIDNEQ applies the NEQ predicate on the "access_key_id" field.
  285. func AccessKeyIDNEQ(v string) predicate.AliyunAvatar {
  286. return predicate.AliyunAvatar(sql.FieldNEQ(FieldAccessKeyID, v))
  287. }
  288. // AccessKeyIDIn applies the In predicate on the "access_key_id" field.
  289. func AccessKeyIDIn(vs ...string) predicate.AliyunAvatar {
  290. return predicate.AliyunAvatar(sql.FieldIn(FieldAccessKeyID, vs...))
  291. }
  292. // AccessKeyIDNotIn applies the NotIn predicate on the "access_key_id" field.
  293. func AccessKeyIDNotIn(vs ...string) predicate.AliyunAvatar {
  294. return predicate.AliyunAvatar(sql.FieldNotIn(FieldAccessKeyID, vs...))
  295. }
  296. // AccessKeyIDGT applies the GT predicate on the "access_key_id" field.
  297. func AccessKeyIDGT(v string) predicate.AliyunAvatar {
  298. return predicate.AliyunAvatar(sql.FieldGT(FieldAccessKeyID, v))
  299. }
  300. // AccessKeyIDGTE applies the GTE predicate on the "access_key_id" field.
  301. func AccessKeyIDGTE(v string) predicate.AliyunAvatar {
  302. return predicate.AliyunAvatar(sql.FieldGTE(FieldAccessKeyID, v))
  303. }
  304. // AccessKeyIDLT applies the LT predicate on the "access_key_id" field.
  305. func AccessKeyIDLT(v string) predicate.AliyunAvatar {
  306. return predicate.AliyunAvatar(sql.FieldLT(FieldAccessKeyID, v))
  307. }
  308. // AccessKeyIDLTE applies the LTE predicate on the "access_key_id" field.
  309. func AccessKeyIDLTE(v string) predicate.AliyunAvatar {
  310. return predicate.AliyunAvatar(sql.FieldLTE(FieldAccessKeyID, v))
  311. }
  312. // AccessKeyIDContains applies the Contains predicate on the "access_key_id" field.
  313. func AccessKeyIDContains(v string) predicate.AliyunAvatar {
  314. return predicate.AliyunAvatar(sql.FieldContains(FieldAccessKeyID, v))
  315. }
  316. // AccessKeyIDHasPrefix applies the HasPrefix predicate on the "access_key_id" field.
  317. func AccessKeyIDHasPrefix(v string) predicate.AliyunAvatar {
  318. return predicate.AliyunAvatar(sql.FieldHasPrefix(FieldAccessKeyID, v))
  319. }
  320. // AccessKeyIDHasSuffix applies the HasSuffix predicate on the "access_key_id" field.
  321. func AccessKeyIDHasSuffix(v string) predicate.AliyunAvatar {
  322. return predicate.AliyunAvatar(sql.FieldHasSuffix(FieldAccessKeyID, v))
  323. }
  324. // AccessKeyIDEqualFold applies the EqualFold predicate on the "access_key_id" field.
  325. func AccessKeyIDEqualFold(v string) predicate.AliyunAvatar {
  326. return predicate.AliyunAvatar(sql.FieldEqualFold(FieldAccessKeyID, v))
  327. }
  328. // AccessKeyIDContainsFold applies the ContainsFold predicate on the "access_key_id" field.
  329. func AccessKeyIDContainsFold(v string) predicate.AliyunAvatar {
  330. return predicate.AliyunAvatar(sql.FieldContainsFold(FieldAccessKeyID, v))
  331. }
  332. // AccessKeySecretEQ applies the EQ predicate on the "access_key_secret" field.
  333. func AccessKeySecretEQ(v string) predicate.AliyunAvatar {
  334. return predicate.AliyunAvatar(sql.FieldEQ(FieldAccessKeySecret, v))
  335. }
  336. // AccessKeySecretNEQ applies the NEQ predicate on the "access_key_secret" field.
  337. func AccessKeySecretNEQ(v string) predicate.AliyunAvatar {
  338. return predicate.AliyunAvatar(sql.FieldNEQ(FieldAccessKeySecret, v))
  339. }
  340. // AccessKeySecretIn applies the In predicate on the "access_key_secret" field.
  341. func AccessKeySecretIn(vs ...string) predicate.AliyunAvatar {
  342. return predicate.AliyunAvatar(sql.FieldIn(FieldAccessKeySecret, vs...))
  343. }
  344. // AccessKeySecretNotIn applies the NotIn predicate on the "access_key_secret" field.
  345. func AccessKeySecretNotIn(vs ...string) predicate.AliyunAvatar {
  346. return predicate.AliyunAvatar(sql.FieldNotIn(FieldAccessKeySecret, vs...))
  347. }
  348. // AccessKeySecretGT applies the GT predicate on the "access_key_secret" field.
  349. func AccessKeySecretGT(v string) predicate.AliyunAvatar {
  350. return predicate.AliyunAvatar(sql.FieldGT(FieldAccessKeySecret, v))
  351. }
  352. // AccessKeySecretGTE applies the GTE predicate on the "access_key_secret" field.
  353. func AccessKeySecretGTE(v string) predicate.AliyunAvatar {
  354. return predicate.AliyunAvatar(sql.FieldGTE(FieldAccessKeySecret, v))
  355. }
  356. // AccessKeySecretLT applies the LT predicate on the "access_key_secret" field.
  357. func AccessKeySecretLT(v string) predicate.AliyunAvatar {
  358. return predicate.AliyunAvatar(sql.FieldLT(FieldAccessKeySecret, v))
  359. }
  360. // AccessKeySecretLTE applies the LTE predicate on the "access_key_secret" field.
  361. func AccessKeySecretLTE(v string) predicate.AliyunAvatar {
  362. return predicate.AliyunAvatar(sql.FieldLTE(FieldAccessKeySecret, v))
  363. }
  364. // AccessKeySecretContains applies the Contains predicate on the "access_key_secret" field.
  365. func AccessKeySecretContains(v string) predicate.AliyunAvatar {
  366. return predicate.AliyunAvatar(sql.FieldContains(FieldAccessKeySecret, v))
  367. }
  368. // AccessKeySecretHasPrefix applies the HasPrefix predicate on the "access_key_secret" field.
  369. func AccessKeySecretHasPrefix(v string) predicate.AliyunAvatar {
  370. return predicate.AliyunAvatar(sql.FieldHasPrefix(FieldAccessKeySecret, v))
  371. }
  372. // AccessKeySecretHasSuffix applies the HasSuffix predicate on the "access_key_secret" field.
  373. func AccessKeySecretHasSuffix(v string) predicate.AliyunAvatar {
  374. return predicate.AliyunAvatar(sql.FieldHasSuffix(FieldAccessKeySecret, v))
  375. }
  376. // AccessKeySecretEqualFold applies the EqualFold predicate on the "access_key_secret" field.
  377. func AccessKeySecretEqualFold(v string) predicate.AliyunAvatar {
  378. return predicate.AliyunAvatar(sql.FieldEqualFold(FieldAccessKeySecret, v))
  379. }
  380. // AccessKeySecretContainsFold applies the ContainsFold predicate on the "access_key_secret" field.
  381. func AccessKeySecretContainsFold(v string) predicate.AliyunAvatar {
  382. return predicate.AliyunAvatar(sql.FieldContainsFold(FieldAccessKeySecret, v))
  383. }
  384. // AppIDEQ applies the EQ predicate on the "app_id" field.
  385. func AppIDEQ(v string) predicate.AliyunAvatar {
  386. return predicate.AliyunAvatar(sql.FieldEQ(FieldAppID, v))
  387. }
  388. // AppIDNEQ applies the NEQ predicate on the "app_id" field.
  389. func AppIDNEQ(v string) predicate.AliyunAvatar {
  390. return predicate.AliyunAvatar(sql.FieldNEQ(FieldAppID, v))
  391. }
  392. // AppIDIn applies the In predicate on the "app_id" field.
  393. func AppIDIn(vs ...string) predicate.AliyunAvatar {
  394. return predicate.AliyunAvatar(sql.FieldIn(FieldAppID, vs...))
  395. }
  396. // AppIDNotIn applies the NotIn predicate on the "app_id" field.
  397. func AppIDNotIn(vs ...string) predicate.AliyunAvatar {
  398. return predicate.AliyunAvatar(sql.FieldNotIn(FieldAppID, vs...))
  399. }
  400. // AppIDGT applies the GT predicate on the "app_id" field.
  401. func AppIDGT(v string) predicate.AliyunAvatar {
  402. return predicate.AliyunAvatar(sql.FieldGT(FieldAppID, v))
  403. }
  404. // AppIDGTE applies the GTE predicate on the "app_id" field.
  405. func AppIDGTE(v string) predicate.AliyunAvatar {
  406. return predicate.AliyunAvatar(sql.FieldGTE(FieldAppID, v))
  407. }
  408. // AppIDLT applies the LT predicate on the "app_id" field.
  409. func AppIDLT(v string) predicate.AliyunAvatar {
  410. return predicate.AliyunAvatar(sql.FieldLT(FieldAppID, v))
  411. }
  412. // AppIDLTE applies the LTE predicate on the "app_id" field.
  413. func AppIDLTE(v string) predicate.AliyunAvatar {
  414. return predicate.AliyunAvatar(sql.FieldLTE(FieldAppID, v))
  415. }
  416. // AppIDContains applies the Contains predicate on the "app_id" field.
  417. func AppIDContains(v string) predicate.AliyunAvatar {
  418. return predicate.AliyunAvatar(sql.FieldContains(FieldAppID, v))
  419. }
  420. // AppIDHasPrefix applies the HasPrefix predicate on the "app_id" field.
  421. func AppIDHasPrefix(v string) predicate.AliyunAvatar {
  422. return predicate.AliyunAvatar(sql.FieldHasPrefix(FieldAppID, v))
  423. }
  424. // AppIDHasSuffix applies the HasSuffix predicate on the "app_id" field.
  425. func AppIDHasSuffix(v string) predicate.AliyunAvatar {
  426. return predicate.AliyunAvatar(sql.FieldHasSuffix(FieldAppID, v))
  427. }
  428. // AppIDIsNil applies the IsNil predicate on the "app_id" field.
  429. func AppIDIsNil() predicate.AliyunAvatar {
  430. return predicate.AliyunAvatar(sql.FieldIsNull(FieldAppID))
  431. }
  432. // AppIDNotNil applies the NotNil predicate on the "app_id" field.
  433. func AppIDNotNil() predicate.AliyunAvatar {
  434. return predicate.AliyunAvatar(sql.FieldNotNull(FieldAppID))
  435. }
  436. // AppIDEqualFold applies the EqualFold predicate on the "app_id" field.
  437. func AppIDEqualFold(v string) predicate.AliyunAvatar {
  438. return predicate.AliyunAvatar(sql.FieldEqualFold(FieldAppID, v))
  439. }
  440. // AppIDContainsFold applies the ContainsFold predicate on the "app_id" field.
  441. func AppIDContainsFold(v string) predicate.AliyunAvatar {
  442. return predicate.AliyunAvatar(sql.FieldContainsFold(FieldAppID, v))
  443. }
  444. // TenantIDEQ applies the EQ predicate on the "tenant_id" field.
  445. func TenantIDEQ(v uint64) predicate.AliyunAvatar {
  446. return predicate.AliyunAvatar(sql.FieldEQ(FieldTenantID, v))
  447. }
  448. // TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
  449. func TenantIDNEQ(v uint64) predicate.AliyunAvatar {
  450. return predicate.AliyunAvatar(sql.FieldNEQ(FieldTenantID, v))
  451. }
  452. // TenantIDIn applies the In predicate on the "tenant_id" field.
  453. func TenantIDIn(vs ...uint64) predicate.AliyunAvatar {
  454. return predicate.AliyunAvatar(sql.FieldIn(FieldTenantID, vs...))
  455. }
  456. // TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
  457. func TenantIDNotIn(vs ...uint64) predicate.AliyunAvatar {
  458. return predicate.AliyunAvatar(sql.FieldNotIn(FieldTenantID, vs...))
  459. }
  460. // TenantIDGT applies the GT predicate on the "tenant_id" field.
  461. func TenantIDGT(v uint64) predicate.AliyunAvatar {
  462. return predicate.AliyunAvatar(sql.FieldGT(FieldTenantID, v))
  463. }
  464. // TenantIDGTE applies the GTE predicate on the "tenant_id" field.
  465. func TenantIDGTE(v uint64) predicate.AliyunAvatar {
  466. return predicate.AliyunAvatar(sql.FieldGTE(FieldTenantID, v))
  467. }
  468. // TenantIDLT applies the LT predicate on the "tenant_id" field.
  469. func TenantIDLT(v uint64) predicate.AliyunAvatar {
  470. return predicate.AliyunAvatar(sql.FieldLT(FieldTenantID, v))
  471. }
  472. // TenantIDLTE applies the LTE predicate on the "tenant_id" field.
  473. func TenantIDLTE(v uint64) predicate.AliyunAvatar {
  474. return predicate.AliyunAvatar(sql.FieldLTE(FieldTenantID, v))
  475. }
  476. // ResponseEQ applies the EQ predicate on the "response" field.
  477. func ResponseEQ(v string) predicate.AliyunAvatar {
  478. return predicate.AliyunAvatar(sql.FieldEQ(FieldResponse, v))
  479. }
  480. // ResponseNEQ applies the NEQ predicate on the "response" field.
  481. func ResponseNEQ(v string) predicate.AliyunAvatar {
  482. return predicate.AliyunAvatar(sql.FieldNEQ(FieldResponse, v))
  483. }
  484. // ResponseIn applies the In predicate on the "response" field.
  485. func ResponseIn(vs ...string) predicate.AliyunAvatar {
  486. return predicate.AliyunAvatar(sql.FieldIn(FieldResponse, vs...))
  487. }
  488. // ResponseNotIn applies the NotIn predicate on the "response" field.
  489. func ResponseNotIn(vs ...string) predicate.AliyunAvatar {
  490. return predicate.AliyunAvatar(sql.FieldNotIn(FieldResponse, vs...))
  491. }
  492. // ResponseGT applies the GT predicate on the "response" field.
  493. func ResponseGT(v string) predicate.AliyunAvatar {
  494. return predicate.AliyunAvatar(sql.FieldGT(FieldResponse, v))
  495. }
  496. // ResponseGTE applies the GTE predicate on the "response" field.
  497. func ResponseGTE(v string) predicate.AliyunAvatar {
  498. return predicate.AliyunAvatar(sql.FieldGTE(FieldResponse, v))
  499. }
  500. // ResponseLT applies the LT predicate on the "response" field.
  501. func ResponseLT(v string) predicate.AliyunAvatar {
  502. return predicate.AliyunAvatar(sql.FieldLT(FieldResponse, v))
  503. }
  504. // ResponseLTE applies the LTE predicate on the "response" field.
  505. func ResponseLTE(v string) predicate.AliyunAvatar {
  506. return predicate.AliyunAvatar(sql.FieldLTE(FieldResponse, v))
  507. }
  508. // ResponseContains applies the Contains predicate on the "response" field.
  509. func ResponseContains(v string) predicate.AliyunAvatar {
  510. return predicate.AliyunAvatar(sql.FieldContains(FieldResponse, v))
  511. }
  512. // ResponseHasPrefix applies the HasPrefix predicate on the "response" field.
  513. func ResponseHasPrefix(v string) predicate.AliyunAvatar {
  514. return predicate.AliyunAvatar(sql.FieldHasPrefix(FieldResponse, v))
  515. }
  516. // ResponseHasSuffix applies the HasSuffix predicate on the "response" field.
  517. func ResponseHasSuffix(v string) predicate.AliyunAvatar {
  518. return predicate.AliyunAvatar(sql.FieldHasSuffix(FieldResponse, v))
  519. }
  520. // ResponseEqualFold applies the EqualFold predicate on the "response" field.
  521. func ResponseEqualFold(v string) predicate.AliyunAvatar {
  522. return predicate.AliyunAvatar(sql.FieldEqualFold(FieldResponse, v))
  523. }
  524. // ResponseContainsFold applies the ContainsFold predicate on the "response" field.
  525. func ResponseContainsFold(v string) predicate.AliyunAvatar {
  526. return predicate.AliyunAvatar(sql.FieldContainsFold(FieldResponse, v))
  527. }
  528. // TokenEQ applies the EQ predicate on the "token" field.
  529. func TokenEQ(v string) predicate.AliyunAvatar {
  530. return predicate.AliyunAvatar(sql.FieldEQ(FieldToken, v))
  531. }
  532. // TokenNEQ applies the NEQ predicate on the "token" field.
  533. func TokenNEQ(v string) predicate.AliyunAvatar {
  534. return predicate.AliyunAvatar(sql.FieldNEQ(FieldToken, v))
  535. }
  536. // TokenIn applies the In predicate on the "token" field.
  537. func TokenIn(vs ...string) predicate.AliyunAvatar {
  538. return predicate.AliyunAvatar(sql.FieldIn(FieldToken, vs...))
  539. }
  540. // TokenNotIn applies the NotIn predicate on the "token" field.
  541. func TokenNotIn(vs ...string) predicate.AliyunAvatar {
  542. return predicate.AliyunAvatar(sql.FieldNotIn(FieldToken, vs...))
  543. }
  544. // TokenGT applies the GT predicate on the "token" field.
  545. func TokenGT(v string) predicate.AliyunAvatar {
  546. return predicate.AliyunAvatar(sql.FieldGT(FieldToken, v))
  547. }
  548. // TokenGTE applies the GTE predicate on the "token" field.
  549. func TokenGTE(v string) predicate.AliyunAvatar {
  550. return predicate.AliyunAvatar(sql.FieldGTE(FieldToken, v))
  551. }
  552. // TokenLT applies the LT predicate on the "token" field.
  553. func TokenLT(v string) predicate.AliyunAvatar {
  554. return predicate.AliyunAvatar(sql.FieldLT(FieldToken, v))
  555. }
  556. // TokenLTE applies the LTE predicate on the "token" field.
  557. func TokenLTE(v string) predicate.AliyunAvatar {
  558. return predicate.AliyunAvatar(sql.FieldLTE(FieldToken, v))
  559. }
  560. // TokenContains applies the Contains predicate on the "token" field.
  561. func TokenContains(v string) predicate.AliyunAvatar {
  562. return predicate.AliyunAvatar(sql.FieldContains(FieldToken, v))
  563. }
  564. // TokenHasPrefix applies the HasPrefix predicate on the "token" field.
  565. func TokenHasPrefix(v string) predicate.AliyunAvatar {
  566. return predicate.AliyunAvatar(sql.FieldHasPrefix(FieldToken, v))
  567. }
  568. // TokenHasSuffix applies the HasSuffix predicate on the "token" field.
  569. func TokenHasSuffix(v string) predicate.AliyunAvatar {
  570. return predicate.AliyunAvatar(sql.FieldHasSuffix(FieldToken, v))
  571. }
  572. // TokenEqualFold applies the EqualFold predicate on the "token" field.
  573. func TokenEqualFold(v string) predicate.AliyunAvatar {
  574. return predicate.AliyunAvatar(sql.FieldEqualFold(FieldToken, v))
  575. }
  576. // TokenContainsFold applies the ContainsFold predicate on the "token" field.
  577. func TokenContainsFold(v string) predicate.AliyunAvatar {
  578. return predicate.AliyunAvatar(sql.FieldContainsFold(FieldToken, v))
  579. }
  580. // SessionIDEQ applies the EQ predicate on the "session_id" field.
  581. func SessionIDEQ(v string) predicate.AliyunAvatar {
  582. return predicate.AliyunAvatar(sql.FieldEQ(FieldSessionID, v))
  583. }
  584. // SessionIDNEQ applies the NEQ predicate on the "session_id" field.
  585. func SessionIDNEQ(v string) predicate.AliyunAvatar {
  586. return predicate.AliyunAvatar(sql.FieldNEQ(FieldSessionID, v))
  587. }
  588. // SessionIDIn applies the In predicate on the "session_id" field.
  589. func SessionIDIn(vs ...string) predicate.AliyunAvatar {
  590. return predicate.AliyunAvatar(sql.FieldIn(FieldSessionID, vs...))
  591. }
  592. // SessionIDNotIn applies the NotIn predicate on the "session_id" field.
  593. func SessionIDNotIn(vs ...string) predicate.AliyunAvatar {
  594. return predicate.AliyunAvatar(sql.FieldNotIn(FieldSessionID, vs...))
  595. }
  596. // SessionIDGT applies the GT predicate on the "session_id" field.
  597. func SessionIDGT(v string) predicate.AliyunAvatar {
  598. return predicate.AliyunAvatar(sql.FieldGT(FieldSessionID, v))
  599. }
  600. // SessionIDGTE applies the GTE predicate on the "session_id" field.
  601. func SessionIDGTE(v string) predicate.AliyunAvatar {
  602. return predicate.AliyunAvatar(sql.FieldGTE(FieldSessionID, v))
  603. }
  604. // SessionIDLT applies the LT predicate on the "session_id" field.
  605. func SessionIDLT(v string) predicate.AliyunAvatar {
  606. return predicate.AliyunAvatar(sql.FieldLT(FieldSessionID, v))
  607. }
  608. // SessionIDLTE applies the LTE predicate on the "session_id" field.
  609. func SessionIDLTE(v string) predicate.AliyunAvatar {
  610. return predicate.AliyunAvatar(sql.FieldLTE(FieldSessionID, v))
  611. }
  612. // SessionIDContains applies the Contains predicate on the "session_id" field.
  613. func SessionIDContains(v string) predicate.AliyunAvatar {
  614. return predicate.AliyunAvatar(sql.FieldContains(FieldSessionID, v))
  615. }
  616. // SessionIDHasPrefix applies the HasPrefix predicate on the "session_id" field.
  617. func SessionIDHasPrefix(v string) predicate.AliyunAvatar {
  618. return predicate.AliyunAvatar(sql.FieldHasPrefix(FieldSessionID, v))
  619. }
  620. // SessionIDHasSuffix applies the HasSuffix predicate on the "session_id" field.
  621. func SessionIDHasSuffix(v string) predicate.AliyunAvatar {
  622. return predicate.AliyunAvatar(sql.FieldHasSuffix(FieldSessionID, v))
  623. }
  624. // SessionIDEqualFold applies the EqualFold predicate on the "session_id" field.
  625. func SessionIDEqualFold(v string) predicate.AliyunAvatar {
  626. return predicate.AliyunAvatar(sql.FieldEqualFold(FieldSessionID, v))
  627. }
  628. // SessionIDContainsFold applies the ContainsFold predicate on the "session_id" field.
  629. func SessionIDContainsFold(v string) predicate.AliyunAvatar {
  630. return predicate.AliyunAvatar(sql.FieldContainsFold(FieldSessionID, v))
  631. }
  632. // And groups predicates with the AND operator between them.
  633. func And(predicates ...predicate.AliyunAvatar) predicate.AliyunAvatar {
  634. return predicate.AliyunAvatar(sql.AndPredicates(predicates...))
  635. }
  636. // Or groups predicates with the OR operator between them.
  637. func Or(predicates ...predicate.AliyunAvatar) predicate.AliyunAvatar {
  638. return predicate.AliyunAvatar(sql.OrPredicates(predicates...))
  639. }
  640. // Not applies the not operator on the given predicate.
  641. func Not(p predicate.AliyunAvatar) predicate.AliyunAvatar {
  642. return predicate.AliyunAvatar(sql.NotPredicates(p))
  643. }