1. Project Clover database Dom fev 10 2019 22:52:55 BRST
  2. Package rest.db2

File SecondAccount.java

 

Code metrics

0
0
0
1
27
18
0
-
-
0
-

Classes

Class Line # Actions
SecondAccount 15 0 - 0 0
-1.0 -
 

Contributing tests

No tests hitting this source file were found.

Source view

1    package rest.db2;
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
 
15    public class SecondAccount 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    }