1 8 9 package collections.ship.entity; 10 11 21 public class Supplier { 22 23 private String number; 24 private String name; 25 private int status; 26 private String city; 27 28 public Supplier(String number, String name, int status, String city) { 29 30 this.number = number; 31 this.name = name; 32 this.status = status; 33 this.city = city; 34 } 35 36 public final String getNumber() { 37 38 return number; 39 } 40 41 public final String getName() { 42 43 return name; 44 } 45 46 public final int getStatus() { 47 48 return status; 49 } 50 51 public final String getCity() { 52 53 return city; 54 } 55 56 public String toString() { 57 58 return "[Supplier: number=" + number + 59 " name=" + name + 60 " status=" + status + 61 " city=" + city + ']'; 62 } 63 } 64 | Popular Tags |