You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2242 lines
52 KiB
Go

// Code generated by ent, DO NOT EDIT.
package ent
import (
"time"
"git.noahlan.cn/noahlan/ntool-biz/core/orm/nent/types"
)
// set field if value's pointer is not nil.
func (d *DepartmentUpdate) SetNotNilUpdatedAt(value *time.Time) *DepartmentUpdate {
if value != nil {
return d.SetUpdatedAt(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentUpdateOne) SetNotNilUpdatedAt(value *time.Time) *DepartmentUpdateOne {
if value != nil {
return d.SetUpdatedAt(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentCreate) SetNotNilUpdatedAt(value *time.Time) *DepartmentCreate {
if value != nil {
return d.SetUpdatedAt(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentUpdate) SetNotNilStatus(value *types.Status) *DepartmentUpdate {
if value != nil {
return d.SetStatus(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentUpdateOne) SetNotNilStatus(value *types.Status) *DepartmentUpdateOne {
if value != nil {
return d.SetStatus(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentCreate) SetNotNilStatus(value *types.Status) *DepartmentCreate {
if value != nil {
return d.SetStatus(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentUpdate) SetNotNilVersion(value *int64) *DepartmentUpdate {
if value != nil {
return d.SetVersion(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentUpdateOne) SetNotNilVersion(value *int64) *DepartmentUpdateOne {
if value != nil {
return d.SetVersion(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentCreate) SetNotNilVersion(value *int64) *DepartmentCreate {
if value != nil {
return d.SetVersion(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentUpdate) SetNotNilName(value *string) *DepartmentUpdate {
if value != nil {
return d.SetName(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentUpdateOne) SetNotNilName(value *string) *DepartmentUpdateOne {
if value != nil {
return d.SetName(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentCreate) SetNotNilName(value *string) *DepartmentCreate {
if value != nil {
return d.SetName(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentUpdate) SetNotNilLeaderID(value *int64) *DepartmentUpdate {
if value != nil {
return d.SetLeaderID(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentUpdateOne) SetNotNilLeaderID(value *int64) *DepartmentUpdateOne {
if value != nil {
return d.SetLeaderID(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentCreate) SetNotNilLeaderID(value *int64) *DepartmentCreate {
if value != nil {
return d.SetLeaderID(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentUpdate) SetNotNilRemark(value *string) *DepartmentUpdate {
if value != nil {
return d.SetRemark(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentUpdateOne) SetNotNilRemark(value *string) *DepartmentUpdateOne {
if value != nil {
return d.SetRemark(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentCreate) SetNotNilRemark(value *string) *DepartmentCreate {
if value != nil {
return d.SetRemark(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentUpdate) SetNotNilParentID(value *int64) *DepartmentUpdate {
if value != nil {
return d.SetParentID(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentUpdateOne) SetNotNilParentID(value *int64) *DepartmentUpdateOne {
if value != nil {
return d.SetParentID(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DepartmentCreate) SetNotNilParentID(value *int64) *DepartmentCreate {
if value != nil {
return d.SetParentID(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DictionaryUpdate) SetNotNilUpdatedAt(value *time.Time) *DictionaryUpdate {
if value != nil {
return d.SetUpdatedAt(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DictionaryUpdateOne) SetNotNilUpdatedAt(value *time.Time) *DictionaryUpdateOne {
if value != nil {
return d.SetUpdatedAt(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DictionaryCreate) SetNotNilUpdatedAt(value *time.Time) *DictionaryCreate {
if value != nil {
return d.SetUpdatedAt(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DictionaryUpdate) SetNotNilStatus(value *types.Status) *DictionaryUpdate {
if value != nil {
return d.SetStatus(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DictionaryUpdateOne) SetNotNilStatus(value *types.Status) *DictionaryUpdateOne {
if value != nil {
return d.SetStatus(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DictionaryCreate) SetNotNilStatus(value *types.Status) *DictionaryCreate {
if value != nil {
return d.SetStatus(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DictionaryUpdate) SetNotNilVersion(value *int64) *DictionaryUpdate {
if value != nil {
return d.SetVersion(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DictionaryUpdateOne) SetNotNilVersion(value *int64) *DictionaryUpdateOne {
if value != nil {
return d.SetVersion(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DictionaryCreate) SetNotNilVersion(value *int64) *DictionaryCreate {
if value != nil {
return d.SetVersion(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DictionaryUpdate) SetNotNilTitle(value *string) *DictionaryUpdate {
if value != nil {
return d.SetTitle(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DictionaryUpdateOne) SetNotNilTitle(value *string) *DictionaryUpdateOne {
if value != nil {
return d.SetTitle(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DictionaryCreate) SetNotNilTitle(value *string) *DictionaryCreate {
if value != nil {
return d.SetTitle(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DictionaryUpdate) SetNotNilName(value *string) *DictionaryUpdate {
if value != nil {
return d.SetName(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DictionaryUpdateOne) SetNotNilName(value *string) *DictionaryUpdateOne {
if value != nil {
return d.SetName(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DictionaryCreate) SetNotNilName(value *string) *DictionaryCreate {
if value != nil {
return d.SetName(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DictionaryUpdate) SetNotNilDescription(value *string) *DictionaryUpdate {
if value != nil {
return d.SetDescription(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DictionaryUpdateOne) SetNotNilDescription(value *string) *DictionaryUpdateOne {
if value != nil {
return d.SetDescription(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DictionaryCreate) SetNotNilDescription(value *string) *DictionaryCreate {
if value != nil {
return d.SetDescription(*value)
}
return d
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailUpdate) SetNotNilStatus(value *types.Status) *DictionaryDetailUpdate {
if value != nil {
return dd.SetStatus(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailUpdateOne) SetNotNilStatus(value *types.Status) *DictionaryDetailUpdateOne {
if value != nil {
return dd.SetStatus(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailCreate) SetNotNilStatus(value *types.Status) *DictionaryDetailCreate {
if value != nil {
return dd.SetStatus(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailUpdate) SetNotNilSort(value *uint32) *DictionaryDetailUpdate {
if value != nil {
return dd.SetSort(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailUpdateOne) SetNotNilSort(value *uint32) *DictionaryDetailUpdateOne {
if value != nil {
return dd.SetSort(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailCreate) SetNotNilSort(value *uint32) *DictionaryDetailCreate {
if value != nil {
return dd.SetSort(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailUpdate) SetNotNilVersion(value *int64) *DictionaryDetailUpdate {
if value != nil {
return dd.SetVersion(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailUpdateOne) SetNotNilVersion(value *int64) *DictionaryDetailUpdateOne {
if value != nil {
return dd.SetVersion(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailCreate) SetNotNilVersion(value *int64) *DictionaryDetailCreate {
if value != nil {
return dd.SetVersion(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailUpdate) SetNotNilTitle(value *string) *DictionaryDetailUpdate {
if value != nil {
return dd.SetTitle(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailUpdateOne) SetNotNilTitle(value *string) *DictionaryDetailUpdateOne {
if value != nil {
return dd.SetTitle(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailCreate) SetNotNilTitle(value *string) *DictionaryDetailCreate {
if value != nil {
return dd.SetTitle(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailUpdate) SetNotNilKey(value *string) *DictionaryDetailUpdate {
if value != nil {
return dd.SetKey(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailUpdateOne) SetNotNilKey(value *string) *DictionaryDetailUpdateOne {
if value != nil {
return dd.SetKey(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailCreate) SetNotNilKey(value *string) *DictionaryDetailCreate {
if value != nil {
return dd.SetKey(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailUpdate) SetNotNilValue(value *string) *DictionaryDetailUpdate {
if value != nil {
return dd.SetValue(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailUpdateOne) SetNotNilValue(value *string) *DictionaryDetailUpdateOne {
if value != nil {
return dd.SetValue(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailCreate) SetNotNilValue(value *string) *DictionaryDetailCreate {
if value != nil {
return dd.SetValue(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailUpdate) SetNotNilDictionaryID(value *int64) *DictionaryDetailUpdate {
if value != nil {
return dd.SetDictionaryID(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailUpdateOne) SetNotNilDictionaryID(value *int64) *DictionaryDetailUpdateOne {
if value != nil {
return dd.SetDictionaryID(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (dd *DictionaryDetailCreate) SetNotNilDictionaryID(value *int64) *DictionaryDetailCreate {
if value != nil {
return dd.SetDictionaryID(*value)
}
return dd
}
// set field if value's pointer is not nil.
func (d *DistrictUpdate) SetNotNilUpdatedAt(value *time.Time) *DistrictUpdate {
if value != nil {
return d.SetUpdatedAt(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdateOne) SetNotNilUpdatedAt(value *time.Time) *DistrictUpdateOne {
if value != nil {
return d.SetUpdatedAt(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictCreate) SetNotNilUpdatedAt(value *time.Time) *DistrictCreate {
if value != nil {
return d.SetUpdatedAt(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdate) SetNotNilName(value *string) *DistrictUpdate {
if value != nil {
return d.SetName(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdateOne) SetNotNilName(value *string) *DistrictUpdateOne {
if value != nil {
return d.SetName(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictCreate) SetNotNilName(value *string) *DistrictCreate {
if value != nil {
return d.SetName(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdate) SetNotNilShortName(value *string) *DistrictUpdate {
if value != nil {
return d.SetShortName(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdateOne) SetNotNilShortName(value *string) *DistrictUpdateOne {
if value != nil {
return d.SetShortName(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictCreate) SetNotNilShortName(value *string) *DistrictCreate {
if value != nil {
return d.SetShortName(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdate) SetNotNilCode(value *string) *DistrictUpdate {
if value != nil {
return d.SetCode(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdateOne) SetNotNilCode(value *string) *DistrictUpdateOne {
if value != nil {
return d.SetCode(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictCreate) SetNotNilCode(value *string) *DistrictCreate {
if value != nil {
return d.SetCode(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdate) SetNotNilProvince(value *string) *DistrictUpdate {
if value != nil {
return d.SetProvince(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdateOne) SetNotNilProvince(value *string) *DistrictUpdateOne {
if value != nil {
return d.SetProvince(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictCreate) SetNotNilProvince(value *string) *DistrictCreate {
if value != nil {
return d.SetProvince(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdate) SetNotNilCity(value *string) *DistrictUpdate {
if value != nil {
return d.SetCity(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdateOne) SetNotNilCity(value *string) *DistrictUpdateOne {
if value != nil {
return d.SetCity(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictCreate) SetNotNilCity(value *string) *DistrictCreate {
if value != nil {
return d.SetCity(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdate) SetNotNilArea(value *string) *DistrictUpdate {
if value != nil {
return d.SetArea(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdateOne) SetNotNilArea(value *string) *DistrictUpdateOne {
if value != nil {
return d.SetArea(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictCreate) SetNotNilArea(value *string) *DistrictCreate {
if value != nil {
return d.SetArea(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdate) SetNotNilStreet(value *string) *DistrictUpdate {
if value != nil {
return d.SetStreet(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdateOne) SetNotNilStreet(value *string) *DistrictUpdateOne {
if value != nil {
return d.SetStreet(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictCreate) SetNotNilStreet(value *string) *DistrictCreate {
if value != nil {
return d.SetStreet(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdate) SetNotNilLevel(value *uint32) *DistrictUpdate {
if value != nil {
return d.SetLevel(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdateOne) SetNotNilLevel(value *uint32) *DistrictUpdateOne {
if value != nil {
return d.SetLevel(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictCreate) SetNotNilLevel(value *uint32) *DistrictCreate {
if value != nil {
return d.SetLevel(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdate) SetNotNilLatitude(value *float64) *DistrictUpdate {
if value != nil {
return d.SetLatitude(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdateOne) SetNotNilLatitude(value *float64) *DistrictUpdateOne {
if value != nil {
return d.SetLatitude(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictCreate) SetNotNilLatitude(value *float64) *DistrictCreate {
if value != nil {
return d.SetLatitude(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdate) SetNotNilLongitude(value *float64) *DistrictUpdate {
if value != nil {
return d.SetLongitude(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictUpdateOne) SetNotNilLongitude(value *float64) *DistrictUpdateOne {
if value != nil {
return d.SetLongitude(*value)
}
return d
}
// set field if value's pointer is not nil.
func (d *DistrictCreate) SetNotNilLongitude(value *float64) *DistrictCreate {
if value != nil {
return d.SetLongitude(*value)
}
return d
}
// set field if value's pointer is not nil.
func (lr *LoginRecordUpdate) SetNotNilUpdatedAt(value *time.Time) *LoginRecordUpdate {
if value != nil {
return lr.SetUpdatedAt(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordUpdateOne) SetNotNilUpdatedAt(value *time.Time) *LoginRecordUpdateOne {
if value != nil {
return lr.SetUpdatedAt(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordCreate) SetNotNilUpdatedAt(value *time.Time) *LoginRecordCreate {
if value != nil {
return lr.SetUpdatedAt(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordUpdate) SetNotNilVersion(value *int64) *LoginRecordUpdate {
if value != nil {
return lr.SetVersion(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordUpdateOne) SetNotNilVersion(value *int64) *LoginRecordUpdateOne {
if value != nil {
return lr.SetVersion(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordCreate) SetNotNilVersion(value *int64) *LoginRecordCreate {
if value != nil {
return lr.SetVersion(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordUpdate) SetNotNilUserID(value *int64) *LoginRecordUpdate {
if value != nil {
return lr.SetUserID(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordUpdateOne) SetNotNilUserID(value *int64) *LoginRecordUpdateOne {
if value != nil {
return lr.SetUserID(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordCreate) SetNotNilUserID(value *int64) *LoginRecordCreate {
if value != nil {
return lr.SetUserID(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordUpdate) SetNotNilLastLoginAt(value *time.Time) *LoginRecordUpdate {
if value != nil {
return lr.SetLastLoginAt(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordUpdateOne) SetNotNilLastLoginAt(value *time.Time) *LoginRecordUpdateOne {
if value != nil {
return lr.SetLastLoginAt(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordCreate) SetNotNilLastLoginAt(value *time.Time) *LoginRecordCreate {
if value != nil {
return lr.SetLastLoginAt(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordUpdate) SetNotNilLastLoginIpv4(value *string) *LoginRecordUpdate {
if value != nil {
return lr.SetLastLoginIpv4(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordUpdateOne) SetNotNilLastLoginIpv4(value *string) *LoginRecordUpdateOne {
if value != nil {
return lr.SetLastLoginIpv4(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordCreate) SetNotNilLastLoginIpv4(value *string) *LoginRecordCreate {
if value != nil {
return lr.SetLastLoginIpv4(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordUpdate) SetNotNilLastLoginDevice(value *string) *LoginRecordUpdate {
if value != nil {
return lr.SetLastLoginDevice(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordUpdateOne) SetNotNilLastLoginDevice(value *string) *LoginRecordUpdateOne {
if value != nil {
return lr.SetLastLoginDevice(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordCreate) SetNotNilLastLoginDevice(value *string) *LoginRecordCreate {
if value != nil {
return lr.SetLastLoginDevice(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordUpdate) SetNotNilLastLoginUA(value *string) *LoginRecordUpdate {
if value != nil {
return lr.SetLastLoginUA(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordUpdateOne) SetNotNilLastLoginUA(value *string) *LoginRecordUpdateOne {
if value != nil {
return lr.SetLastLoginUA(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordCreate) SetNotNilLastLoginUA(value *string) *LoginRecordCreate {
if value != nil {
return lr.SetLastLoginUA(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordUpdate) SetNotNilLoginCount(value *uint64) *LoginRecordUpdate {
if value != nil {
return lr.SetLoginCount(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordUpdateOne) SetNotNilLoginCount(value *uint64) *LoginRecordUpdateOne {
if value != nil {
return lr.SetLoginCount(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (lr *LoginRecordCreate) SetNotNilLoginCount(value *uint64) *LoginRecordCreate {
if value != nil {
return lr.SetLoginCount(*value)
}
return lr
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdate) SetNotNilUpdatedAt(value *time.Time) *OauthProviderUpdate {
if value != nil {
return op.SetUpdatedAt(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdateOne) SetNotNilUpdatedAt(value *time.Time) *OauthProviderUpdateOne {
if value != nil {
return op.SetUpdatedAt(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderCreate) SetNotNilUpdatedAt(value *time.Time) *OauthProviderCreate {
if value != nil {
return op.SetUpdatedAt(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdate) SetNotNilDeletedAt(value *time.Time) *OauthProviderUpdate {
if value != nil {
return op.SetDeletedAt(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdateOne) SetNotNilDeletedAt(value *time.Time) *OauthProviderUpdateOne {
if value != nil {
return op.SetDeletedAt(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderCreate) SetNotNilDeletedAt(value *time.Time) *OauthProviderCreate {
if value != nil {
return op.SetDeletedAt(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdate) SetNotNilName(value *string) *OauthProviderUpdate {
if value != nil {
return op.SetName(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdateOne) SetNotNilName(value *string) *OauthProviderUpdateOne {
if value != nil {
return op.SetName(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderCreate) SetNotNilName(value *string) *OauthProviderCreate {
if value != nil {
return op.SetName(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdate) SetNotNilClientID(value *string) *OauthProviderUpdate {
if value != nil {
return op.SetClientID(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdateOne) SetNotNilClientID(value *string) *OauthProviderUpdateOne {
if value != nil {
return op.SetClientID(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderCreate) SetNotNilClientID(value *string) *OauthProviderCreate {
if value != nil {
return op.SetClientID(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdate) SetNotNilClientSecret(value *string) *OauthProviderUpdate {
if value != nil {
return op.SetClientSecret(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdateOne) SetNotNilClientSecret(value *string) *OauthProviderUpdateOne {
if value != nil {
return op.SetClientSecret(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderCreate) SetNotNilClientSecret(value *string) *OauthProviderCreate {
if value != nil {
return op.SetClientSecret(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdate) SetNotNilRedirectURL(value *string) *OauthProviderUpdate {
if value != nil {
return op.SetRedirectURL(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdateOne) SetNotNilRedirectURL(value *string) *OauthProviderUpdateOne {
if value != nil {
return op.SetRedirectURL(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderCreate) SetNotNilRedirectURL(value *string) *OauthProviderCreate {
if value != nil {
return op.SetRedirectURL(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdate) SetNotNilScopes(value *string) *OauthProviderUpdate {
if value != nil {
return op.SetScopes(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdateOne) SetNotNilScopes(value *string) *OauthProviderUpdateOne {
if value != nil {
return op.SetScopes(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderCreate) SetNotNilScopes(value *string) *OauthProviderCreate {
if value != nil {
return op.SetScopes(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdate) SetNotNilAuthURL(value *string) *OauthProviderUpdate {
if value != nil {
return op.SetAuthURL(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdateOne) SetNotNilAuthURL(value *string) *OauthProviderUpdateOne {
if value != nil {
return op.SetAuthURL(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderCreate) SetNotNilAuthURL(value *string) *OauthProviderCreate {
if value != nil {
return op.SetAuthURL(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdate) SetNotNilTokenURL(value *string) *OauthProviderUpdate {
if value != nil {
return op.SetTokenURL(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdateOne) SetNotNilTokenURL(value *string) *OauthProviderUpdateOne {
if value != nil {
return op.SetTokenURL(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderCreate) SetNotNilTokenURL(value *string) *OauthProviderCreate {
if value != nil {
return op.SetTokenURL(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdate) SetNotNilInfoURL(value *string) *OauthProviderUpdate {
if value != nil {
return op.SetInfoURL(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdateOne) SetNotNilInfoURL(value *string) *OauthProviderUpdateOne {
if value != nil {
return op.SetInfoURL(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderCreate) SetNotNilInfoURL(value *string) *OauthProviderCreate {
if value != nil {
return op.SetInfoURL(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdate) SetNotNilDescription(value *string) *OauthProviderUpdate {
if value != nil {
return op.SetDescription(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdateOne) SetNotNilDescription(value *string) *OauthProviderUpdateOne {
if value != nil {
return op.SetDescription(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderCreate) SetNotNilDescription(value *string) *OauthProviderCreate {
if value != nil {
return op.SetDescription(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdate) SetNotNilSystem(value *bool) *OauthProviderUpdate {
if value != nil {
return op.SetSystem(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdateOne) SetNotNilSystem(value *bool) *OauthProviderUpdateOne {
if value != nil {
return op.SetSystem(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderCreate) SetNotNilSystem(value *bool) *OauthProviderCreate {
if value != nil {
return op.SetSystem(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdate) SetNotNilInit(value *bool) *OauthProviderUpdate {
if value != nil {
return op.SetInit(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderUpdateOne) SetNotNilInit(value *bool) *OauthProviderUpdateOne {
if value != nil {
return op.SetInit(*value)
}
return op
}
// set field if value's pointer is not nil.
func (op *OauthProviderCreate) SetNotNilInit(value *bool) *OauthProviderCreate {
if value != nil {
return op.SetInit(*value)
}
return op
}
// set field if value's pointer is not nil.
func (r *RoleUpdate) SetNotNilUpdatedAt(value *time.Time) *RoleUpdate {
if value != nil {
return r.SetUpdatedAt(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleUpdateOne) SetNotNilUpdatedAt(value *time.Time) *RoleUpdateOne {
if value != nil {
return r.SetUpdatedAt(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleCreate) SetNotNilUpdatedAt(value *time.Time) *RoleCreate {
if value != nil {
return r.SetUpdatedAt(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleUpdate) SetNotNilVersion(value *int64) *RoleUpdate {
if value != nil {
return r.SetVersion(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleUpdateOne) SetNotNilVersion(value *int64) *RoleUpdateOne {
if value != nil {
return r.SetVersion(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleCreate) SetNotNilVersion(value *int64) *RoleCreate {
if value != nil {
return r.SetVersion(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleUpdate) SetNotNilStatus(value *types.Status) *RoleUpdate {
if value != nil {
return r.SetStatus(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleUpdateOne) SetNotNilStatus(value *types.Status) *RoleUpdateOne {
if value != nil {
return r.SetStatus(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleCreate) SetNotNilStatus(value *types.Status) *RoleCreate {
if value != nil {
return r.SetStatus(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleUpdate) SetNotNilDeletedAt(value *time.Time) *RoleUpdate {
if value != nil {
return r.SetDeletedAt(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleUpdateOne) SetNotNilDeletedAt(value *time.Time) *RoleUpdateOne {
if value != nil {
return r.SetDeletedAt(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleCreate) SetNotNilDeletedAt(value *time.Time) *RoleCreate {
if value != nil {
return r.SetDeletedAt(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleUpdate) SetNotNilCode(value *string) *RoleUpdate {
if value != nil {
return r.SetCode(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleUpdateOne) SetNotNilCode(value *string) *RoleUpdateOne {
if value != nil {
return r.SetCode(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleCreate) SetNotNilCode(value *string) *RoleCreate {
if value != nil {
return r.SetCode(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleUpdate) SetNotNilName(value *string) *RoleUpdate {
if value != nil {
return r.SetName(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleUpdateOne) SetNotNilName(value *string) *RoleUpdateOne {
if value != nil {
return r.SetName(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleCreate) SetNotNilName(value *string) *RoleCreate {
if value != nil {
return r.SetName(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleUpdate) SetNotNilDescription(value *string) *RoleUpdate {
if value != nil {
return r.SetDescription(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleUpdateOne) SetNotNilDescription(value *string) *RoleUpdateOne {
if value != nil {
return r.SetDescription(*value)
}
return r
}
// set field if value's pointer is not nil.
func (r *RoleCreate) SetNotNilDescription(value *string) *RoleCreate {
if value != nil {
return r.SetDescription(*value)
}
return r
}
// set field if value's pointer is not nil.
func (t *TokenUpdate) SetNotNilUpdatedAt(value *time.Time) *TokenUpdate {
if value != nil {
return t.SetUpdatedAt(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenUpdateOne) SetNotNilUpdatedAt(value *time.Time) *TokenUpdateOne {
if value != nil {
return t.SetUpdatedAt(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenCreate) SetNotNilUpdatedAt(value *time.Time) *TokenCreate {
if value != nil {
return t.SetUpdatedAt(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenUpdate) SetNotNilStatus(value *types.Status) *TokenUpdate {
if value != nil {
return t.SetStatus(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenUpdateOne) SetNotNilStatus(value *types.Status) *TokenUpdateOne {
if value != nil {
return t.SetStatus(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenCreate) SetNotNilStatus(value *types.Status) *TokenCreate {
if value != nil {
return t.SetStatus(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenUpdate) SetNotNilVersion(value *int64) *TokenUpdate {
if value != nil {
return t.SetVersion(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenUpdateOne) SetNotNilVersion(value *int64) *TokenUpdateOne {
if value != nil {
return t.SetVersion(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenCreate) SetNotNilVersion(value *int64) *TokenCreate {
if value != nil {
return t.SetVersion(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenUpdate) SetNotNilUserID(value *int64) *TokenUpdate {
if value != nil {
return t.SetUserID(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenUpdateOne) SetNotNilUserID(value *int64) *TokenUpdateOne {
if value != nil {
return t.SetUserID(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenCreate) SetNotNilUserID(value *int64) *TokenCreate {
if value != nil {
return t.SetUserID(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenUpdate) SetNotNilTokenType(value *string) *TokenUpdate {
if value != nil {
return t.SetTokenType(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenUpdateOne) SetNotNilTokenType(value *string) *TokenUpdateOne {
if value != nil {
return t.SetTokenType(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenCreate) SetNotNilTokenType(value *string) *TokenCreate {
if value != nil {
return t.SetTokenType(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenUpdate) SetNotNilAccessToken(value *string) *TokenUpdate {
if value != nil {
return t.SetAccessToken(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenUpdateOne) SetNotNilAccessToken(value *string) *TokenUpdateOne {
if value != nil {
return t.SetAccessToken(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenCreate) SetNotNilAccessToken(value *string) *TokenCreate {
if value != nil {
return t.SetAccessToken(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenUpdate) SetNotNilRefreshToken(value *string) *TokenUpdate {
if value != nil {
return t.SetRefreshToken(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenUpdateOne) SetNotNilRefreshToken(value *string) *TokenUpdateOne {
if value != nil {
return t.SetRefreshToken(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenCreate) SetNotNilRefreshToken(value *string) *TokenCreate {
if value != nil {
return t.SetRefreshToken(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenUpdate) SetNotNilSource(value *string) *TokenUpdate {
if value != nil {
return t.SetSource(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenUpdateOne) SetNotNilSource(value *string) *TokenUpdateOne {
if value != nil {
return t.SetSource(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenCreate) SetNotNilSource(value *string) *TokenCreate {
if value != nil {
return t.SetSource(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenUpdate) SetNotNilExpiredAt(value *time.Time) *TokenUpdate {
if value != nil {
return t.SetExpiredAt(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenUpdateOne) SetNotNilExpiredAt(value *time.Time) *TokenUpdateOne {
if value != nil {
return t.SetExpiredAt(*value)
}
return t
}
// set field if value's pointer is not nil.
func (t *TokenCreate) SetNotNilExpiredAt(value *time.Time) *TokenCreate {
if value != nil {
return t.SetExpiredAt(*value)
}
return t
}
// set field if value's pointer is not nil.
func (u *UserUpdate) SetNotNilStatus(value *types.Status) *UserUpdate {
if value != nil {
return u.SetStatus(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserUpdateOne) SetNotNilStatus(value *types.Status) *UserUpdateOne {
if value != nil {
return u.SetStatus(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserCreate) SetNotNilStatus(value *types.Status) *UserCreate {
if value != nil {
return u.SetStatus(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserUpdate) SetNotNilUpdatedAt(value *time.Time) *UserUpdate {
if value != nil {
return u.SetUpdatedAt(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserUpdateOne) SetNotNilUpdatedAt(value *time.Time) *UserUpdateOne {
if value != nil {
return u.SetUpdatedAt(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserCreate) SetNotNilUpdatedAt(value *time.Time) *UserCreate {
if value != nil {
return u.SetUpdatedAt(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserUpdate) SetNotNilVersion(value *int64) *UserUpdate {
if value != nil {
return u.SetVersion(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserUpdateOne) SetNotNilVersion(value *int64) *UserUpdateOne {
if value != nil {
return u.SetVersion(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserCreate) SetNotNilVersion(value *int64) *UserCreate {
if value != nil {
return u.SetVersion(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserUpdate) SetNotNilDeletedAt(value *time.Time) *UserUpdate {
if value != nil {
return u.SetDeletedAt(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserUpdateOne) SetNotNilDeletedAt(value *time.Time) *UserUpdateOne {
if value != nil {
return u.SetDeletedAt(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserCreate) SetNotNilDeletedAt(value *time.Time) *UserCreate {
if value != nil {
return u.SetDeletedAt(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserUpdate) SetNotNilUsername(value *string) *UserUpdate {
if value != nil {
return u.SetUsername(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserUpdateOne) SetNotNilUsername(value *string) *UserUpdateOne {
if value != nil {
return u.SetUsername(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserCreate) SetNotNilUsername(value *string) *UserCreate {
if value != nil {
return u.SetUsername(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserUpdate) SetNotNilPhoneNumber(value *string) *UserUpdate {
if value != nil {
return u.SetPhoneNumber(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserUpdateOne) SetNotNilPhoneNumber(value *string) *UserUpdateOne {
if value != nil {
return u.SetPhoneNumber(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserCreate) SetNotNilPhoneNumber(value *string) *UserCreate {
if value != nil {
return u.SetPhoneNumber(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserUpdate) SetNotNilEmail(value *string) *UserUpdate {
if value != nil {
return u.SetEmail(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserUpdateOne) SetNotNilEmail(value *string) *UserUpdateOne {
if value != nil {
return u.SetEmail(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserCreate) SetNotNilEmail(value *string) *UserCreate {
if value != nil {
return u.SetEmail(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserUpdate) SetNotNilPassword(value *string) *UserUpdate {
if value != nil {
return u.SetPassword(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserUpdateOne) SetNotNilPassword(value *string) *UserUpdateOne {
if value != nil {
return u.SetPassword(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserCreate) SetNotNilPassword(value *string) *UserCreate {
if value != nil {
return u.SetPassword(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserUpdate) SetNotNilNickname(value *string) *UserUpdate {
if value != nil {
return u.SetNickname(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserUpdateOne) SetNotNilNickname(value *string) *UserUpdateOne {
if value != nil {
return u.SetNickname(*value)
}
return u
}
// set field if value's pointer is not nil.
func (u *UserCreate) SetNotNilNickname(value *string) *UserCreate {
if value != nil {
return u.SetNickname(*value)
}
return u
}
// set field if value's pointer is not nil.
func (um *UserMetaUpdate) SetNotNilUpdatedAt(value *time.Time) *UserMetaUpdate {
if value != nil {
return um.SetUpdatedAt(*value)
}
return um
}
// set field if value's pointer is not nil.
func (um *UserMetaUpdateOne) SetNotNilUpdatedAt(value *time.Time) *UserMetaUpdateOne {
if value != nil {
return um.SetUpdatedAt(*value)
}
return um
}
// set field if value's pointer is not nil.
func (um *UserMetaCreate) SetNotNilUpdatedAt(value *time.Time) *UserMetaCreate {
if value != nil {
return um.SetUpdatedAt(*value)
}
return um
}
// set field if value's pointer is not nil.
func (um *UserMetaUpdate) SetNotNilVersion(value *int64) *UserMetaUpdate {
if value != nil {
return um.SetVersion(*value)
}
return um
}
// set field if value's pointer is not nil.
func (um *UserMetaUpdateOne) SetNotNilVersion(value *int64) *UserMetaUpdateOne {
if value != nil {
return um.SetVersion(*value)
}
return um
}
// set field if value's pointer is not nil.
func (um *UserMetaCreate) SetNotNilVersion(value *int64) *UserMetaCreate {
if value != nil {
return um.SetVersion(*value)
}
return um
}
// set field if value's pointer is not nil.
func (um *UserMetaUpdate) SetNotNilUserID(value *int64) *UserMetaUpdate {
if value != nil {
return um.SetUserID(*value)
}
return um
}
// set field if value's pointer is not nil.
func (um *UserMetaUpdateOne) SetNotNilUserID(value *int64) *UserMetaUpdateOne {
if value != nil {
return um.SetUserID(*value)
}
return um
}
// set field if value's pointer is not nil.
func (um *UserMetaCreate) SetNotNilUserID(value *int64) *UserMetaCreate {
if value != nil {
return um.SetUserID(*value)
}
return um
}
// set field if value's pointer is not nil.
func (um *UserMetaUpdate) SetNotNilKey(value *string) *UserMetaUpdate {
if value != nil {
return um.SetKey(*value)
}
return um
}
// set field if value's pointer is not nil.
func (um *UserMetaUpdateOne) SetNotNilKey(value *string) *UserMetaUpdateOne {
if value != nil {
return um.SetKey(*value)
}
return um
}
// set field if value's pointer is not nil.
func (um *UserMetaCreate) SetNotNilKey(value *string) *UserMetaCreate {
if value != nil {
return um.SetKey(*value)
}
return um
}
// set field if value's pointer is not nil.
func (um *UserMetaUpdate) SetNotNilValue(value *string) *UserMetaUpdate {
if value != nil {
return um.SetValue(*value)
}
return um
}
// set field if value's pointer is not nil.
func (um *UserMetaUpdateOne) SetNotNilValue(value *string) *UserMetaUpdateOne {
if value != nil {
return um.SetValue(*value)
}
return um
}
// set field if value's pointer is not nil.
func (um *UserMetaCreate) SetNotNilValue(value *string) *UserMetaCreate {
if value != nil {
return um.SetValue(*value)
}
return um
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdate) SetNotNilUpdatedAt(value *time.Time) *UserSocialUpdate {
if value != nil {
return us.SetUpdatedAt(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdateOne) SetNotNilUpdatedAt(value *time.Time) *UserSocialUpdateOne {
if value != nil {
return us.SetUpdatedAt(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialCreate) SetNotNilUpdatedAt(value *time.Time) *UserSocialCreate {
if value != nil {
return us.SetUpdatedAt(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdate) SetNotNilUserID(value *int64) *UserSocialUpdate {
if value != nil {
return us.SetUserID(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdateOne) SetNotNilUserID(value *int64) *UserSocialUpdateOne {
if value != nil {
return us.SetUserID(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialCreate) SetNotNilUserID(value *int64) *UserSocialCreate {
if value != nil {
return us.SetUserID(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdate) SetNotNilProvider(value *string) *UserSocialUpdate {
if value != nil {
return us.SetProvider(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdateOne) SetNotNilProvider(value *string) *UserSocialUpdateOne {
if value != nil {
return us.SetProvider(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialCreate) SetNotNilProvider(value *string) *UserSocialCreate {
if value != nil {
return us.SetProvider(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdate) SetNotNilAccessToken(value *string) *UserSocialUpdate {
if value != nil {
return us.SetAccessToken(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdateOne) SetNotNilAccessToken(value *string) *UserSocialUpdateOne {
if value != nil {
return us.SetAccessToken(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialCreate) SetNotNilAccessToken(value *string) *UserSocialCreate {
if value != nil {
return us.SetAccessToken(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdate) SetNotNilRefreshToken(value *string) *UserSocialUpdate {
if value != nil {
return us.SetRefreshToken(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdateOne) SetNotNilRefreshToken(value *string) *UserSocialUpdateOne {
if value != nil {
return us.SetRefreshToken(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialCreate) SetNotNilRefreshToken(value *string) *UserSocialCreate {
if value != nil {
return us.SetRefreshToken(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdate) SetNotNilUID(value *string) *UserSocialUpdate {
if value != nil {
return us.SetUID(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdateOne) SetNotNilUID(value *string) *UserSocialUpdateOne {
if value != nil {
return us.SetUID(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialCreate) SetNotNilUID(value *string) *UserSocialCreate {
if value != nil {
return us.SetUID(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdate) SetNotNilOpenID(value *string) *UserSocialUpdate {
if value != nil {
return us.SetOpenID(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdateOne) SetNotNilOpenID(value *string) *UserSocialUpdateOne {
if value != nil {
return us.SetOpenID(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialCreate) SetNotNilOpenID(value *string) *UserSocialCreate {
if value != nil {
return us.SetOpenID(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdate) SetNotNilUnionID(value *string) *UserSocialUpdate {
if value != nil {
return us.SetUnionID(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdateOne) SetNotNilUnionID(value *string) *UserSocialUpdateOne {
if value != nil {
return us.SetUnionID(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialCreate) SetNotNilUnionID(value *string) *UserSocialCreate {
if value != nil {
return us.SetUnionID(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdate) SetNotNilKey(value *string) *UserSocialUpdate {
if value != nil {
return us.SetKey(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdateOne) SetNotNilKey(value *string) *UserSocialUpdateOne {
if value != nil {
return us.SetKey(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialCreate) SetNotNilKey(value *string) *UserSocialCreate {
if value != nil {
return us.SetKey(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdate) SetNotNilExpiresIn(value *uint64) *UserSocialUpdate {
if value != nil {
return us.SetExpiresIn(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdateOne) SetNotNilExpiresIn(value *uint64) *UserSocialUpdateOne {
if value != nil {
return us.SetExpiresIn(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialCreate) SetNotNilExpiresIn(value *uint64) *UserSocialCreate {
if value != nil {
return us.SetExpiresIn(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdate) SetNotNilUserProfile(value *string) *UserSocialUpdate {
if value != nil {
return us.SetUserProfile(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialUpdateOne) SetNotNilUserProfile(value *string) *UserSocialUpdateOne {
if value != nil {
return us.SetUserProfile(*value)
}
return us
}
// set field if value's pointer is not nil.
func (us *UserSocialCreate) SetNotNilUserProfile(value *string) *UserSocialCreate {
if value != nil {
return us.SetUserProfile(*value)
}
return us
}