ExternalApiConfiguration.java
package com.tradecloud.domain.configuration.external;
import com.tradecloud.common.base.PersistenceBase;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
@Entity
public class ExternalApiConfiguration extends PersistenceBase {
public enum Type {
KNT
}
@Enumerated(value = EnumType.STRING)
private Type type;
private String username;
private String password;
private String customerCode;
public Type getType() {
return type;
}
public void setType(Type type) {
this.type = type;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getCustomerCode() {
return customerCode;
}
public void setCustomerCode(String customerCode) {
this.customerCode = customerCode;
}
}