586 lines
21 KiB
Go
586 lines
21 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package userinfo
|
|
|
|
import (
|
|
"cn/oneao/base-go/ent/predicate"
|
|
"time"
|
|
|
|
"entgo.io/ent/dialect/sql"
|
|
)
|
|
|
|
// ID filters vertices based on their ID field.
|
|
func ID(id int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDEQ applies the EQ predicate on the ID field.
|
|
func IDEQ(id int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDNEQ applies the NEQ predicate on the ID field.
|
|
func IDNEQ(id int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNEQ(FieldID, id))
|
|
}
|
|
|
|
// IDIn applies the In predicate on the ID field.
|
|
func IDIn(ids ...int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDNotIn applies the NotIn predicate on the ID field.
|
|
func IDNotIn(ids ...int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNotIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDGT applies the GT predicate on the ID field.
|
|
func IDGT(id int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGT(FieldID, id))
|
|
}
|
|
|
|
// IDGTE applies the GTE predicate on the ID field.
|
|
func IDGTE(id int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGTE(FieldID, id))
|
|
}
|
|
|
|
// IDLT applies the LT predicate on the ID field.
|
|
func IDLT(id int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLT(FieldID, id))
|
|
}
|
|
|
|
// IDLTE applies the LTE predicate on the ID field.
|
|
func IDLTE(id int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLTE(FieldID, id))
|
|
}
|
|
|
|
// SeqNo applies equality check predicate on the "seq_no" field. It's identical to SeqNoEQ.
|
|
func SeqNo(v int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldSeqNo, v))
|
|
}
|
|
|
|
// Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
|
|
func Email(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldEmail, v))
|
|
}
|
|
|
|
// Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.
|
|
func Username(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldUsername, v))
|
|
}
|
|
|
|
// Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.
|
|
func Password(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldPassword, v))
|
|
}
|
|
|
|
// Gender applies equality check predicate on the "gender" field. It's identical to GenderEQ.
|
|
func Gender(v int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldGender, v))
|
|
}
|
|
|
|
// Account applies equality check predicate on the "account" field. It's identical to AccountEQ.
|
|
func Account(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldAccount, v))
|
|
}
|
|
|
|
// CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
|
|
func CreateTime(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldCreateTime, v))
|
|
}
|
|
|
|
// UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
|
|
func UpdateTime(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldUpdateTime, v))
|
|
}
|
|
|
|
// LastLoginTime applies equality check predicate on the "last_login_time" field. It's identical to LastLoginTimeEQ.
|
|
func LastLoginTime(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldLastLoginTime, v))
|
|
}
|
|
|
|
// SeqNoEQ applies the EQ predicate on the "seq_no" field.
|
|
func SeqNoEQ(v int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldSeqNo, v))
|
|
}
|
|
|
|
// SeqNoNEQ applies the NEQ predicate on the "seq_no" field.
|
|
func SeqNoNEQ(v int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNEQ(FieldSeqNo, v))
|
|
}
|
|
|
|
// SeqNoIn applies the In predicate on the "seq_no" field.
|
|
func SeqNoIn(vs ...int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldIn(FieldSeqNo, vs...))
|
|
}
|
|
|
|
// SeqNoNotIn applies the NotIn predicate on the "seq_no" field.
|
|
func SeqNoNotIn(vs ...int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNotIn(FieldSeqNo, vs...))
|
|
}
|
|
|
|
// SeqNoGT applies the GT predicate on the "seq_no" field.
|
|
func SeqNoGT(v int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGT(FieldSeqNo, v))
|
|
}
|
|
|
|
// SeqNoGTE applies the GTE predicate on the "seq_no" field.
|
|
func SeqNoGTE(v int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGTE(FieldSeqNo, v))
|
|
}
|
|
|
|
// SeqNoLT applies the LT predicate on the "seq_no" field.
|
|
func SeqNoLT(v int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLT(FieldSeqNo, v))
|
|
}
|
|
|
|
// SeqNoLTE applies the LTE predicate on the "seq_no" field.
|
|
func SeqNoLTE(v int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLTE(FieldSeqNo, v))
|
|
}
|
|
|
|
// EmailEQ applies the EQ predicate on the "email" field.
|
|
func EmailEQ(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldEmail, v))
|
|
}
|
|
|
|
// EmailNEQ applies the NEQ predicate on the "email" field.
|
|
func EmailNEQ(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNEQ(FieldEmail, v))
|
|
}
|
|
|
|
// EmailIn applies the In predicate on the "email" field.
|
|
func EmailIn(vs ...string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldIn(FieldEmail, vs...))
|
|
}
|
|
|
|
// EmailNotIn applies the NotIn predicate on the "email" field.
|
|
func EmailNotIn(vs ...string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNotIn(FieldEmail, vs...))
|
|
}
|
|
|
|
// EmailGT applies the GT predicate on the "email" field.
|
|
func EmailGT(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGT(FieldEmail, v))
|
|
}
|
|
|
|
// EmailGTE applies the GTE predicate on the "email" field.
|
|
func EmailGTE(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGTE(FieldEmail, v))
|
|
}
|
|
|
|
// EmailLT applies the LT predicate on the "email" field.
|
|
func EmailLT(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLT(FieldEmail, v))
|
|
}
|
|
|
|
// EmailLTE applies the LTE predicate on the "email" field.
|
|
func EmailLTE(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLTE(FieldEmail, v))
|
|
}
|
|
|
|
// EmailContains applies the Contains predicate on the "email" field.
|
|
func EmailContains(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldContains(FieldEmail, v))
|
|
}
|
|
|
|
// EmailHasPrefix applies the HasPrefix predicate on the "email" field.
|
|
func EmailHasPrefix(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldHasPrefix(FieldEmail, v))
|
|
}
|
|
|
|
// EmailHasSuffix applies the HasSuffix predicate on the "email" field.
|
|
func EmailHasSuffix(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldHasSuffix(FieldEmail, v))
|
|
}
|
|
|
|
// EmailEqualFold applies the EqualFold predicate on the "email" field.
|
|
func EmailEqualFold(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEqualFold(FieldEmail, v))
|
|
}
|
|
|
|
// EmailContainsFold applies the ContainsFold predicate on the "email" field.
|
|
func EmailContainsFold(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldContainsFold(FieldEmail, v))
|
|
}
|
|
|
|
// UsernameEQ applies the EQ predicate on the "username" field.
|
|
func UsernameEQ(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldUsername, v))
|
|
}
|
|
|
|
// UsernameNEQ applies the NEQ predicate on the "username" field.
|
|
func UsernameNEQ(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNEQ(FieldUsername, v))
|
|
}
|
|
|
|
// UsernameIn applies the In predicate on the "username" field.
|
|
func UsernameIn(vs ...string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldIn(FieldUsername, vs...))
|
|
}
|
|
|
|
// UsernameNotIn applies the NotIn predicate on the "username" field.
|
|
func UsernameNotIn(vs ...string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNotIn(FieldUsername, vs...))
|
|
}
|
|
|
|
// UsernameGT applies the GT predicate on the "username" field.
|
|
func UsernameGT(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGT(FieldUsername, v))
|
|
}
|
|
|
|
// UsernameGTE applies the GTE predicate on the "username" field.
|
|
func UsernameGTE(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGTE(FieldUsername, v))
|
|
}
|
|
|
|
// UsernameLT applies the LT predicate on the "username" field.
|
|
func UsernameLT(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLT(FieldUsername, v))
|
|
}
|
|
|
|
// UsernameLTE applies the LTE predicate on the "username" field.
|
|
func UsernameLTE(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLTE(FieldUsername, v))
|
|
}
|
|
|
|
// UsernameContains applies the Contains predicate on the "username" field.
|
|
func UsernameContains(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldContains(FieldUsername, v))
|
|
}
|
|
|
|
// UsernameHasPrefix applies the HasPrefix predicate on the "username" field.
|
|
func UsernameHasPrefix(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldHasPrefix(FieldUsername, v))
|
|
}
|
|
|
|
// UsernameHasSuffix applies the HasSuffix predicate on the "username" field.
|
|
func UsernameHasSuffix(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldHasSuffix(FieldUsername, v))
|
|
}
|
|
|
|
// UsernameEqualFold applies the EqualFold predicate on the "username" field.
|
|
func UsernameEqualFold(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEqualFold(FieldUsername, v))
|
|
}
|
|
|
|
// UsernameContainsFold applies the ContainsFold predicate on the "username" field.
|
|
func UsernameContainsFold(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldContainsFold(FieldUsername, v))
|
|
}
|
|
|
|
// PasswordEQ applies the EQ predicate on the "password" field.
|
|
func PasswordEQ(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldPassword, v))
|
|
}
|
|
|
|
// PasswordNEQ applies the NEQ predicate on the "password" field.
|
|
func PasswordNEQ(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNEQ(FieldPassword, v))
|
|
}
|
|
|
|
// PasswordIn applies the In predicate on the "password" field.
|
|
func PasswordIn(vs ...string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldIn(FieldPassword, vs...))
|
|
}
|
|
|
|
// PasswordNotIn applies the NotIn predicate on the "password" field.
|
|
func PasswordNotIn(vs ...string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNotIn(FieldPassword, vs...))
|
|
}
|
|
|
|
// PasswordGT applies the GT predicate on the "password" field.
|
|
func PasswordGT(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGT(FieldPassword, v))
|
|
}
|
|
|
|
// PasswordGTE applies the GTE predicate on the "password" field.
|
|
func PasswordGTE(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGTE(FieldPassword, v))
|
|
}
|
|
|
|
// PasswordLT applies the LT predicate on the "password" field.
|
|
func PasswordLT(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLT(FieldPassword, v))
|
|
}
|
|
|
|
// PasswordLTE applies the LTE predicate on the "password" field.
|
|
func PasswordLTE(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLTE(FieldPassword, v))
|
|
}
|
|
|
|
// PasswordContains applies the Contains predicate on the "password" field.
|
|
func PasswordContains(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldContains(FieldPassword, v))
|
|
}
|
|
|
|
// PasswordHasPrefix applies the HasPrefix predicate on the "password" field.
|
|
func PasswordHasPrefix(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldHasPrefix(FieldPassword, v))
|
|
}
|
|
|
|
// PasswordHasSuffix applies the HasSuffix predicate on the "password" field.
|
|
func PasswordHasSuffix(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldHasSuffix(FieldPassword, v))
|
|
}
|
|
|
|
// PasswordEqualFold applies the EqualFold predicate on the "password" field.
|
|
func PasswordEqualFold(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEqualFold(FieldPassword, v))
|
|
}
|
|
|
|
// PasswordContainsFold applies the ContainsFold predicate on the "password" field.
|
|
func PasswordContainsFold(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldContainsFold(FieldPassword, v))
|
|
}
|
|
|
|
// GenderEQ applies the EQ predicate on the "gender" field.
|
|
func GenderEQ(v int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldGender, v))
|
|
}
|
|
|
|
// GenderNEQ applies the NEQ predicate on the "gender" field.
|
|
func GenderNEQ(v int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNEQ(FieldGender, v))
|
|
}
|
|
|
|
// GenderIn applies the In predicate on the "gender" field.
|
|
func GenderIn(vs ...int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldIn(FieldGender, vs...))
|
|
}
|
|
|
|
// GenderNotIn applies the NotIn predicate on the "gender" field.
|
|
func GenderNotIn(vs ...int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNotIn(FieldGender, vs...))
|
|
}
|
|
|
|
// GenderGT applies the GT predicate on the "gender" field.
|
|
func GenderGT(v int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGT(FieldGender, v))
|
|
}
|
|
|
|
// GenderGTE applies the GTE predicate on the "gender" field.
|
|
func GenderGTE(v int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGTE(FieldGender, v))
|
|
}
|
|
|
|
// GenderLT applies the LT predicate on the "gender" field.
|
|
func GenderLT(v int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLT(FieldGender, v))
|
|
}
|
|
|
|
// GenderLTE applies the LTE predicate on the "gender" field.
|
|
func GenderLTE(v int64) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLTE(FieldGender, v))
|
|
}
|
|
|
|
// AccountEQ applies the EQ predicate on the "account" field.
|
|
func AccountEQ(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldAccount, v))
|
|
}
|
|
|
|
// AccountNEQ applies the NEQ predicate on the "account" field.
|
|
func AccountNEQ(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNEQ(FieldAccount, v))
|
|
}
|
|
|
|
// AccountIn applies the In predicate on the "account" field.
|
|
func AccountIn(vs ...string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldIn(FieldAccount, vs...))
|
|
}
|
|
|
|
// AccountNotIn applies the NotIn predicate on the "account" field.
|
|
func AccountNotIn(vs ...string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNotIn(FieldAccount, vs...))
|
|
}
|
|
|
|
// AccountGT applies the GT predicate on the "account" field.
|
|
func AccountGT(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGT(FieldAccount, v))
|
|
}
|
|
|
|
// AccountGTE applies the GTE predicate on the "account" field.
|
|
func AccountGTE(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGTE(FieldAccount, v))
|
|
}
|
|
|
|
// AccountLT applies the LT predicate on the "account" field.
|
|
func AccountLT(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLT(FieldAccount, v))
|
|
}
|
|
|
|
// AccountLTE applies the LTE predicate on the "account" field.
|
|
func AccountLTE(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLTE(FieldAccount, v))
|
|
}
|
|
|
|
// AccountContains applies the Contains predicate on the "account" field.
|
|
func AccountContains(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldContains(FieldAccount, v))
|
|
}
|
|
|
|
// AccountHasPrefix applies the HasPrefix predicate on the "account" field.
|
|
func AccountHasPrefix(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldHasPrefix(FieldAccount, v))
|
|
}
|
|
|
|
// AccountHasSuffix applies the HasSuffix predicate on the "account" field.
|
|
func AccountHasSuffix(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldHasSuffix(FieldAccount, v))
|
|
}
|
|
|
|
// AccountEqualFold applies the EqualFold predicate on the "account" field.
|
|
func AccountEqualFold(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEqualFold(FieldAccount, v))
|
|
}
|
|
|
|
// AccountContainsFold applies the ContainsFold predicate on the "account" field.
|
|
func AccountContainsFold(v string) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldContainsFold(FieldAccount, v))
|
|
}
|
|
|
|
// CreateTimeEQ applies the EQ predicate on the "create_time" field.
|
|
func CreateTimeEQ(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
|
|
func CreateTimeNEQ(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNEQ(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeIn applies the In predicate on the "create_time" field.
|
|
func CreateTimeIn(vs ...time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldIn(FieldCreateTime, vs...))
|
|
}
|
|
|
|
// CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
|
|
func CreateTimeNotIn(vs ...time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNotIn(FieldCreateTime, vs...))
|
|
}
|
|
|
|
// CreateTimeGT applies the GT predicate on the "create_time" field.
|
|
func CreateTimeGT(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGT(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeGTE applies the GTE predicate on the "create_time" field.
|
|
func CreateTimeGTE(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGTE(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeLT applies the LT predicate on the "create_time" field.
|
|
func CreateTimeLT(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLT(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeLTE applies the LTE predicate on the "create_time" field.
|
|
func CreateTimeLTE(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLTE(FieldCreateTime, v))
|
|
}
|
|
|
|
// UpdateTimeEQ applies the EQ predicate on the "update_time" field.
|
|
func UpdateTimeEQ(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
|
|
func UpdateTimeNEQ(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNEQ(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeIn applies the In predicate on the "update_time" field.
|
|
func UpdateTimeIn(vs ...time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldIn(FieldUpdateTime, vs...))
|
|
}
|
|
|
|
// UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
|
|
func UpdateTimeNotIn(vs ...time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNotIn(FieldUpdateTime, vs...))
|
|
}
|
|
|
|
// UpdateTimeGT applies the GT predicate on the "update_time" field.
|
|
func UpdateTimeGT(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGT(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeGTE applies the GTE predicate on the "update_time" field.
|
|
func UpdateTimeGTE(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGTE(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeLT applies the LT predicate on the "update_time" field.
|
|
func UpdateTimeLT(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLT(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeLTE applies the LTE predicate on the "update_time" field.
|
|
func UpdateTimeLTE(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLTE(FieldUpdateTime, v))
|
|
}
|
|
|
|
// LastLoginTimeEQ applies the EQ predicate on the "last_login_time" field.
|
|
func LastLoginTimeEQ(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldEQ(FieldLastLoginTime, v))
|
|
}
|
|
|
|
// LastLoginTimeNEQ applies the NEQ predicate on the "last_login_time" field.
|
|
func LastLoginTimeNEQ(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNEQ(FieldLastLoginTime, v))
|
|
}
|
|
|
|
// LastLoginTimeIn applies the In predicate on the "last_login_time" field.
|
|
func LastLoginTimeIn(vs ...time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldIn(FieldLastLoginTime, vs...))
|
|
}
|
|
|
|
// LastLoginTimeNotIn applies the NotIn predicate on the "last_login_time" field.
|
|
func LastLoginTimeNotIn(vs ...time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNotIn(FieldLastLoginTime, vs...))
|
|
}
|
|
|
|
// LastLoginTimeGT applies the GT predicate on the "last_login_time" field.
|
|
func LastLoginTimeGT(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGT(FieldLastLoginTime, v))
|
|
}
|
|
|
|
// LastLoginTimeGTE applies the GTE predicate on the "last_login_time" field.
|
|
func LastLoginTimeGTE(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldGTE(FieldLastLoginTime, v))
|
|
}
|
|
|
|
// LastLoginTimeLT applies the LT predicate on the "last_login_time" field.
|
|
func LastLoginTimeLT(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLT(FieldLastLoginTime, v))
|
|
}
|
|
|
|
// LastLoginTimeLTE applies the LTE predicate on the "last_login_time" field.
|
|
func LastLoginTimeLTE(v time.Time) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldLTE(FieldLastLoginTime, v))
|
|
}
|
|
|
|
// LastLoginTimeIsNil applies the IsNil predicate on the "last_login_time" field.
|
|
func LastLoginTimeIsNil() predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldIsNull(FieldLastLoginTime))
|
|
}
|
|
|
|
// LastLoginTimeNotNil applies the NotNil predicate on the "last_login_time" field.
|
|
func LastLoginTimeNotNil() predicate.UserInfo {
|
|
return predicate.UserInfo(sql.FieldNotNull(FieldLastLoginTime))
|
|
}
|
|
|
|
// And groups predicates with the AND operator between them.
|
|
func And(predicates ...predicate.UserInfo) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.AndPredicates(predicates...))
|
|
}
|
|
|
|
// Or groups predicates with the OR operator between them.
|
|
func Or(predicates ...predicate.UserInfo) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.OrPredicates(predicates...))
|
|
}
|
|
|
|
// Not applies the not operator on the given predicate.
|
|
func Not(p predicate.UserInfo) predicate.UserInfo {
|
|
return predicate.UserInfo(sql.NotPredicates(p))
|
|
}
|