513b51e1c75c6a87a484d0bf2c5a84f8e3cde402.svn-base 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  1. package com.chinacreator.process.bean;
  2. import java.util.Date;
  3. import org.apache.commons.lang.time.DateFormatUtils;
  4. public class NetOrderBean {
  5. public static final int USER_ORDER = 2;
  6. public static final int VAC_ORDER = 3;
  7. public static final int USER_CANCEL_ORDER = 4;
  8. public static final int VAC_CANCEL_ORDER = 5;
  9. public static final int KF_CANCEL_ORDER = 6;
  10. public static final int MIXED_ORDER = 7;
  11. public static final int CARD_ORDER = 8;
  12. public static final int EXPERIENCE_CARD_ORDER = 9;
  13. private String id;
  14. private String cpid;
  15. private String spid;
  16. private String userid;
  17. private Date ordertime;
  18. private Date canceltime;
  19. private Date endtime;
  20. private String status = "0";
  21. private String province;
  22. private String area;
  23. private String synccount;
  24. private String syncsucceed;
  25. private String orderchannel;
  26. private String cancelchannel;
  27. private int orderstatus = USER_ORDER;
  28. private int type = 1;
  29. private String fromurl;
  30. private int isslience = 0;
  31. private String spname;
  32. private Date sysdate;
  33. private Date effecttime;
  34. private String apptype;
  35. private String ordertype = "1";
  36. private int isexperience = 0;
  37. private String videoid;
  38. private String videoname;
  39. private String videourl;
  40. private String videotag;
  41. private String videosize;
  42. private String ordervaccode = "0";
  43. private String imsi;
  44. private String productid;
  45. private String showstatus = "";
  46. /**
  47. * 是否已经发送短信
  48. */
  49. private int issms;
  50. private String batchid;
  51. private String vipconflag; //续送会员标识,0是,1否
  52. private String staffid; //员工号
  53. private String departid; //渠道号
  54. private String channel2; //二级渠道
  55. private String syncstatus;
  56. //private String channel;
  57. public String getSyncstatus() {
  58. return syncstatus;
  59. }
  60. public void setSyncstatus(String syncstatus) {
  61. this.syncstatus = syncstatus;
  62. }
  63. public String getVipconflag() {
  64. return vipconflag;
  65. }
  66. public String getBatchid() {
  67. return batchid;
  68. }
  69. public void setBatchid(String batchid) {
  70. this.batchid = batchid;
  71. }
  72. public String getId() {
  73. return id;
  74. }
  75. public void setId(String id) {
  76. this.id = id;
  77. }
  78. public String getCpid() {
  79. return cpid;
  80. }
  81. public void setCpid(String cpid) {
  82. this.cpid = cpid;
  83. }
  84. public String getUserid() {
  85. return userid;
  86. }
  87. public void setUserid(String userid) {
  88. this.userid = userid;
  89. }
  90. public Date getOrdertime() {
  91. return ordertime;
  92. }
  93. public void setOrdertime(Date orderTime) {
  94. this.ordertime = orderTime;
  95. }
  96. public Date getCanceltime() {
  97. return canceltime;
  98. }
  99. public void setCanceltime(Date cancelTime) {
  100. this.canceltime = cancelTime;
  101. }
  102. public Date getEndtime() {
  103. return endtime;
  104. }
  105. public void setEndtime(Date endTime) {
  106. this.endtime = endTime;
  107. }
  108. public String getStatus() {
  109. return status;
  110. }
  111. public void setStatus(String status) {
  112. this.status = status;
  113. }
  114. public String getProvince() {
  115. return province;
  116. }
  117. public void setProvince(String province) {
  118. this.province = province;
  119. }
  120. public String getArea() {
  121. return area;
  122. }
  123. public void setArea(String area) {
  124. this.area = area;
  125. }
  126. public String getSynccount() {
  127. return synccount;
  128. }
  129. public void setSynccount(String synccount) {
  130. this.synccount = synccount;
  131. }
  132. public String getSyncsucceed() {
  133. return syncsucceed;
  134. }
  135. public void setSyncsucceed(String syncsucceed) {
  136. this.syncsucceed = syncsucceed;
  137. }
  138. public int getIssms() {
  139. return issms;
  140. }
  141. public void setIssms(int issms) {
  142. this.issms = issms;
  143. }
  144. public String getOrderchannel() {
  145. return orderchannel;
  146. }
  147. public String getCancelchannel() {
  148. return cancelchannel;
  149. }
  150. public void setOrderchannel(String orderchannel) {
  151. this.orderchannel = orderchannel;
  152. }
  153. public void setCancelchannel(String cancelchannel) {
  154. this.cancelchannel = cancelchannel;
  155. }
  156. public int getOrderstatus() {
  157. return orderstatus;
  158. }
  159. public void setOrderstatus(int orderstatus) {
  160. this.orderstatus = orderstatus;
  161. }
  162. public String getFromurl() {
  163. return fromurl;
  164. }
  165. public void setFromurl(String fromurl) {
  166. this.fromurl = fromurl;
  167. }
  168. public int getType() {
  169. return type;
  170. }
  171. public void setType(int type) {
  172. this.type = type;
  173. }
  174. public String getChannelcode() {
  175. if("0".equals(status)) {
  176. return orderchannel;
  177. }
  178. return cancelchannel;
  179. }
  180. public int getIsslience() {
  181. return isslience;
  182. }
  183. public void setIsslience(int isslience) {
  184. this.isslience = isslience;
  185. }
  186. public String getSpname() {
  187. return spname;
  188. }
  189. public void setSpname(String spname) {
  190. this.spname = spname;
  191. }
  192. public Date getSysdate() {
  193. return sysdate;
  194. }
  195. public void setSysdate(Date sysdate) {
  196. this.sysdate = sysdate;
  197. }
  198. public Date getEffecttime() {
  199. return effecttime;
  200. }
  201. public void setEffecttime(Date effecttime) {
  202. this.effecttime = effecttime;
  203. }
  204. public String getEffecttimestr() {
  205. if(effecttime == null) {
  206. return null;
  207. }
  208. return DateFormatUtils.format(effecttime, "yyyyMMddHHmmss");
  209. }
  210. public String getCanceltimestr() {
  211. if(canceltime == null) {
  212. return null;
  213. }
  214. return DateFormatUtils.format(canceltime, "yyyyMMddHHmmss");
  215. }
  216. public String getOrdertimestr() {
  217. if(ordertime == null) {
  218. return null;
  219. }
  220. return DateFormatUtils.format(ordertime, "yyyyMMddHHmmss");
  221. }
  222. public String getEndtimestr() {
  223. if(endtime == null) {
  224. return null;
  225. }
  226. return DateFormatUtils.format(endtime, "yyyyMMddHHmmss");
  227. }
  228. public String getApptype() {
  229. return apptype;
  230. }
  231. public String getOrdertype() {
  232. return ordertype;
  233. }
  234. public void setApptype(String apptype) {
  235. this.apptype = apptype;
  236. }
  237. public void setOrdertype(String ordertype) {
  238. this.ordertype = ordertype;
  239. }
  240. public int getIsexperience() {
  241. return isexperience;
  242. }
  243. public void setIsexperience(int isexperience) {
  244. this.isexperience = isexperience;
  245. }
  246. public String getVideoid() {
  247. return videoid;
  248. }
  249. public void setVideoid(String videoid) {
  250. this.videoid = videoid;
  251. }
  252. public String getVideoname() {
  253. return videoname;
  254. }
  255. public void setVideoname(String videoname) {
  256. this.videoname = videoname;
  257. }
  258. public String getVideourl() {
  259. return videourl;
  260. }
  261. public void setVideourl(String videourl) {
  262. this.videourl = videourl;
  263. }
  264. public String getVideotag() {
  265. return videotag;
  266. }
  267. public void setVideotag(String videotag) {
  268. this.videotag = videotag;
  269. }
  270. public static int getUserOrder() {
  271. return USER_ORDER;
  272. }
  273. public static int getVacOrder() {
  274. return VAC_ORDER;
  275. }
  276. public static int getUserCancelOrder() {
  277. return USER_CANCEL_ORDER;
  278. }
  279. public static int getVacCancelOrder() {
  280. return VAC_CANCEL_ORDER;
  281. }
  282. public static int getKfCancelOrder() {
  283. return KF_CANCEL_ORDER;
  284. }
  285. public static int getCardOrder() {
  286. return CARD_ORDER;
  287. }
  288. public String getVideosize() {
  289. return videosize;
  290. }
  291. public void setVideosize(String videosize) {
  292. this.videosize = videosize;
  293. }
  294. public String getSpid() {
  295. return spid;
  296. }
  297. public void setSpid(String spid) {
  298. this.spid = spid;
  299. }
  300. public String getOrdervaccode() {
  301. return ordervaccode;
  302. }
  303. public void setOrdervaccode(String ordervaccode) {
  304. this.ordervaccode = ordervaccode;
  305. }
  306. public String getImsi() {
  307. return imsi;
  308. }
  309. public void setImsi(String imsi) {
  310. this.imsi = imsi;
  311. }
  312. public String getProductid() {
  313. return productid;
  314. }
  315. public void setProductid(String productid) {
  316. this.productid = productid;
  317. }
  318. public String getShowstatus() {
  319. return showstatus;
  320. }
  321. public void setShowstatus(String showstatus) {
  322. this.showstatus = showstatus;
  323. }
  324. public String getStaffid() {
  325. return staffid;
  326. }
  327. public void setStaffid(String staffid) {
  328. this.staffid = staffid;
  329. }
  330. public String getDepartid() {
  331. return departid;
  332. }
  333. public void setDepartid(String departid) {
  334. this.departid = departid;
  335. }
  336. public String getChannel2() {
  337. return channel2;
  338. }
  339. public void setChannel2(String channel2) {
  340. this.channel2 = channel2;
  341. }
  342. }