FreightEntity.java 3.3 KB

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