com.salesmanager.shop.model.content.Content Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sm-shop-model Show documentation
Show all versions of sm-shop-model Show documentation
sm-shop-model contains Shopizer model objects for api
The newest version!
package com.salesmanager.shop.model.content;
import java.io.Serializable;
import javax.validation.constraints.NotEmpty;
public abstract class Content implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
@NotEmpty
private String name;
private String contentType;
public Content() {}
public Content(String name) {
this.name = name;
}
public Content(String name, String contentType) {
this.name = name;
this.contentType = contentType;
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
public String getContentType() {
return contentType;
}
public void setContentType(String contentType) {
this.contentType = contentType;
}
}