SABSTariffSearch.java
package com.tradecloud.domain.sabs;
import com.tradecloud.domain.common.Currency;
import com.tradecloud.domain.dto.base.SearchBase;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import java.io.Serializable;
import java.util.Date;
@Component
@Scope("view")
public class SABSTariffSearch extends SearchBase implements Serializable {
/**
* UID.
*/
private static final long serialVersionUID = 1L;
private String description;
private String category;
private String code;
private Date effectiveDateTo;
private Date effectiveDateFrom;
private Date created;
private Currency currency;
public static long getSerialversionuid() {
return serialVersionUID;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getCategory() {
return category;
}
public void setCategory(String category) {
this.category = category;
}
public Date getEffectiveDateTo() {
return effectiveDateTo;
}
public void setEffectiveDateTo(Date effectiveDateTo) {
this.effectiveDateTo = effectiveDateTo;
}
public Date getEffectiveDateFrom() {
return effectiveDateFrom;
}
public void setEffectiveDateFrom(Date effectiveDateFrom) {
this.effectiveDateFrom = effectiveDateFrom;
}
public Currency getCurrency() {
return currency;
}
public void setCurrency(Currency currency) {
this.currency = currency;
}
// ------------------------------------
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this);
}
@Override
public String getTableName() {
return "sabsslidingscale";
}
public Date getCreated() {
return created;
}
public void setCreated(Date created) {
this.created = created;
}
}