Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.97 KB | None | 0 0
  1. /*
  2.  * To change this template, choose Tools | Templates
  3.  * and open the template in the editor.
  4.  */
  5.  
  6. package com.artivisi.payment.model;
  7.  
  8. import java.io.Serializable;
  9. import javax.persistence.Column;
  10. import javax.persistence.Embeddable;
  11.  
  12. /**
  13.  *
  14.  * @author endy
  15.  */
  16. @SuppressWarnings("serial")
  17. @Embeddable
  18. public class PaymentInformation implements Serializable {
  19.    
  20.     @Column(name="info_label")
  21.     private String label;
  22.  
  23.     @Column(name="info_content")
  24.     private String content;
  25.  
  26.     public PaymentInformation() {
  27.     }
  28.  
  29.     public PaymentInformation(String label, String content) {
  30.         this.label = label;
  31.         this.content = content;
  32.     }
  33.  
  34.     public String getContent() {
  35.         return content;
  36.     }
  37.  
  38.     public void setContent(String content) {
  39.         this.content = content;
  40.     }
  41.  
  42.     public String getLabel() {
  43.         return label;
  44.     }
  45.  
  46.     public void setLabel(String label) {
  47.         this.label = label;
  48.     }
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement