1 2 23 package com.geinuke.vo; 24 25 public class PMessageVO { 26 protected int idPM=-1; 27 protected UserVO userFrom=null; 28 protected UserVO userTo=null; 29 protected String text=null; 30 protected String subject=null; 31 protected long date=0; 32 protected boolean seen=false; 33 protected boolean cancelledByFrom=false; 34 protected boolean cancelledByTo=false; 35 36 public boolean isSeen() { 37 return seen; 38 } 39 public void setSeen(boolean seen) { 40 this.seen = seen; 41 } 42 public String getSubject() { 43 return subject; 44 } 45 public void setSubject(String subject) { 46 this.subject = subject; 47 } 48 public String getText() { 49 return text; 50 } 51 public void setText(String text) { 52 this.text = text; 53 } 54 public UserVO getUserFrom() { 55 return userFrom; 56 } 57 public void setUserFrom(UserVO userFrom) { 58 this.userFrom = userFrom; 59 } 60 public UserVO getUserTo() { 61 return userTo; 62 } 63 public void setUserTo(UserVO userTo) { 64 this.userTo = userTo; 65 } 66 public boolean isCancelledByFrom() { 67 return cancelledByFrom; 68 } 69 public void setCancelledByFrom(boolean cancelledByFrom) { 70 this.cancelledByFrom = cancelledByFrom; 71 } 72 public boolean isCancelledByTo() { 73 return cancelledByTo; 74 } 75 public void setCancelledByTo(boolean cancelledByTo) { 76 this.cancelledByTo = cancelledByTo; 77 } 78 public long getDate() { 79 return date; 80 } 81 public void setDate(long data) { 82 this.date = data; 83 } 84 public int getIdPM() { 85 return idPM; 86 } 87 public void setIdPM(int idPM) { 88 this.idPM = idPM; 89 } 90 } 91 | Popular Tags |