View as "text/plain" | Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.web.controller;import com.fasterxml.jackson.annotation.JsonProperty;import com.spice.profitmandi.dao.entity.fofo.Customer;class CustomerModel {@JsonProperty(required = false)private Customer customer;@JsonProperty(required = true)private boolean exists;public CustomerModel(boolean exists, Customer customer) {super();this.customer = customer;this.exists = exists;}@Overridepublic String toString() {return "CustomerModel [customer=" + customer + ", exists=" + exists + "]";}public Customer getCustomer() {return customer;}public void setCustomer(Customer customer) {this.customer = customer;}public boolean isExists() {return exists;}public void setExists(boolean exists) {this.exists = exists;}}