// defaults sets the default values of the builder before save.
defaults sets the default values of the builder before save.
// defaults sets the default values of the builder before save .
func (fc *FactCreate) defaults() {
	if _, ok := fc.mutation.CreatedAt(); !ok {
		v := fact.DefaultCreatedAt()
		fc.mutation.SetCreatedAt(v)
	}
	if _, ok := fc.mutation.UpdatedAt(); !ok {
		v := fact.DefaultUpdatedAt()
		fc.mutation.SetUpdatedAt(v)
	}
	if _, ok := fc.mutation.ID(); !ok {
		v := fact.DefaultID()
		fc.mutation.SetID(v)
	}
}
func ( fc * FactCreate ) defaults ( ) { if _ , ok := fc . mutation . CreatedAt ( ) ; ! ok { v := fact . DefaultCreatedAt ( ) fc . mutation . SetCreatedAt ( v ) } if _ , ok := fc . mutation . UpdatedAt ( ) ; ! ok { v := fact . DefaultUpdatedAt ( ) fc . mutation . SetUpdatedAt ( v ) } if _ , ok := fc . mutation . ID ( ) ; ! ok { v := fact . DefaultID ( ) fc . mutation . SetID ( v ) } }
defaults sets the default values of the builder before save.
defaults sets the default values of the builder before save .