📜  https: www.baeldung.com hibernate-inheritance - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:20.901000             🧑  作者: Mango

代码示例2
@Entity
public class MyEmployee extends Person {
    private String company;
    // constructor, getters, setters 
}