ExchangeCargoBean.java 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. package cn.net.communal.cpzshandset.bean;
  2. import java.io.Serializable;
  3. public class ExchangeCargoBean implements Serializable{
  4. private int id;//id:主键自增
  5. private int product_id;//product_id:产品id
  6. private int from_dealer_id;//from_dealer_id:发货方经销商id
  7. private int to_dealer_id;//to_dealer_id:收货方经销商id
  8. private int to_dealer_sale_area = 0;
  9. private int exchange_count;//exchange_count:调货数量
  10. private int option_mode;//option_mode:操作方式 0:单标激活 1:批量激活
  11. private int status=0;//status:提交状态 0:未提交 1:提交失败
  12. private int error_code;//error_code:服务器返回的错误码
  13. private String createDate;//
  14. public int getId() {
  15. return id;
  16. }
  17. public void setId(int id) {
  18. this.id = id;
  19. }
  20. public int getProduct_id() {
  21. return product_id;
  22. }
  23. public void setProduct_id(int product_id) {
  24. this.product_id = product_id;
  25. }
  26. public int getFrom_dealer_id() {
  27. return from_dealer_id;
  28. }
  29. public void setFrom_dealer_id(int from_dealer_id) {
  30. this.from_dealer_id = from_dealer_id;
  31. }
  32. public int getTo_dealer_id() {
  33. return to_dealer_id;
  34. }
  35. public void setTo_dealer_id(int to_dealer_id) {
  36. this.to_dealer_id = to_dealer_id;
  37. }
  38. public int getExchange_count() {
  39. return exchange_count;
  40. }
  41. public void setExchange_count(int exchange_count) {
  42. this.exchange_count = exchange_count;
  43. }
  44. public int getOption_mode() {
  45. return option_mode;
  46. }
  47. public void setOption_mode(int option_mode) {
  48. this.option_mode = option_mode;
  49. }
  50. public int getStatus() {
  51. return status;
  52. }
  53. public void setStatus(int status) {
  54. this.status = status;
  55. }
  56. public int getError_code() {
  57. return error_code;
  58. }
  59. public void setError_code(int error_code) {
  60. this.error_code = error_code;
  61. }
  62. public String getCreateDate() {
  63. return createDate;
  64. }
  65. public void setCreateDate(String createDate) {
  66. this.createDate = createDate;
  67. }
  68. public int getTo_dealer_sale_area() {
  69. return to_dealer_sale_area;
  70. }
  71. public void setTo_dealer_sale_area(int to_dealer_sale_area) {
  72. this.to_dealer_sale_area = to_dealer_sale_area;
  73. }
  74. @Override
  75. public String toString() {
  76. return "ExchangeCargoBean [id=" + id + ", product_id=" + product_id + ", from_dealer_id=" + from_dealer_id
  77. + ", to_dealer_id=" + to_dealer_id + ", to_dealer_sale_area=" + to_dealer_sale_area
  78. + ", exchange_count=" + exchange_count + ", option_mode=" + option_mode + ", status=" + status
  79. + ", error_code=" + error_code + ", createDate=" + createDate + "]";
  80. }
  81. }