package com.cygnusa.hyperm.wrappers;

public class Dealer {

    String dealer_code;
    String dealer_name;
    String city;
    String state;
    String zone;
    String address;
    String country;
    String phone;
    String zm_name;
    String rm_name;
    String am_name;
    String zm_email;
    String rm_email;
    String am_email;
    String zm_mobile;
    String rm_mobile;
    String am_mobile;

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress() {
        return address;
    }

    public String getDealer_code() {
        return dealer_code;
    }

    public void setDealer_code(String dealer_code) {
        this.dealer_code = dealer_code;
    }

    public String getDealer_name() {
        return dealer_name;
    }

    public void setDealer_name(String dealer_name) {
        this.dealer_name = dealer_name;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getZone() {
        return zone;
    }

    public void setZone(String zone) {
        this.zone = zone;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getZm_name() {
        return zm_name;
    }

    public void setZm_name(String zm_name) {
        this.zm_name = zm_name;
    }

    public String getRm_name() {
        return rm_name;
    }

    public void setRm_name(String rm_name) {
        this.rm_name = rm_name;
    }

    public String getAm_name() {
        return am_name;
    }

    public void setAm_name(String am_name) {
        this.am_name = am_name;
    }

    public String getZm_email() {
        return zm_email;
    }

    public void setZm_email(String zm_email) {
        this.zm_email = zm_email;
    }

    public String getRm_email() {
        return rm_email;
    }

    public void setRm_email(String rm_email) {
        this.rm_email = rm_email;
    }

    public String getAm_email() {
        return am_email;
    }

    public void setAm_email(String am_email) {
        this.am_email = am_email;
    }

    public String getZm_mobile() {
        return zm_mobile;
    }

    public void setZm_mobile(String zm_mobile) {
        this.zm_mobile = zm_mobile;
    }

    public String getRm_mobile() {
        return rm_mobile;
    }

    public void setRm_mobile(String rm_mobile) {
        this.rm_mobile = rm_mobile;
    }

    public String getAm_mobile() {
        return am_mobile;
    }

    public void setAm_mobile(String am_mobile) {
        this.am_mobile = am_mobile;
    }

    public String getName() {
        return dealer_code + "-" + (dealer_name == null || dealer_name.trim().isEmpty() ? "" : dealer_name.trim());
    }
}
