package com.emonster.taroaichat.domain;

import java.util.Random;
import java.util.UUID;
import java.util.concurrent.atomic.AtomicLong;

public class UserProfileTestSamples {

    private static final Random random = new Random();
    private static final AtomicLong longCount = new AtomicLong(random.nextInt() + (2 * Integer.MAX_VALUE));

    public static UserProfile getUserProfileSample1() {
        return new UserProfile().id(1L).phone("phone1").occupation("occupation1").createdBy("createdBy1").lastModifiedBy("lastModifiedBy1");
    }

    public static UserProfile getUserProfileSample2() {
        return new UserProfile().id(2L).phone("phone2").occupation("occupation2").createdBy("createdBy2").lastModifiedBy("lastModifiedBy2");
    }

    public static UserProfile getUserProfileRandomSampleGenerator() {
        return new UserProfile()
            .id(longCount.incrementAndGet())
            .phone(UUID.randomUUID().toString())
            .occupation(UUID.randomUUID().toString())
            .createdBy(UUID.randomUUID().toString())
            .lastModifiedBy(UUID.randomUUID().toString());
    }
}
