Advertiser.java 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. package com.cloudcross.ssp.model;
  2. import java.util.Date;
  3. import com.cloudcross.ssp.web.widget.SelectorController.ISelector;
  4. /**
  5. * *
  6. * @author CloudCross
  7. * 和t_advertiser表相关
  8. * 是广告主的对应的实体类
  9. *
  10. */
  11. public class Advertiser implements ISelector{
  12. //广告主Id
  13. private Long id;
  14. //运营商Id 和t_operator(运营商)表相关
  15. private Long agentId;
  16. //行业Id 和t_indestry(行业)表相关
  17. private Long industryId;
  18. //广告主名字
  19. private String name;
  20. //公司注册名
  21. private String regName;
  22. //网址
  23. private String homePage;
  24. //联系人
  25. private String contacts;
  26. //电话
  27. private String tel;
  28. //电子邮件
  29. private String email;
  30. //资金余额
  31. private Float balance;
  32. //状态
  33. private Integer status;
  34. //最后更新日期
  35. private Date updated;
  36. //备注
  37. private String memo;
  38. //CPI文件路径
  39. private String cpiPath;
  40. //营业执照路径
  41. private String licencePath;
  42. //法人代表身份证路径
  43. private String idPath;
  44. //企业机构代码证
  45. private String orgPath;
  46. //审核人账号id(t_account.id)
  47. private Long checkAccount;
  48. //审核状态(0未审核,1审核通过,-1审核未通过)
  49. private Integer checkStatus;
  50. //审核备注
  51. private String checkMemo;
  52. //管理员账号Id
  53. private Long adminId;
  54. /*
  55. *下面两个字段是为了在页面显示的时候方便,从数据库中直接联合查询就可以找到数据
  56. */
  57. public String getCpiPath() {
  58. return cpiPath;
  59. }
  60. public Long getAdminId() {
  61. return adminId;
  62. }
  63. public void setAdminId(Long adminId) {
  64. this.adminId = adminId;
  65. }
  66. public void setCpiPath(String cpiPath) {
  67. this.cpiPath = cpiPath;
  68. }
  69. public String getLicencePath() {
  70. return licencePath;
  71. }
  72. public void setLicencePath(String licencePath) {
  73. this.licencePath = licencePath;
  74. }
  75. public String getIdPath() {
  76. return idPath;
  77. }
  78. public void setIdPath(String idPath) {
  79. this.idPath = idPath;
  80. }
  81. public String getOrgPath() {
  82. return orgPath;
  83. }
  84. public void setOrgPath(String orgPath) {
  85. this.orgPath = orgPath;
  86. }
  87. public Long getCheckAccount() {
  88. return checkAccount;
  89. }
  90. public void setCheckAccount(Long checkAccount) {
  91. this.checkAccount = checkAccount;
  92. }
  93. public Integer getCheckStatus() {
  94. return checkStatus;
  95. }
  96. public void setCheckStatus(Integer checkStatus) {
  97. this.checkStatus = checkStatus;
  98. }
  99. public String getCheckMemo() {
  100. return checkMemo;
  101. }
  102. public void setCheckMemo(String checkMemo) {
  103. this.checkMemo = checkMemo;
  104. }
  105. public String getMemo() {
  106. return memo;
  107. }
  108. public void setMemo(String memo) {
  109. this.memo = memo;
  110. }
  111. public Float getBalance() {
  112. return balance;
  113. }
  114. public void setBalance(Float balance) {
  115. this.balance = balance;
  116. }
  117. //订单数量
  118. private Long orderNum;
  119. //行业名称
  120. private String industryName;
  121. public Long getOrderNum() {
  122. return orderNum;
  123. }
  124. public void setOrderNum(Long orderNum) {
  125. this.orderNum = orderNum;
  126. }
  127. public String getIndustryName() {
  128. return industryName;
  129. }
  130. public void setIndustryName(String industryName) {
  131. this.industryName = industryName;
  132. }
  133. public Long getId() {
  134. return id;
  135. }
  136. public void setId(Long id) {
  137. this.id = id;
  138. }
  139. public Long getAgentId() {
  140. return agentId;
  141. }
  142. public void setAgentId(Long operatorId) {
  143. this.agentId = operatorId;
  144. }
  145. public Long getIndustryId() {
  146. return industryId;
  147. }
  148. public void setIndustryId(Long industryId) {
  149. this.industryId = industryId;
  150. }
  151. public String getName() {
  152. return name;
  153. }
  154. public void setName(String name) {
  155. this.name = name;
  156. }
  157. public String getRegName() {
  158. return regName;
  159. }
  160. public void setRegName(String regName) {
  161. this.regName = regName;
  162. }
  163. public String getHomePage() {
  164. return homePage;
  165. }
  166. public void setHomePage(String homePage) {
  167. this.homePage = homePage;
  168. }
  169. public String getContacts() {
  170. return contacts;
  171. }
  172. public void setContacts(String contacts) {
  173. this.contacts = contacts;
  174. }
  175. public String getTel() {
  176. return tel;
  177. }
  178. public void setTel(String tel) {
  179. this.tel = tel;
  180. }
  181. public String getEmail() {
  182. return email;
  183. }
  184. public void setEmail(String email) {
  185. this.email = email;
  186. }
  187. public Integer getStatus() {
  188. return status;
  189. }
  190. public void setStatus(Integer status) {
  191. this.status = status;
  192. }
  193. public Date getUpdated() {
  194. return updated;
  195. }
  196. public void setUpdated(Date updated) {
  197. this.updated = updated;
  198. }
  199. @Override
  200. public String toString() {
  201. return "Advertiser [id=" + id + ", operatorId=" + agentId
  202. + ", industryId=" + industryId + ", name=" + name
  203. + ", regName=" + regName + ", homePage=" + homePage
  204. + ", contacts=" + contacts + ", tel=" + tel + ", email="
  205. + email + ", status=" + status + ", updated=" + updated + "]";
  206. }
  207. @Override
  208. public String getLabel() {
  209. // TODO Auto-generated method stub
  210. return this.getName();
  211. }
  212. @Override
  213. public String getValue() {
  214. // TODO Auto-generated method stub
  215. return String.valueOf(this.getId());
  216. }
  217. }