1
0

FreightEntity.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. package com.kmall.api.entity;
  2. import java.io.Serializable;
  3. import java.math.BigDecimal;
  4. import java.util.Date;
  5. /**
  6. * 实体
  7. * 表名 mall_freight
  8. *
  9. * @author emato
  10. * @email admin@qhdswl.com
  11. * @date 2018-10-22 17:20:31
  12. */
  13. public class FreightEntity implements Serializable {
  14. private static final long serialVersionUID = 1L;
  15. /**
  16. * 主键
  17. */
  18. private Integer id;
  19. /**
  20. * 模版名称
  21. */
  22. private String name;
  23. /**
  24. * 模版类型:0,买家承担运费;1,卖家包邮
  25. */
  26. private String templateType;
  27. /**
  28. * 计价方式:0,按件数;1,按重量;2,按体积
  29. */
  30. private String pricingManner;
  31. /**
  32. * 默认模版:0,否;1,是
  33. */
  34. private String isDefault;
  35. private BigDecimal defaultFreight;//运费
  36. public BigDecimal getDefaultFreight() {
  37. return defaultFreight;
  38. }
  39. public void setDefaultFreight(BigDecimal defaultFreight) {
  40. this.defaultFreight = defaultFreight;
  41. }
  42. /**
  43. * 设置:主键
  44. */
  45. public void setId(Integer id) {
  46. this.id = id;
  47. }
  48. /**
  49. * 获取:主键
  50. */
  51. public Integer getId() {
  52. return id;
  53. }
  54. /**
  55. * 设置:模版名称
  56. */
  57. public void setName(String name) {
  58. this.name = name;
  59. }
  60. /**
  61. * 获取:模版名称
  62. */
  63. public String getName() {
  64. return name;
  65. }
  66. /**
  67. * 设置:模版类型:0,买家承担运费;1,卖家包邮
  68. */
  69. public void setTemplateType(String templateType) {
  70. this.templateType = templateType;
  71. }
  72. /**
  73. * 获取:模版类型:0,买家承担运费;1,卖家包邮
  74. */
  75. public String getTemplateType() {
  76. return templateType;
  77. }
  78. /**
  79. * 设置:计价方式:0,按件数;1,按重量;2,按体积
  80. */
  81. public void setPricingManner(String pricingManner) {
  82. this.pricingManner = pricingManner;
  83. }
  84. /**
  85. * 获取:计价方式:0,按件数;1,按重量;2,按体积
  86. */
  87. public String getPricingManner() {
  88. return pricingManner;
  89. }
  90. /**
  91. * 设置:默认模版:0,否;1,是
  92. */
  93. public void setIsDefault(String isDefault) {
  94. this.isDefault = isDefault;
  95. }
  96. /**
  97. * 获取:默认模版:0,否;1,是
  98. */
  99. public String getIsDefault() {
  100. return isDefault;
  101. }
  102. }