Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package com.spec.model;
- /**
- *
- * @author Administrator
- */
- public class Customer {
- //
- private String customerName;
- private String num;
- public Customer(String customerName, String num) {
- this.customerName = customerName;
- this.num = num;
- }
- //
- public String getCustomerName() {
- return customerName;
- }
- public void setCustomerName(String customerName) {
- this.customerName = customerName;
- }
- public String getNum() {
- return num;
- }
- public void setNum(String num) {
- this.num = num;
- }
- //
- @Override
- public String toString(){
- return "customerName=" + customerName + "_num=" + num;
- }
- //
- public String toJSON(){
- return null;
- }
- //
- public String toXML(){
- return null;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement