package com.eactive.testmaster.api.entity; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; @Entity @Table(name = "MOCK_RESPONSE_CONDITION") public class MockCondition { @ManyToOne @JoinColumn(name = "MOCK_RESPONSE_ID", nullable = false) private MockResponse mockResponse; @Id @GeneratedValue(strategy = GenerationType.SEQUENCE) private Long id; private String type; private String key; private String value; public MockResponse getMockResponse() { return mockResponse; } public void setMockResponse(MockResponse mockResponse) { this.mockResponse = mockResponse; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getType() { return type; } public void setType(String type) { this.type = type; } public String getKey() { return key; } public void setKey(String key) { this.key = key; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } }