我想将name
和@Table
批注的@Column
参数值设置为来自application.properties
文件:
@Entity
@Table(name = "GACCCODE")
public class Comptable {
@Id
@Column(name = "ACCCOD_0")
private String acccod;
@Column(name = "COA_0")
private String coa;
...
}
该怎么做?