Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How? id 0이상 값으로만 설정 #1106

Open
sunwon12 opened this issue Nov 25, 2024 · 0 comments
Open

How? id 0이상 값으로만 설정 #1106

sunwon12 opened this issue Nov 25, 2024 · 0 comments
Labels
question Further information is requested

Comments

@sunwon12
Copy link

@id 어노테이션이고 Long 타입인 경우 0이상만 생산하도록 어떻게 설정할까요?
fixtureMonkeyBuilder로 전역적으로 설정하고 싶습니다.

class FixtureMonkeyConfig {


    public static FixtureMonkey fixtureMonkey = FixtureMonkey.builder()
            .objectIntrospector(new FailoverIntrospector(               //DTO, domain 마다 생성방식이 다르니 생성방식 여러가지 설정
                    Arrays.asList(
                            FieldReflectionArbitraryIntrospector.INSTANCE, // reflection과 getter or setter로 생성
                            BeanArbitraryIntrospector.INSTANCE,  // reflection과 setter로 생성
                            BuilderArbitraryIntrospector.INSTANCE  // 빌더로 생성
                    )
            ))
@sunwon12 sunwon12 added the question Further information is requested label Nov 25, 2024
@sunwon12 sunwon12 changed the title How? id 0이상만 값으로만 설정 How? id 0이상 값으로만 설정 Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant