ComputeDiscountDto.java 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /*
  2. * Copyright 2017-2020 吴学文 and java110 team.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. package com.java110.dto.feeDiscount;
  17. import com.java110.dto.PageDto;
  18. import com.java110.dto.feeDiscountSpec.FeeDiscountSpecDto;
  19. import java.io.Serializable;
  20. import java.util.List;
  21. /**
  22. * @desc add by 吴学文 9:53
  23. */
  24. public class ComputeDiscountDto extends PageDto implements Serializable {
  25. private String discountId;
  26. private String discountType;
  27. private String ruleName;
  28. private String ruleId;
  29. private List<FeeDiscountSpecDto> feeDiscountSpecs;
  30. private double discountPrice;
  31. public String getDiscountId() {
  32. return discountId;
  33. }
  34. public void setDiscountId(String discountId) {
  35. this.discountId = discountId;
  36. }
  37. public String getRuleName() {
  38. return ruleName;
  39. }
  40. public void setRuleName(String ruleName) {
  41. this.ruleName = ruleName;
  42. }
  43. public String getRuleId() {
  44. return ruleId;
  45. }
  46. public void setRuleId(String ruleId) {
  47. this.ruleId = ruleId;
  48. }
  49. public List<FeeDiscountSpecDto> getFeeDiscountSpecs() {
  50. return feeDiscountSpecs;
  51. }
  52. public void setFeeDiscountSpecs(List<FeeDiscountSpecDto> feeDiscountSpecs) {
  53. this.feeDiscountSpecs = feeDiscountSpecs;
  54. }
  55. public double getDiscountPrice() {
  56. return discountPrice;
  57. }
  58. public void setDiscountPrice(double discountPrice) {
  59. this.discountPrice = discountPrice;
  60. }
  61. public String getDiscountType() {
  62. return discountType;
  63. }
  64. public void setDiscountType(String discountType) {
  65. this.discountType = discountType;
  66. }
  67. }