package com.eactive.eai.rms.data.entity.onl.stdmessage;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.eactive.eai.data.entity.onl.stdmessage.StandardMessageLayoutDeploy;
import com.eactive.eai.data.jpa.AbstractDataService;

@Service
@Transactional
public class StandardMessageLayoutDeployService
		extends AbstractDataService<StandardMessageLayoutDeploy, String, StandardMessageLayoutDeployRepository> {

	public StandardMessageLayoutDeploy findFirst() {
		return repository.findAll().stream().findFirst().orElse(null);
	}
}
