/src/test/java/com/alibaba/json/test/tmall/RateSearchItemDO.java

https://github.com/alibaba/fastjson · Java · 641 lines · 391 code · 100 blank · 150 comment · 1 complexity · d6cb57f3d59967cc4709ea072d94c37d MD5 · raw file

  1. package com.alibaba.json.test.tmall;
  2. import com.alibaba.fastjson.annotation.JSONField;
  3. /**
  4. * ���������������
  5. * User: jingxian.lzg
  6. * Date: 2015/8/17
  7. * Time: 16:26
  8. */
  9. public class RateSearchItemDO {
  10. /**
  11. * ����id
  12. */
  13. @JSONField(name = "feed_id")
  14. private long feedId;
  15. /**
  16. * ��Ʒid
  17. */
  18. @JSONField(name = "item_id")
  19. private long aucNumId;
  20. /**
  21. * ���в���ֵ
  22. */
  23. @JSONField(name = "rate")
  24. private int rate;
  25. /**
  26. * �����Ƿ���ͼƬ
  27. */
  28. @JSONField(name = "rater_pic")
  29. private int raterPic;
  30. /**
  31. * ������(����id)
  32. */
  33. @JSONField(name = "rated_uid")
  34. private long ratedUid;
  35. /**
  36. * ������(���id)
  37. */
  38. @JSONField(name = "rater_uid")
  39. private long raterUid;
  40. /**
  41. * ���������dz�
  42. */
  43. @JSONField(name = "rated_user_nick")
  44. private String ratedUserNick;
  45. /**
  46. * �������dz�
  47. */
  48. @JSONField(name = "rater_user_nick")
  49. private String raterUserNick;
  50. /**
  51. * ����״̬
  52. */
  53. @JSONField(name = "status")
  54. private int status;
  55. /**
  56. * ��������
  57. */
  58. @JSONField(name = "feedback")
  59. private String feedback;
  60. /**
  61. * �����Ƿ�������
  62. */
  63. @JSONField(name = "validfeedback")
  64. private int validfeedback;
  65. /**
  66. * �ظ�
  67. */
  68. @JSONField(name = "reply")
  69. private String reply;
  70. /**
  71. * ҵ������
  72. */
  73. @JSONField(name = "biz_type")
  74. private int bizType;
  75. /**
  76. * �㷨���ֵ
  77. */
  78. @JSONField(name = "sort_weight")
  79. private int sortWeight;
  80. /**
  81. * ����ʱ���
  82. */
  83. @JSONField(name = "gmt_create")
  84. private long gmtCreateStamp;
  85. /**
  86. * ���ü���
  87. */
  88. @JSONField(name = "vote_useful")
  89. private int voteUseful;
  90. /**
  91. * �����ֶ�
  92. */
  93. @JSONField(name = "attributes")
  94. private String attributes;
  95. /**
  96. * ���Ի��Ĵ�ֱ����
  97. */
  98. @JSONField(name = "details")
  99. private String properties;
  100. /**
  101. * �Ƿ�����
  102. */
  103. @JSONField(name = "anony")
  104. private int anony;
  105. /**
  106. * ��Ǽ�¼��Դ
  107. */
  108. @JSONField(name = "source")
  109. private long source;
  110. /**
  111. * �������ʱ��
  112. */
  113. @JSONField(name = "gmt_trade_finished")
  114. private long gmtTradeFinishedStamp;
  115. /**
  116. * �����߽��׽�ɫ
  117. */
  118. @JSONField(name = "rater_type")
  119. private int raterType;
  120. /**
  121. * ���ۼƷ�״̬
  122. */
  123. @JSONField(name = "validscore")
  124. private int validscore;
  125. /**
  126. * ��Ʒһ����Ŀid
  127. */
  128. @JSONField(name = "cate_level1_id")
  129. private long rootCatId;
  130. /**
  131. * ��ƷҶ����Ŀ
  132. */
  133. @JSONField(name = "cate_id")
  134. private long leafCatId;
  135. /**
  136. * ������Id
  137. * */
  138. @JSONField(name = "mord_id")
  139. private long parentTradeId;
  140. /**
  141. * �Ӷ���Id
  142. * */
  143. @JSONField(name = "order_id")
  144. private long tradeId;
  145. /**
  146. * �Ƿ����׷��
  147. */
  148. @JSONField(name = "append")
  149. private int append;
  150. /**
  151. * ׷��״̬
  152. */
  153. @JSONField(name = "append_status")
  154. private int appendStatus;
  155. /**
  156. * ׷������
  157. */
  158. @JSONField(name = "append_feedback")
  159. private String appendFeedback;
  160. /**
  161. * ׷���ظ�����
  162. */
  163. @JSONField(name = "append_reply")
  164. private String appendReply;
  165. /**
  166. * ׷��ʱ���
  167. */
  168. @JSONField(name = "append_create")
  169. private long appendCreateStamp;
  170. /**
  171. * ׷���Ƿ����ͼƬ
  172. */
  173. @JSONField(name = "append_pic")
  174. private int appendPic;
  175. /**
  176. * ׷����¼id
  177. */
  178. @JSONField(name = "append_feed_id")
  179. private long appendFeedId;
  180. /**
  181. * ׷�������ֶ�
  182. */
  183. @JSONField(name = "append_attributes")
  184. private String appendAttributes;
  185. /**
  186. * ׷����ֱ�����ֶ�
  187. */
  188. @JSONField(name = "append_properties")
  189. private String appendProperties;
  190. /**
  191. * �㷨�����ֵ
  192. */
  193. @JSONField(name = "algo_sort")
  194. private long algoSort;
  195. /**
  196. * �۵���־
  197. */
  198. @JSONField(name = "fold_flag")
  199. private int foldFlag;
  200. /**
  201. * �㷨�����ֶ�
  202. */
  203. @JSONField(name = "reason")
  204. private String reason;
  205. /**
  206. * �㷨�����ֶ�
  207. */
  208. @JSONField(name = "other")
  209. private String other;
  210. /**
  211. * ���ӡ���ǩ
  212. */
  213. @JSONField(name = "expression_auc")
  214. private String expressionAuc;
  215. /**
  216. * ���ӡ���ǩ����λ��
  217. */
  218. @JSONField(name = "position")
  219. private String position;
  220. /**
  221. * ���Ի��û���ǩ
  222. * */
  223. @JSONField(name = "personalized_tag")
  224. private String personalizedTag;
  225. /**
  226. * ����ͼƬ
  227. */
  228. @JSONField(name = "main_pic_json")
  229. private String mainPicJson;
  230. /**
  231. * ׷��ͼƬ
  232. */
  233. @JSONField(name = "append_pic_json")
  234. private String appendPicJson;
  235. /**
  236. * ���������Ϣ
  237. */
  238. @JSONField(name = "main_component_json")
  239. private String mainComponentJson;
  240. /**
  241. * ׷�������Ϣ
  242. */
  243. @JSONField(name = "append_component_json")
  244. private String appendComponentJson;
  245. /**
  246. * �Ƿ�Ϊϵͳ����
  247. */
  248. @JSONField(name = "is_auto")
  249. private String auto;
  250. public long getFeedId () {
  251. return feedId;
  252. }
  253. public void setFeedId (long feedId) {
  254. this.feedId = feedId;
  255. }
  256. public long getRatedUid () {
  257. return ratedUid;
  258. }
  259. public void setRatedUid (long ratedUid) {
  260. this.ratedUid = ratedUid;
  261. }
  262. public long getRaterUid () {
  263. return raterUid;
  264. }
  265. public void setRaterUid (long raterUid) {
  266. this.raterUid = raterUid;
  267. }
  268. public String getRaterUserNick () {
  269. return raterUserNick;
  270. }
  271. public void setRaterUserNick (String raterUserNick) {
  272. this.raterUserNick = raterUserNick;
  273. }
  274. public String getFeedback () {
  275. return feedback;
  276. }
  277. public void setFeedback (String feedback) {
  278. this.feedback = feedback;
  279. }
  280. public int getRate () {
  281. return rate;
  282. }
  283. public void setRate (int rate) {
  284. this.rate = rate;
  285. }
  286. public int getStatus () {
  287. return status;
  288. }
  289. public void setStatus (int status) {
  290. this.status = status;
  291. }
  292. public String getReply () {
  293. return reply;
  294. }
  295. public void setReply (String reply) {
  296. this.reply = reply;
  297. }
  298. public int getBizType () {
  299. return bizType;
  300. }
  301. public void setBizType (int bizType) {
  302. this.bizType = bizType;
  303. }
  304. public int getSortWeight () {
  305. return sortWeight;
  306. }
  307. public void setSortWeight (int sortWeight) {
  308. this.sortWeight = sortWeight;
  309. }
  310. public int getVoteUseful () {
  311. return voteUseful;
  312. }
  313. public void setVoteUseful (int voteUseful) {
  314. this.voteUseful = voteUseful;
  315. }
  316. public String getAttributes () {
  317. return attributes;
  318. }
  319. public void setAttributes (String attributes) {
  320. this.attributes = attributes;
  321. }
  322. public String getProperties () {
  323. return properties;
  324. }
  325. public void setProperties (String properties) {
  326. this.properties = properties;
  327. }
  328. public int getAppendStatus () {
  329. return appendStatus;
  330. }
  331. public void setAppendStatus (int appendStatus) {
  332. this.appendStatus = appendStatus;
  333. }
  334. public String getAppendFeedback () {
  335. return appendFeedback;
  336. }
  337. public void setAppendFeedback (String appendFeedback) {
  338. this.appendFeedback = appendFeedback;
  339. }
  340. public String getAppendReply () {
  341. return appendReply;
  342. }
  343. public void setAppendReply (String appendReply) {
  344. this.appendReply = appendReply;
  345. }
  346. public long getAppendFeedId () {
  347. return appendFeedId;
  348. }
  349. public void setAppendFeedId (long appendFeedId) {
  350. this.appendFeedId = appendFeedId;
  351. }
  352. public String getAppendAttributes () {
  353. return appendAttributes;
  354. }
  355. public void setAppendAttributes (String appendAttributes) {
  356. this.appendAttributes = appendAttributes;
  357. }
  358. public String getAppendProperties () {
  359. return appendProperties;
  360. }
  361. public void setAppendProperties (String appendProperties) {
  362. this.appendProperties = appendProperties;
  363. }
  364. public int getRaterPic () {
  365. return raterPic;
  366. }
  367. public void setRaterPic (int raterPic) {
  368. this.raterPic = raterPic;
  369. }
  370. public int getValidfeedback () {
  371. return validfeedback;
  372. }
  373. public void setValidfeedback (int validfeedback) {
  374. this.validfeedback = validfeedback;
  375. }
  376. public int getAppendPic () {
  377. return appendPic;
  378. }
  379. public void setAppendPic (int appendPic) {
  380. this.appendPic = appendPic;
  381. }
  382. public long getGmtCreateStamp () {
  383. return gmtCreateStamp;
  384. }
  385. public void setGmtCreateStamp (long gmtCreateStamp) {
  386. this.gmtCreateStamp = gmtCreateStamp;
  387. }
  388. public long getAppendCreateStamp () {
  389. return appendCreateStamp;
  390. }
  391. public void setAppendCreateStamp (long appendCreateStamp) {
  392. this.appendCreateStamp = appendCreateStamp;
  393. }
  394. public int getAppend () {
  395. return append;
  396. }
  397. public void setAppend (int append) {
  398. this.append = append;
  399. }
  400. public boolean haveAppend () {
  401. return append == 1;
  402. }
  403. public String getRatedUserNick () {
  404. return ratedUserNick;
  405. }
  406. public void setRatedUserNick (String ratedUserNick) {
  407. this.ratedUserNick = ratedUserNick;
  408. }
  409. public int getAnony () {
  410. return anony;
  411. }
  412. public void setAnony (int anony) {
  413. this.anony = anony;
  414. }
  415. public long getGmtTradeFinishedStamp () {
  416. return gmtTradeFinishedStamp;
  417. }
  418. public void setGmtTradeFinishedStamp (long gmtTradeFinishedStamp) {
  419. this.gmtTradeFinishedStamp = gmtTradeFinishedStamp;
  420. }
  421. public int getRaterType () {
  422. return raterType;
  423. }
  424. public void setRaterType (int raterType) {
  425. this.raterType = raterType;
  426. }
  427. public int getValidscore () {
  428. return validscore;
  429. }
  430. public void setValidscore (int validscore) {
  431. this.validscore = validscore;
  432. }
  433. public long getAlgoSort () {
  434. return algoSort;
  435. }
  436. public void setAlgoSort (long algoSort) {
  437. this.algoSort = algoSort;
  438. }
  439. public int getFoldFlag () {
  440. return foldFlag;
  441. }
  442. public void setFoldFlag (int foldFlag) {
  443. this.foldFlag = foldFlag;
  444. }
  445. public String getReason () {
  446. return reason;
  447. }
  448. public void setReason (String reason) {
  449. this.reason = reason;
  450. }
  451. public String getOther () {
  452. return other;
  453. }
  454. public void setOther (String other) {
  455. this.other = other;
  456. }
  457. public String getExpressionAuc () {
  458. return expressionAuc;
  459. }
  460. public void setExpressionAuc (String expressionAuc) {
  461. this.expressionAuc = expressionAuc;
  462. }
  463. public String getPosition () {
  464. return position;
  465. }
  466. public void setPosition (String position) {
  467. this.position = position;
  468. }
  469. public long getAucNumId () {
  470. return aucNumId;
  471. }
  472. public void setAucNumId (long aucNumId) {
  473. this.aucNumId = aucNumId;
  474. }
  475. public long getSource () {
  476. return source;
  477. }
  478. public void setSource (long source) {
  479. this.source = source;
  480. }
  481. public long getRootCatId () {
  482. return rootCatId;
  483. }
  484. public void setRootCatId (long rootCatId) {
  485. this.rootCatId = rootCatId;
  486. }
  487. public long getLeafCatId() {
  488. return leafCatId;
  489. }
  490. public void setLeafCatId(long leafCatId) {
  491. this.leafCatId = leafCatId;
  492. }
  493. public String getMainPicJson() {
  494. return mainPicJson;
  495. }
  496. public void setMainPicJson(String mainPicJson) {
  497. this.mainPicJson = mainPicJson;
  498. }
  499. public String getAppendPicJson() {
  500. return appendPicJson;
  501. }
  502. public void setAppendPicJson(String appendPicJson) {
  503. this.appendPicJson = appendPicJson;
  504. }
  505. public String getMainComponentJson() {
  506. return mainComponentJson;
  507. }
  508. public void setMainComponentJson(String mainComponentJson) {
  509. this.mainComponentJson = mainComponentJson;
  510. }
  511. public String getAppendComponentJson() {
  512. return appendComponentJson;
  513. }
  514. public void setAppendComponentJson(String appendComponentJson) {
  515. this.appendComponentJson = appendComponentJson;
  516. }
  517. public String getAuto() {
  518. return auto;
  519. }
  520. public void setAuto(String auto) {
  521. this.auto = auto;
  522. }
  523. public long getParentTradeId() {
  524. return parentTradeId;
  525. }
  526. public void setParentTradeId(long parentTradeId) {
  527. this.parentTradeId = parentTradeId;
  528. }
  529. public long getTradeId() {
  530. return tradeId;
  531. }
  532. public void setTradeId(long tradeId) {
  533. this.tradeId = tradeId;
  534. }
  535. public String getPersonalizedTag() {
  536. return personalizedTag;
  537. }
  538. public void setPersonalizedTag(String personalizedTag) {
  539. this.personalizedTag = personalizedTag;
  540. }
  541. }