package net.etalia.client.domain;

public class Media {

	private String id;
	private String description;
	private String url;
	private MediaType type;

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public MediaType getType() {
		return type;
	}
	public void setType(MediaType type) {
		this.type = type;
	}

	public enum MediaType {
		_image(),
		_video();
		private MediaType() {
		}
	}

}

@@ -144,16 +144,59 @@
 pe type;
+%0A%09private Long width;%0A%09private Long height;
 %0A%0A%09publi
@@ -634,16 +634,234 @@
 type;%0A%09%7D
+%0A%09public Long getWidth() %7B%0A%09%09return width;%0A%09%7D%0A%09public void setWidth(Long width) %7B%0A%09%09this.width = width;%0A%09%7D%0A%09public Long getHeight() %7B%0A%09%09return height;%0A%09%7D%0A%09public void setHeight(Long height) %7B%0A%09%09this.height = height;%0A%09%7D
 %0A%0A%09publi

Improve Media