package com.querydsl.jpa.domain; import java.io.Serializable; import java.math.BigDecimal; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "numeric_") public class Numeric implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue private Long id; private BigDecimal value; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public BigDecimal getValue() { return value; } public void setValue(BigDecimal value) { this.value = value; } }