FreightEntity.java 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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 List<FreightItemEntity> freightItemEntityList;
  39. /**
  40. * 设置:主键
  41. */
  42. public void setId(Integer id) {
  43. this.id = id;
  44. }
  45. /**
  46. * 获取:主键
  47. */
  48. public Integer getId() {
  49. return id;
  50. }
  51. /**
  52. * 设置:模版名称
  53. */
  54. public void setName(String name) {
  55. this.name = name;
  56. }
  57. /**
  58. * 获取:模版名称
  59. */
  60. public String getName() {
  61. return name;
  62. }
  63. /**
  64. * 设置:模版类型:0,买家承担运费;1,卖家包邮
  65. */
  66. public void setTemplateType(String templateType) {
  67. this.templateType = templateType;
  68. }
  69. /**
  70. * 获取:模版类型:0,买家承担运费;1,卖家包邮
  71. */
  72. public String getTemplateType() {
  73. return templateType;
  74. }
  75. /**
  76. * 设置:计价方式:0,按件数;1,按重量;2,按体积
  77. */
  78. public void setPricingManner(String pricingManner) {
  79. this.pricingManner = pricingManner;
  80. }
  81. /**
  82. * 获取:计价方式:0,按件数;1,按重量;2,按体积
  83. */
  84. public String getPricingManner() {
  85. return pricingManner;
  86. }
  87. /**
  88. * 设置:默认模版:0,否;1,是
  89. */
  90. public void setIsDefault(String isDefault) {
  91. this.isDefault = isDefault;
  92. }
  93. /**
  94. * 获取:默认模版:0,否;1,是
  95. */
  96. public String getIsDefault() {
  97. return isDefault;
  98. }
  99. public Integer getIsDelete() {
  100. return isDelete;
  101. }
  102. public void setIsDelete(Integer isDelete) {
  103. this.isDelete = isDelete;
  104. }
  105. public BigDecimal getDefaultFreight() {
  106. return defaultFreight;
  107. }
  108. public void setDefaultFreight(BigDecimal defaultFreight) {
  109. this.defaultFreight = defaultFreight;
  110. }
  111. public List<FreightItemEntity> getFreightItemEntityList() {
  112. return freightItemEntityList;
  113. }
  114. public void setFreightItemEntityList(List<FreightItemEntity> freightItemEntityList) {
  115. this.freightItemEntityList = freightItemEntityList;
  116. }
  117. }