func (ac *AddressCreate) SetUpdatedAt(t time.Time) *AddressCreate {
	ac.mutation.SetUpdatedAt(t)
	return ac
}
SetUpdatedAt sets the "updated_at" field.
package ent
import (
	"context"
	"errors"
	"fmt"
	"time"
	"entgo.io/ent/dialect/sql/sqlgraph"
	"entgo.io/ent/schema/field"
	"github.com/go-kratos/beer-shop/app/user/service/internal/data/ent/address"
	"github.com/go-kratos/beer-shop/app/user/service/internal/data/ent/user"
)
type AddressCreate struct {
	config
	mutation *AddressMutation
	hooks    []Hook
}
func (ac *AddressCreate) SetName(s string) *AddressCreate {
	ac.mutation.SetName(s)
	return ac
}
func (ac *AddressCreate) SetMobile(s string) *AddressCreate {
	ac.mutation.SetMobile(s)
	return ac
}
func (ac *AddressCreate) SetAddress(s string) *AddressCreate {
	ac.mutation.SetAddress(s)
	return ac
}
func (ac *AddressCreate) SetPostCode(s string) *AddressCreate {
	ac.mutation.SetPostCode(s)
	return ac
}
func (ac *AddressCreate) SetCreatedAt(t time.Time) *AddressCreate {
	ac.mutation.SetCreatedAt(t)
	return ac
}
func (ac *AddressCreate) SetNillableCreatedAt(t *time.Time) *AddressCreate {
	if t != nil {
		ac.SetCreatedAt(*t)
	}
	return ac
}