1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| package com.changhong.epc.bean.center.test;
|
| import javax.persistence.Column;
| import javax.persistence.Id;
|
| import lombok.Data;
| import lombok.EqualsAndHashCode;
|
| @Data
| @EqualsAndHashCode(callSuper=false)
| public class Test {
|
| @Id
| @Column(name="id")
| private Integer id;
|
| @Column(name="name")
| private String name;
|
| }
|
|