1package org.ahmadsoft.stream; 2 3import java.io.Serializable; 4import java.util.Date; 5 6public class President implements Serializable { 7 private String name; 8 private Date officeStart; 9 private Date officeEnd; 10 private byte[] thumbnail; 11 private String summary; 12 public String getName() { 13 return name; 14 } 15 public void setName(String name) { 16 this.name = name; 17 } 18 public Date getOfficeEnd() { 19 return officeEnd; 20 } 21 public void setOfficeEnd(Date officeEnd) { 22 this.officeEnd = officeEnd; 23 } 24 public Date getOfficeStart() { 25 return officeStart; 26 } 27 public void setOfficeStart(Date officeStart) { 28 this.officeStart = officeStart; 29 } 30 public byte[] getThumbnail() { 31 return thumbnail; 32 } 33 public void setThumbnail(byte[] thumbnail) { 34 this.thumbnail = thumbnail; 35 } 36 public String getSummary() { 37 return summary; 38 } 39 public void setSummary(String summary) { 40 this.summary = summary; 41 } 42}