generate accessors only

This commit is contained in:
Athou
2013-08-11 14:01:16 +02:00
parent e1be05711b
commit 27681603cd
11 changed files with 44 additions and 42 deletions

View File

@@ -10,8 +10,8 @@ import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
@@ -21,8 +21,8 @@ import org.hibernate.annotations.CacheConcurrencyStrategy;
@SuppressWarnings("serial")
@Cacheable
@Cache(usage = CacheConcurrencyStrategy.TRANSACTIONAL)
@Data
@EqualsAndHashCode(callSuper = true)
@Getter
@Setter
public class UserRole extends AbstractModel {
public static enum Role {