数据库字段实体

2017-09-27  本文已影响0人  d655059c22cc
public class Configuration {
    private String dimage_uri;
    private String dpay_uri;
    private String dcloud_uri;
    private String din_uri;
    private String dversioncode_uri;

    public String getDimage_uri() {
        return dimage_uri;
    }

    public void setDimage_uri(String dimage_uri) {
        this.dimage_uri = dimage_uri;
    }

    public String getDpay_uri() {
        return dpay_uri;
    }

    public void setDpay_uri(String dpay_uri) {
        this.dpay_uri = dpay_uri;
    }

    public String getDcloud_uri() {
        return dcloud_uri;
    }

    public void setDcloud_uri(String dcloud_uri) {
        this.dcloud_uri = dcloud_uri;
    }

    public String getDin_uri() {
        return din_uri;
    }

    public void setDin_uri(String din_uri) {
        this.din_uri = din_uri;
    }

    public String getDversioncode_uri() {
        return dversioncode_uri;
    }

    public void setDversioncode_uri(String dversioncode_uri) {
        this.dversioncode_uri = dversioncode_uri;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Configuration configuration = (Configuration) o;

        if (dimage_uri != null ? !dimage_uri.equals(configuration.dimage_uri) : configuration.dimage_uri != null) return false;
        if (dpay_uri != null ? !dpay_uri.equals(configuration.dpay_uri) : configuration.dpay_uri != null) return false;
        if (dcloud_uri != null ? !dcloud_uri.equals(configuration.dcloud_uri) : configuration.dcloud_uri != null) return false;
        if (din_uri != null ? !din_uri.equals(configuration.din_uri) : configuration.din_uri != null) return false;
        if (dversioncode_uri != null ? !dversioncode_uri.equals(configuration.dversioncode_uri) : configuration.dversioncode_uri != null) return false;

        return true;
    }
}
上一篇下一篇

猜你喜欢

热点阅读