com.salesmanager.shop.model.customer.PersistableCustomer 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.customer;
import java.util.List;
import com.salesmanager.shop.model.customer.attribute.PersistableCustomerAttribute;
import com.salesmanager.shop.model.security.PersistableGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ApiModel(value="Customer", description="Customer model object")
public class PersistableCustomer extends CustomerEntity {
/**
*
*/
@ApiModelProperty(notes = "Customer password")
private String password = null;
private String repeatPassword = null;
private static final long serialVersionUID = 1L;
private List attributes;
private List groups;
public void setAttributes(List attributes) {
this.attributes = attributes;
}
public List getAttributes() {
return attributes;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public List getGroups() {
return groups;
}
public void setGroups(List groups) {
this.groups = groups;
}
public String getRepeatPassword() {
return repeatPassword;
}
public void setRepeatPassword(String repeatPassword) {
this.repeatPassword = repeatPassword;
}
}