sai-pullabhotla
7/21/2016 - 8:23 PM

Catatumbo - Identifier Annotation

Catatumbo - Identifier Annotation

import com.jmethods.catatumbo.Entity;
import com.jmethods.catatumbo.Identifier;

@Entity
public class Person {
  
    @Identifier
    private long id;
    
    //Other members of Person go here. For example, firstName, lastName and 
    //their corresponding accessor and mutator methods. 
}