mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
38 lines
605 B
Java
38 lines
605 B
Java
package org.tests.model.basic;
|
|
|
|
import io.ebean.annotation.UpdateMode;
|
|
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Id;
|
|
import javax.persistence.Table;
|
|
|
|
@Entity
|
|
@Table(name = "t_mapsuper1")
|
|
@UpdateMode(updateChangesOnly = true)
|
|
public class TMapSuperEntity extends TMappedSuper2 {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@Id
|
|
Integer id;
|
|
|
|
String name;
|
|
|
|
public Integer getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Integer id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
}
|