Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
- package com.artivisi.payment.model;
- import java.io.Serializable;
- import javax.persistence.Column;
- import javax.persistence.Embeddable;
- /**
- *
- * @author endy
- */
- @SuppressWarnings("serial")
- @Embeddable
- public class PaymentInformation implements Serializable {
- @Column(name="info_label")
- private String label;
- @Column(name="info_content")
- private String content;
- public PaymentInformation() {
- }
- public PaymentInformation(String label, String content) {
- this.label = label;
- this.content = content;
- }
- public String getContent() {
- return content;
- }
- public void setContent(String content) {
- this.content = content;
- }
- public String getLabel() {
- return label;
- }
- public void setLabel(String label) {
- this.label = label;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement