Operator.java 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. package com.cloudcross.ssp.model;
  2. import com.cloudcross.ssp.web.widget.SelectorController.ISelector;
  3. /**
  4. * 媒体运营商实体类!对应t_operator表
  5. * @author CloudCross
  6. *
  7. */
  8. public class Operator implements ISelector{
  9. private Long id;
  10. private String companyName;
  11. private String linkMan;
  12. private String tel;
  13. private String mobile;
  14. private String homePage;
  15. private String account;
  16. private String accountName;
  17. private String bank;
  18. private Integer status;
  19. private Long adminId;//是相应的管理员账号的关联的t_account.id
  20. private String address;
  21. private String zip;
  22. private String email;
  23. public String getHomePage() {
  24. return homePage;
  25. }
  26. public void setHomePage(String homePage) {
  27. this.homePage = homePage;
  28. }
  29. public String getMobile() {
  30. return mobile;
  31. }
  32. public void setMobile(String mobile) {
  33. this.mobile = mobile;
  34. }
  35. public String getAddress() {
  36. return address;
  37. }
  38. public void setAddress(String address) {
  39. this.address = address;
  40. }
  41. public String getZip() {
  42. return zip;
  43. }
  44. public void setZip(String zip) {
  45. this.zip = zip;
  46. }
  47. public String getEmail() {
  48. return email;
  49. }
  50. public void setEmail(String email) {
  51. this.email = email;
  52. }
  53. public Long getAdminId() {
  54. return adminId;
  55. }
  56. public void setAdminId(Long adminId) {
  57. this.adminId = adminId;
  58. }
  59. public Integer getStatus() {
  60. return status;
  61. }
  62. public void setStatus(Integer status) {
  63. this.status = status;
  64. }
  65. public Long getId() {
  66. return id;
  67. }
  68. public void setId(Long id) {
  69. this.id = id;
  70. }
  71. public String getCompanyName() {
  72. return companyName;
  73. }
  74. public void setCompanyName(String companyName) {
  75. this.companyName = companyName;
  76. }
  77. public String getLinkMan() {
  78. return linkMan;
  79. }
  80. public void setLinkMan(String linkMan) {
  81. this.linkMan = linkMan;
  82. }
  83. public String getTel() {
  84. return tel;
  85. }
  86. public void setTel(String tel) {
  87. this.tel = tel;
  88. }
  89. public String getAccount() {
  90. return account;
  91. }
  92. public void setAccount(String account) {
  93. this.account = account;
  94. }
  95. public String getAccountName() {
  96. return accountName;
  97. }
  98. public void setAccountName(String accountName) {
  99. this.accountName = accountName;
  100. }
  101. public String getBank() {
  102. return bank;
  103. }
  104. public void setBank(String bank) {
  105. this.bank = bank;
  106. }
  107. @Override
  108. public String toString() {
  109. return "Operator [id=" + id + ", companyName=" + companyName
  110. + ", linkMan=" + linkMan + ", tel=" + tel + ", mobile="
  111. + mobile + ", account=" + account + ", accountName="
  112. + accountName + ", bank=" + bank + ", status=" + status
  113. + ", adminId=" + adminId + ", address=" + address + ", zip="
  114. + zip + ", email=" + email + "]";
  115. }
  116. @Override
  117. public String getLabel() {
  118. // TODO Auto-generated method stub
  119. return this.companyName;
  120. }
  121. @Override
  122. public String getValue() {
  123. // TODO Auto-generated method stub
  124. return String.valueOf(this.id);
  125. }
  126. }