1 8 9 package collections.ship.sentity; 10 11 import java.io.Serializable ; 12 13 31 public class Supplier implements Serializable { 32 33 private transient String number; 34 private String name; 35 private int status; 36 private String city; 37 38 public Supplier(String number, String name, int status, String city) { 39 40 this.number = number; 41 this.name = name; 42 this.status = status; 43 this.city = city; 44 } 45 46 50 void setKey(String number) { 51 52 this.number = number; 53 } 54 55 public final String getNumber() { 56 57 return number; 58 } 59 60 public final String getName() { 61 62 return name; 63 } 64 65 public final int getStatus() { 66 67 return status; 68 } 69 70 public final String getCity() { 71 72 return city; 73 } 74 75 public String toString() { 76 77 return "[Supplier: number=" + number + 78 " name=" + name + 79 " status=" + status + 80 " city=" + city + ']'; 81 } 82 } 83 | Popular Tags |