ing
This commit is contained in:
parent
8ba84132f7
commit
a6112e0725
2
pom.xml
2
pom.xml
|
@ -13,7 +13,7 @@
|
||||||
<groupId>com.loafle.overflow</groupId>
|
<groupId>com.loafle.overflow</groupId>
|
||||||
<artifactId>commons-java</artifactId>
|
<artifactId>commons-java</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<version>1.0.47-SNAPSHOT</version>
|
<version>1.0.48-SNAPSHOT</version>
|
||||||
<name>com.loafle.overflow.commons-java</name>
|
<name>com.loafle.overflow.commons-java</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|
|
@ -6,7 +6,6 @@ import javax.persistence.*;
|
||||||
* Created by root on 17. 6. 22.
|
* Created by root on 17. 6. 22.
|
||||||
*/
|
*/
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "META_TARGET_HOST_TYPE", schema = "public")
|
|
||||||
@DiscriminatorValue("2")
|
@DiscriminatorValue("2")
|
||||||
public class MetaTargetHostType extends MetaTargetType {
|
public class MetaTargetHostType extends MetaTargetType {
|
||||||
public MetaTargetHostType() {
|
public MetaTargetHostType() {
|
||||||
|
|
|
@ -6,7 +6,6 @@ import javax.persistence.*;
|
||||||
* Created by root on 17. 6. 22.
|
* Created by root on 17. 6. 22.
|
||||||
*/
|
*/
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "META_TARGET_SERVICE_TYPE", schema = "public")
|
|
||||||
@DiscriminatorValue("3")
|
@DiscriminatorValue("3")
|
||||||
public class MetaTargetServiceType extends MetaTargetType {
|
public class MetaTargetServiceType extends MetaTargetType {
|
||||||
public MetaTargetServiceType() {
|
public MetaTargetServiceType() {
|
||||||
|
|
|
@ -9,7 +9,7 @@ import java.util.Date;
|
||||||
*/
|
*/
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "META_TARGET_TYPE", schema = "public")
|
@Table(name = "META_TARGET_TYPE", schema = "public")
|
||||||
@Inheritance(strategy = InheritanceType.JOINED)
|
@Inheritance(strategy = InheritanceType.SINGLE_TABLE)
|
||||||
@DiscriminatorColumn(name = "META_INFRA_TYPE_ID", discriminatorType = DiscriminatorType.INTEGER)
|
@DiscriminatorColumn(name = "META_INFRA_TYPE_ID", discriminatorType = DiscriminatorType.INTEGER)
|
||||||
public abstract class MetaTargetType {
|
public abstract class MetaTargetType {
|
||||||
private Integer id;
|
private Integer id;
|
||||||
|
|
|
@ -6,7 +6,6 @@ import javax.persistence.*;
|
||||||
* Created by root on 17. 6. 22.
|
* Created by root on 17. 6. 22.
|
||||||
*/
|
*/
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "META_TARGET_ZONE_TYPE", schema = "public")
|
|
||||||
@DiscriminatorValue("1")
|
@DiscriminatorValue("1")
|
||||||
public class MetaTargetZoneType extends MetaTargetType {
|
public class MetaTargetZoneType extends MetaTargetType {
|
||||||
public MetaTargetZoneType() {
|
public MetaTargetZoneType() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user