AdvAgent.java 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. package com.cloudcross.ssp.model;
  2. import java.util.Date;
  3. import com.cloudcross.ssp.web.widget.SelectorController.ISelector;
  4. public class AdvAgent implements ISelector{
  5. private Long id;
  6. private String name;
  7. private String contacts;
  8. private String tel;
  9. private String mobile;
  10. private String homePage;
  11. private String address;
  12. private String zip;
  13. private String email;
  14. private String title;
  15. private Long adminId;
  16. private Integer status;
  17. private Date updated;
  18. public Long getId() {
  19. return id;
  20. }
  21. public void setId(Long id) {
  22. this.id = id;
  23. }
  24. public String getName() {
  25. return name;
  26. }
  27. public void setName(String name) {
  28. this.name = name;
  29. }
  30. public String getContacts() {
  31. return contacts;
  32. }
  33. public void setContacts(String contacts) {
  34. this.contacts = contacts;
  35. }
  36. public String getTel() {
  37. return tel;
  38. }
  39. public void setTel(String tel) {
  40. this.tel = tel;
  41. }
  42. public String getMobile() {
  43. return mobile;
  44. }
  45. public void setMobile(String mobile) {
  46. this.mobile = mobile;
  47. }
  48. public String getHomePage() {
  49. return homePage;
  50. }
  51. public void setHomePage(String homePage) {
  52. this.homePage = homePage;
  53. }
  54. public String getAddress() {
  55. return address;
  56. }
  57. public void setAddress(String address) {
  58. this.address = address;
  59. }
  60. public String getZip() {
  61. return zip;
  62. }
  63. public void setZip(String zip) {
  64. this.zip = zip;
  65. }
  66. public String getEmail() {
  67. return email;
  68. }
  69. public void setEmail(String email) {
  70. this.email = email;
  71. }
  72. public String getTitle() {
  73. return title;
  74. }
  75. public void setTitle(String title) {
  76. this.title = title;
  77. }
  78. public Long getAdminId() {
  79. return adminId;
  80. }
  81. public void setAdminId(Long admin_id) {
  82. this.adminId = admin_id;
  83. }
  84. public Integer getStatus() {
  85. return status;
  86. }
  87. public void setStatus(Integer status) {
  88. this.status = status;
  89. }
  90. public Date getUpdated() {
  91. return updated;
  92. }
  93. public void setUpdated(Date updated) {
  94. this.updated = updated;
  95. }
  96. @Override
  97. public String toString() {
  98. return "AdvAgent [id=" + id + ", name=" + name + ", regName=" +
  99. ", contacts=" + contacts + ", tel=" + tel + ", mobile="
  100. + mobile + ", homePage=" + homePage + ", address=" + address
  101. + ", zip=" + zip + ", email=" + email + ", title=" + title
  102. + ", admin_id=" + ", status=" + status
  103. + ", updated=" + updated + "]";
  104. }
  105. @Override
  106. public String getLabel() {
  107. // TODO Auto-generated method stub
  108. return this.name;
  109. }
  110. @Override
  111. public String getValue() {
  112. // TODO Auto-generated method stub
  113. return this.id.toString();
  114. }
  115. }