1 8 9 package collections.ship.basic; 10 11 import java.io.Serializable ; 12 13 23 public class SupplierData implements Serializable { 24 25 private String name; 26 private int status; 27 private String city; 28 29 public SupplierData(String name, int status, String city) { 30 31 this.name = name; 32 this.status = status; 33 this.city = city; 34 } 35 36 public final String getName() { 37 38 return name; 39 } 40 41 public final int getStatus() { 42 43 return status; 44 } 45 46 public final String getCity() { 47 48 return city; 49 } 50 51 public String toString() { 52 53 return "[SupplierData: name=" + name + 54 " status=" + status + 55 " city=" + city + ']'; 56 } 57 } 58 | Popular Tags |