// 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 (aac *APIAuditCreate) defaults() {
	if _, ok := aac.mutation.CreatedAt(); !ok {
		v := apiaudit.DefaultCreatedAt()
		aac.mutation.SetCreatedAt(v)
	}
	if _, ok := aac.mutation.UpdatedAt(); !ok {
		v := apiaudit.DefaultUpdatedAt()
		aac.mutation.SetUpdatedAt(v)
	}
	if _, ok := aac.mutation.ID(); !ok {
		v := apiaudit.DefaultID()
		aac.mutation.SetID(v)
	}
}
func ( aac * APIAuditCreate ) defaults ( ) { if _ , ok := aac . mutation . CreatedAt ( ) ; ! ok { v := apiaudit . DefaultCreatedAt ( ) aac . mutation . SetCreatedAt ( v ) } if _ , ok := aac . mutation . UpdatedAt ( ) ; ! ok { v := apiaudit . DefaultUpdatedAt ( ) aac . mutation . SetUpdatedAt ( v ) } if _ , ok := aac . mutation . ID ( ) ; ! ok { v := apiaudit . DefaultID ( ) aac . mutation . SetID ( v ) } }
defaults sets the default values of the builder before save.
defaults sets the default values of the builder before save .