accountuser

package
v0.0.0-...-544bbf9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the accountuser type in the database.
	Label = "account_user"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldEmail holds the string denoting the email field in the database.
	FieldEmail = "email"
	// FieldPhone holds the string denoting the phone field in the database.
	FieldPhone = "phone"
	// FieldUsername holds the string denoting the username field in the database.
	FieldUsername = "username"
	// FieldPassword holds the string denoting the password field in the database.
	FieldPassword = "password"
	// FieldCreateAt holds the string denoting the create_at field in the database.
	FieldCreateAt = "create_at"
	// FieldCreateIPAt holds the string denoting the create_ip_at field in the database.
	FieldCreateIPAt = "create_ip_at"
	// FieldLastLoginAt holds the string denoting the last_login_at field in the database.
	FieldLastLoginAt = "last_login_at"
	// FieldLastLoginIPAt holds the string denoting the last_login_ip_at field in the database.
	FieldLastLoginIPAt = "last_login_ip_at"
	// FieldLoginTimes holds the string denoting the login_times field in the database.
	FieldLoginTimes = "login_times"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// Table holds the table name of the accountuser in the database.
	Table = "account_user"
)

Variables

View Source
var (
	// DefaultEmail holds the default value on creation for the "email" field.
	DefaultEmail string
	// DefaultPhone holds the default value on creation for the "phone" field.
	DefaultPhone string
	// DefaultUsername holds the default value on creation for the "username" field.
	DefaultUsername string
	// DefaultPassword holds the default value on creation for the "password" field.
	DefaultPassword string
	// DefaultCreateAt holds the default value on creation for the "create_at" field.
	DefaultCreateAt int32
	// DefaultCreateIPAt holds the default value on creation for the "create_ip_at" field.
	DefaultCreateIPAt string
	// DefaultLastLoginAt holds the default value on creation for the "last_login_at" field.
	DefaultLastLoginAt int32
	// DefaultLastLoginIPAt holds the default value on creation for the "last_login_ip_at" field.
	DefaultLastLoginIPAt string
	// DefaultLoginTimes holds the default value on creation for the "login_times" field.
	DefaultLoginTimes int32
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus int8
)

Columns holds all SQL columns for accountuser fields.

Functions

func And

func And(predicates ...predicate.AccountUser) predicate.AccountUser

And groups predicates with the AND operator between them.

func CreateAt

func CreateAt(v int32) predicate.AccountUser

CreateAt applies equality check predicate on the "create_at" field. It's identical to CreateAtEQ.

func CreateAtEQ

func CreateAtEQ(v int32) predicate.AccountUser

CreateAtEQ applies the EQ predicate on the "create_at" field.

func CreateAtGT

func CreateAtGT(v int32) predicate.AccountUser

CreateAtGT applies the GT predicate on the "create_at" field.

func CreateAtGTE

func CreateAtGTE(v int32) predicate.AccountUser

CreateAtGTE applies the GTE predicate on the "create_at" field.

func CreateAtIn

func CreateAtIn(vs ...int32) predicate.AccountUser

CreateAtIn applies the In predicate on the "create_at" field.

func CreateAtLT

func CreateAtLT(v int32) predicate.AccountUser

CreateAtLT applies the LT predicate on the "create_at" field.

func CreateAtLTE

func CreateAtLTE(v int32) predicate.AccountUser

CreateAtLTE applies the LTE predicate on the "create_at" field.

func CreateAtNEQ

func CreateAtNEQ(v int32) predicate.AccountUser

CreateAtNEQ applies the NEQ predicate on the "create_at" field.

func CreateAtNotIn

func CreateAtNotIn(vs ...int32) predicate.AccountUser

CreateAtNotIn applies the NotIn predicate on the "create_at" field.

func CreateIPAt

func CreateIPAt(v string) predicate.AccountUser

CreateIPAt applies equality check predicate on the "create_ip_at" field. It's identical to CreateIPAtEQ.

func CreateIPAtContains

func CreateIPAtContains(v string) predicate.AccountUser

CreateIPAtContains applies the Contains predicate on the "create_ip_at" field.

func CreateIPAtContainsFold

func CreateIPAtContainsFold(v string) predicate.AccountUser

CreateIPAtContainsFold applies the ContainsFold predicate on the "create_ip_at" field.

func CreateIPAtEQ

func CreateIPAtEQ(v string) predicate.AccountUser

CreateIPAtEQ applies the EQ predicate on the "create_ip_at" field.

func CreateIPAtEqualFold

func CreateIPAtEqualFold(v string) predicate.AccountUser

CreateIPAtEqualFold applies the EqualFold predicate on the "create_ip_at" field.

func CreateIPAtGT

func CreateIPAtGT(v string) predicate.AccountUser

CreateIPAtGT applies the GT predicate on the "create_ip_at" field.

func CreateIPAtGTE

func CreateIPAtGTE(v string) predicate.AccountUser

CreateIPAtGTE applies the GTE predicate on the "create_ip_at" field.

func CreateIPAtHasPrefix

func CreateIPAtHasPrefix(v string) predicate.AccountUser

CreateIPAtHasPrefix applies the HasPrefix predicate on the "create_ip_at" field.

func CreateIPAtHasSuffix

func CreateIPAtHasSuffix(v string) predicate.AccountUser

CreateIPAtHasSuffix applies the HasSuffix predicate on the "create_ip_at" field.

func CreateIPAtIn

func CreateIPAtIn(vs ...string) predicate.AccountUser

CreateIPAtIn applies the In predicate on the "create_ip_at" field.

func CreateIPAtLT

func CreateIPAtLT(v string) predicate.AccountUser

CreateIPAtLT applies the LT predicate on the "create_ip_at" field.

func CreateIPAtLTE

func CreateIPAtLTE(v string) predicate.AccountUser

CreateIPAtLTE applies the LTE predicate on the "create_ip_at" field.

func CreateIPAtNEQ

func CreateIPAtNEQ(v string) predicate.AccountUser

CreateIPAtNEQ applies the NEQ predicate on the "create_ip_at" field.

func CreateIPAtNotIn

func CreateIPAtNotIn(vs ...string) predicate.AccountUser

CreateIPAtNotIn applies the NotIn predicate on the "create_ip_at" field.

func Email

func Email(v string) predicate.AccountUser

Email applies equality check predicate on the "email" field. It's identical to EmailEQ.

func EmailContains

func EmailContains(v string) predicate.AccountUser

EmailContains applies the Contains predicate on the "email" field.

func EmailContainsFold

func EmailContainsFold(v string) predicate.AccountUser

EmailContainsFold applies the ContainsFold predicate on the "email" field.

func EmailEQ

func EmailEQ(v string) predicate.AccountUser

EmailEQ applies the EQ predicate on the "email" field.

func EmailEqualFold

func EmailEqualFold(v string) predicate.AccountUser

EmailEqualFold applies the EqualFold predicate on the "email" field.

func EmailGT

func EmailGT(v string) predicate.AccountUser

EmailGT applies the GT predicate on the "email" field.

func EmailGTE

func EmailGTE(v string) predicate.AccountUser

EmailGTE applies the GTE predicate on the "email" field.

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.AccountUser

EmailHasPrefix applies the HasPrefix predicate on the "email" field.

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.AccountUser

EmailHasSuffix applies the HasSuffix predicate on the "email" field.

func EmailIn

func EmailIn(vs ...string) predicate.AccountUser

EmailIn applies the In predicate on the "email" field.

func EmailLT

func EmailLT(v string) predicate.AccountUser

EmailLT applies the LT predicate on the "email" field.

func EmailLTE

func EmailLTE(v string) predicate.AccountUser

EmailLTE applies the LTE predicate on the "email" field.

func EmailNEQ

func EmailNEQ(v string) predicate.AccountUser

EmailNEQ applies the NEQ predicate on the "email" field.

func EmailNotIn

func EmailNotIn(vs ...string) predicate.AccountUser

EmailNotIn applies the NotIn predicate on the "email" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.AccountUser

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.AccountUser

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.AccountUser

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.AccountUser

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.AccountUser

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.AccountUser

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.AccountUser

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.AccountUser

IDNotIn applies the NotIn predicate on the ID field.

func LastLoginAt

func LastLoginAt(v int32) predicate.AccountUser

LastLoginAt applies equality check predicate on the "last_login_at" field. It's identical to LastLoginAtEQ.

func LastLoginAtEQ

func LastLoginAtEQ(v int32) predicate.AccountUser

LastLoginAtEQ applies the EQ predicate on the "last_login_at" field.

func LastLoginAtGT

func LastLoginAtGT(v int32) predicate.AccountUser

LastLoginAtGT applies the GT predicate on the "last_login_at" field.

func LastLoginAtGTE

func LastLoginAtGTE(v int32) predicate.AccountUser

LastLoginAtGTE applies the GTE predicate on the "last_login_at" field.

func LastLoginAtIn

func LastLoginAtIn(vs ...int32) predicate.AccountUser

LastLoginAtIn applies the In predicate on the "last_login_at" field.

func LastLoginAtLT

func LastLoginAtLT(v int32) predicate.AccountUser

LastLoginAtLT applies the LT predicate on the "last_login_at" field.

func LastLoginAtLTE

func LastLoginAtLTE(v int32) predicate.AccountUser

LastLoginAtLTE applies the LTE predicate on the "last_login_at" field.

func LastLoginAtNEQ

func LastLoginAtNEQ(v int32) predicate.AccountUser

LastLoginAtNEQ applies the NEQ predicate on the "last_login_at" field.

func LastLoginAtNotIn

func LastLoginAtNotIn(vs ...int32) predicate.AccountUser

LastLoginAtNotIn applies the NotIn predicate on the "last_login_at" field.

func LastLoginIPAt

func LastLoginIPAt(v string) predicate.AccountUser

LastLoginIPAt applies equality check predicate on the "last_login_ip_at" field. It's identical to LastLoginIPAtEQ.

func LastLoginIPAtContains

func LastLoginIPAtContains(v string) predicate.AccountUser

LastLoginIPAtContains applies the Contains predicate on the "last_login_ip_at" field.

func LastLoginIPAtContainsFold

func LastLoginIPAtContainsFold(v string) predicate.AccountUser

LastLoginIPAtContainsFold applies the ContainsFold predicate on the "last_login_ip_at" field.

func LastLoginIPAtEQ

func LastLoginIPAtEQ(v string) predicate.AccountUser

LastLoginIPAtEQ applies the EQ predicate on the "last_login_ip_at" field.

func LastLoginIPAtEqualFold

func LastLoginIPAtEqualFold(v string) predicate.AccountUser

LastLoginIPAtEqualFold applies the EqualFold predicate on the "last_login_ip_at" field.

func LastLoginIPAtGT

func LastLoginIPAtGT(v string) predicate.AccountUser

LastLoginIPAtGT applies the GT predicate on the "last_login_ip_at" field.

func LastLoginIPAtGTE

func LastLoginIPAtGTE(v string) predicate.AccountUser

LastLoginIPAtGTE applies the GTE predicate on the "last_login_ip_at" field.

func LastLoginIPAtHasPrefix

func LastLoginIPAtHasPrefix(v string) predicate.AccountUser

LastLoginIPAtHasPrefix applies the HasPrefix predicate on the "last_login_ip_at" field.

func LastLoginIPAtHasSuffix

func LastLoginIPAtHasSuffix(v string) predicate.AccountUser

LastLoginIPAtHasSuffix applies the HasSuffix predicate on the "last_login_ip_at" field.

func LastLoginIPAtIn

func LastLoginIPAtIn(vs ...string) predicate.AccountUser

LastLoginIPAtIn applies the In predicate on the "last_login_ip_at" field.

func LastLoginIPAtLT

func LastLoginIPAtLT(v string) predicate.AccountUser

LastLoginIPAtLT applies the LT predicate on the "last_login_ip_at" field.

func LastLoginIPAtLTE

func LastLoginIPAtLTE(v string) predicate.AccountUser

LastLoginIPAtLTE applies the LTE predicate on the "last_login_ip_at" field.

func LastLoginIPAtNEQ

func LastLoginIPAtNEQ(v string) predicate.AccountUser

LastLoginIPAtNEQ applies the NEQ predicate on the "last_login_ip_at" field.

func LastLoginIPAtNotIn

func LastLoginIPAtNotIn(vs ...string) predicate.AccountUser

LastLoginIPAtNotIn applies the NotIn predicate on the "last_login_ip_at" field.

func LoginTimes

func LoginTimes(v int32) predicate.AccountUser

LoginTimes applies equality check predicate on the "login_times" field. It's identical to LoginTimesEQ.

func LoginTimesEQ

func LoginTimesEQ(v int32) predicate.AccountUser

LoginTimesEQ applies the EQ predicate on the "login_times" field.

func LoginTimesGT

func LoginTimesGT(v int32) predicate.AccountUser

LoginTimesGT applies the GT predicate on the "login_times" field.

func LoginTimesGTE

func LoginTimesGTE(v int32) predicate.AccountUser

LoginTimesGTE applies the GTE predicate on the "login_times" field.

func LoginTimesIn

func LoginTimesIn(vs ...int32) predicate.AccountUser

LoginTimesIn applies the In predicate on the "login_times" field.

func LoginTimesLT

func LoginTimesLT(v int32) predicate.AccountUser

LoginTimesLT applies the LT predicate on the "login_times" field.

func LoginTimesLTE

func LoginTimesLTE(v int32) predicate.AccountUser

LoginTimesLTE applies the LTE predicate on the "login_times" field.

func LoginTimesNEQ

func LoginTimesNEQ(v int32) predicate.AccountUser

LoginTimesNEQ applies the NEQ predicate on the "login_times" field.

func LoginTimesNotIn

func LoginTimesNotIn(vs ...int32) predicate.AccountUser

LoginTimesNotIn applies the NotIn predicate on the "login_times" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.AccountUser) predicate.AccountUser

Or groups predicates with the OR operator between them.

func Password

func Password(v string) predicate.AccountUser

Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.

func PasswordContains

func PasswordContains(v string) predicate.AccountUser

PasswordContains applies the Contains predicate on the "password" field.

func PasswordContainsFold

func PasswordContainsFold(v string) predicate.AccountUser

PasswordContainsFold applies the ContainsFold predicate on the "password" field.

func PasswordEQ

func PasswordEQ(v string) predicate.AccountUser

PasswordEQ applies the EQ predicate on the "password" field.

func PasswordEqualFold

func PasswordEqualFold(v string) predicate.AccountUser

PasswordEqualFold applies the EqualFold predicate on the "password" field.

func PasswordGT

func PasswordGT(v string) predicate.AccountUser

PasswordGT applies the GT predicate on the "password" field.

func PasswordGTE

func PasswordGTE(v string) predicate.AccountUser

PasswordGTE applies the GTE predicate on the "password" field.

func PasswordHasPrefix

func PasswordHasPrefix(v string) predicate.AccountUser

PasswordHasPrefix applies the HasPrefix predicate on the "password" field.

func PasswordHasSuffix

func PasswordHasSuffix(v string) predicate.AccountUser

PasswordHasSuffix applies the HasSuffix predicate on the "password" field.

func PasswordIn

func PasswordIn(vs ...string) predicate.AccountUser

PasswordIn applies the In predicate on the "password" field.

func PasswordLT

func PasswordLT(v string) predicate.AccountUser

PasswordLT applies the LT predicate on the "password" field.

func PasswordLTE

func PasswordLTE(v string) predicate.AccountUser

PasswordLTE applies the LTE predicate on the "password" field.

func PasswordNEQ

func PasswordNEQ(v string) predicate.AccountUser

PasswordNEQ applies the NEQ predicate on the "password" field.

func PasswordNotIn

func PasswordNotIn(vs ...string) predicate.AccountUser

PasswordNotIn applies the NotIn predicate on the "password" field.

func Phone

func Phone(v string) predicate.AccountUser

Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.

func PhoneContains

func PhoneContains(v string) predicate.AccountUser

PhoneContains applies the Contains predicate on the "phone" field.

func PhoneContainsFold

func PhoneContainsFold(v string) predicate.AccountUser

PhoneContainsFold applies the ContainsFold predicate on the "phone" field.

func PhoneEQ

func PhoneEQ(v string) predicate.AccountUser

PhoneEQ applies the EQ predicate on the "phone" field.

func PhoneEqualFold

func PhoneEqualFold(v string) predicate.AccountUser

PhoneEqualFold applies the EqualFold predicate on the "phone" field.

func PhoneGT

func PhoneGT(v string) predicate.AccountUser

PhoneGT applies the GT predicate on the "phone" field.

func PhoneGTE

func PhoneGTE(v string) predicate.AccountUser

PhoneGTE applies the GTE predicate on the "phone" field.

func PhoneHasPrefix

func PhoneHasPrefix(v string) predicate.AccountUser

PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.

func PhoneHasSuffix

func PhoneHasSuffix(v string) predicate.AccountUser

PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.

func PhoneIn

func PhoneIn(vs ...string) predicate.AccountUser

PhoneIn applies the In predicate on the "phone" field.

func PhoneLT

func PhoneLT(v string) predicate.AccountUser

PhoneLT applies the LT predicate on the "phone" field.

func PhoneLTE

func PhoneLTE(v string) predicate.AccountUser

PhoneLTE applies the LTE predicate on the "phone" field.

func PhoneNEQ

func PhoneNEQ(v string) predicate.AccountUser

PhoneNEQ applies the NEQ predicate on the "phone" field.

func PhoneNotIn

func PhoneNotIn(vs ...string) predicate.AccountUser

PhoneNotIn applies the NotIn predicate on the "phone" field.

func Status

func Status(v int8) predicate.AccountUser

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusEQ

func StatusEQ(v int8) predicate.AccountUser

StatusEQ applies the EQ predicate on the "status" field.

func StatusGT

func StatusGT(v int8) predicate.AccountUser

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v int8) predicate.AccountUser

StatusGTE applies the GTE predicate on the "status" field.

func StatusIn

func StatusIn(vs ...int8) predicate.AccountUser

StatusIn applies the In predicate on the "status" field.

func StatusLT

func StatusLT(v int8) predicate.AccountUser

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v int8) predicate.AccountUser

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v int8) predicate.AccountUser

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...int8) predicate.AccountUser

StatusNotIn applies the NotIn predicate on the "status" field.

func Username

func Username(v string) predicate.AccountUser

Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.

func UsernameContains

func UsernameContains(v string) predicate.AccountUser

UsernameContains applies the Contains predicate on the "username" field.

func UsernameContainsFold

func UsernameContainsFold(v string) predicate.AccountUser

UsernameContainsFold applies the ContainsFold predicate on the "username" field.

func UsernameEQ

func UsernameEQ(v string) predicate.AccountUser

UsernameEQ applies the EQ predicate on the "username" field.

func UsernameEqualFold

func UsernameEqualFold(v string) predicate.AccountUser

UsernameEqualFold applies the EqualFold predicate on the "username" field.

func UsernameGT

func UsernameGT(v string) predicate.AccountUser

UsernameGT applies the GT predicate on the "username" field.

func UsernameGTE

func UsernameGTE(v string) predicate.AccountUser

UsernameGTE applies the GTE predicate on the "username" field.

func UsernameHasPrefix

func UsernameHasPrefix(v string) predicate.AccountUser

UsernameHasPrefix applies the HasPrefix predicate on the "username" field.

func UsernameHasSuffix

func UsernameHasSuffix(v string) predicate.AccountUser

UsernameHasSuffix applies the HasSuffix predicate on the "username" field.

func UsernameIn

func UsernameIn(vs ...string) predicate.AccountUser

UsernameIn applies the In predicate on the "username" field.

func UsernameLT

func UsernameLT(v string) predicate.AccountUser

UsernameLT applies the LT predicate on the "username" field.

func UsernameLTE

func UsernameLTE(v string) predicate.AccountUser

UsernameLTE applies the LTE predicate on the "username" field.

func UsernameNEQ

func UsernameNEQ(v string) predicate.AccountUser

UsernameNEQ applies the NEQ predicate on the "username" field.

func UsernameNotIn

func UsernameNotIn(vs ...string) predicate.AccountUser

UsernameNotIn applies the NotIn predicate on the "username" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL