| 1 |
|
package rest.db1; |
| 2 |
|
|
| 3 |
|
import java.math.BigDecimal; |
| 4 |
|
|
| 5 |
|
import javax.persistence.Entity; |
| 6 |
|
import javax.persistence.GeneratedValue; |
| 7 |
|
import javax.persistence.GenerationType; |
| 8 |
|
import javax.persistence.Id; |
| 9 |
|
|
| 10 |
|
import lombok.Data; |
| 11 |
|
import rest.Account; |
| 12 |
|
|
| 13 |
|
@Entity |
| 14 |
|
@Data |
| |
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
| 15 |
|
public class FirstAccount implements Account { |
| 16 |
|
|
| 17 |
|
@Id |
| 18 |
|
@GeneratedValue(strategy = GenerationType.AUTO) |
| 19 |
|
private Long id; |
| 20 |
|
|
| 21 |
|
private String name; |
| 22 |
|
|
| 23 |
|
private BigDecimal total; |
| 24 |
|
|
| 25 |
|
private BigDecimal current; |
| 26 |
|
|
| 27 |
|
} |