func (uu *UserUpdate) SetBigInt(si schema.BigInt) *UserUpdate {
	uu.mutation.SetBigInt(si)
	return uu
}
SetBigInt sets the "big_int" field.
package ent
import (
	"context"
	"fmt"
	"entgo.io/contrib/entproto/internal/todo/ent/attachment"
	"entgo.io/contrib/entproto/internal/todo/ent/group"
	"entgo.io/contrib/entproto/internal/todo/ent/predicate"
	"entgo.io/contrib/entproto/internal/todo/ent/schema"
	"entgo.io/contrib/entproto/internal/todo/ent/user"
	"entgo.io/ent/dialect/sql"
	"entgo.io/ent/dialect/sql/sqlgraph"
	"entgo.io/ent/schema/field"
	"github.com/google/uuid"
)
type UserUpdate struct {
	config
	hooks    []Hook
	mutation *UserMutation
}
func (uu *UserUpdate) Where(ps ...predicate.User) *UserUpdate {
	uu.mutation.Where(ps...)
	return uu
}
func (uu *UserUpdate) SetUserName(s string) *UserUpdate {
	uu.mutation.SetUserName(s)
	return uu
}
func (uu *UserUpdate) SetPoints(u uint) *UserUpdate {
	uu.mutation.ResetPoints()
	uu.mutation.SetPoints(u)
	return uu
}
func (uu *UserUpdate) AddPoints(u uint) *UserUpdate {
	uu.mutation.AddPoints(u)
	return uu
}
func (uu *UserUpdate) SetExp(u uint64) *UserUpdate {
	uu.mutation.ResetExp()
	uu.mutation.SetExp(u)
	return uu
}
func (uu *UserUpdate) AddExp(u uint64) *UserUpdate {
	uu.mutation.AddExp(u)
	return uu
}
func (uu *UserUpdate) SetStatus(u user.Status) *UserUpdate {
	uu.mutation.SetStatus(u)
	return uu
}
func (uu *UserUpdate) SetExternalID(i int) *UserUpdate {
	uu.mutation.ResetExternalID()
	uu.mutation.SetExternalID(i)
	return uu
}
func (uu *UserUpdate) AddExternalID(i int) *UserUpdate {
	uu.mutation.AddExternalID(i)
	return uu
}
func (uu *UserUpdate) SetCrmID(u uuid.UUID) *UserUpdate {
	uu.mutation.SetCrmID(u)
	return uu
}
func (uu *UserUpdate) SetBanned(b bool) *UserUpdate {
	uu.mutation.SetBanned(b)
	return uu
}
func (uu *UserUpdate) SetNillableBanned(b *bool) *UserUpdate {
	if b != nil {
		uu.SetBanned(*b)
	}
	return uu
}
func (uu *UserUpdate) SetCustomPb(u uint8) *UserUpdate {
	uu.mutation.ResetCustomPb()
	uu.mutation.SetCustomPb(u)
	return uu
}
func (uu *UserUpdate) AddCustomPb(u uint8) *UserUpdate {
	uu.mutation.AddCustomPb(u)
	return uu
}
func (uu *UserUpdate) SetOptNum(i int) *UserUpdate {
	uu.mutation.ResetOptNum()
	uu.mutation.SetOptNum(i)
	return uu
}
func (uu *UserUpdate) SetNillableOptNum(i *int) *UserUpdate {
	if i != nil {
		uu.SetOptNum(*i)
	}
	return uu
}
func (uu *UserUpdate) AddOptNum(i int) *UserUpdate {
	uu.mutation.AddOptNum(i)
	return uu
}
func (uu *UserUpdate) ClearOptNum() *UserUpdate {
	uu.mutation.ClearOptNum()
	return uu
}
func (uu *UserUpdate) SetOptStr(s string) *UserUpdate {
	uu.mutation.SetOptStr(s)
	return uu
}
func (uu *UserUpdate) SetNillableOptStr(s *string) *UserUpdate {
	if s != nil {
		uu.SetOptStr(*s)
	}
	return uu
}
func (uu *UserUpdate) ClearOptStr() *UserUpdate {
	uu.mutation.ClearOptStr()
	return uu
}
func (uu *UserUpdate) SetOptBool(b bool) *UserUpdate {
	uu.mutation.SetOptBool(b)
	return uu
}
func (uu *UserUpdate) SetNillableOptBool(b *bool) *UserUpdate {
	if b != nil {
		uu.SetOptBool(*b)
	}
	return uu
}
func (uu *UserUpdate) ClearOptBool() *UserUpdate {
	uu.mutation.ClearOptBool()
	return uu
}