class StoreImage implements ICachable<StoreImage> {

  @Override
  public boolean equals(Object obj) {
    if (this == obj) {
      return true;
    }
    if (obj == null) {
      return false;
    }
    if (getClass() != obj.getClass()) {
      return false;
    }
    StoreImage other = (StoreImage) obj;
    if (id != other.getId()) {
      return false;
    }
    return true;
  }

  public  StoreImage(final long id, BufferedImage image, ImageSize size);
  public  StoreImage(final long id, byte[] base64, ImageSize size);
  public  StoreImage(StoreImage image);

}