Skip to content

Instantly share code, notes, and snippets.

@Validated
public class CrudServiceConfiguration {
@Min(1)
private int createLimit;
@Min(1)
private int readLimit;
@Min(1)
//BASIC 'FIND' OPERATIONS
$birthCountries = $this->Application->Applicant->BirthCountry->find('list');
$citizenshipCountries = $this->Application->Applicant->CitizenshipCountry->find('list');
$residenceCountries = $this->Application->Applicant->ResidenceCountry->find('list');
$passportCountries = $this->Application->Passport->PassportCountry->find('list');
$telCode = $this->Application->Applicant->TelCode->find('list');
$states = $this->Application->Address->State->find('list');
$airlines = $this->Application->TravelDetail->Airline->find('list');
$cruises = $this->Application->TravelDetail->Cruise->find('list');